Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/soc/codecs/hda-dai.c hda_codec_dai_shutdown() -> (struct hda_pcm_ops)->close()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
BUF_SIZE 0 substream s32min-(-2),1-s32max
BUF_SIZE 0 substream s32min-(-2),1-s32max
CAPPED_DATA 2 substream 1
DATA_SOURCE 0 substream r snd_soc_dai_dma_data_get
DATA_SOURCE 2 substream $0
CONTAINER 0 -8-48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 substream->f_flags 0-u32max
USER_DATA 2 substream->runtime->no_period_wakeup 0-1
USER_DATA 2 substream->runtime->rate_den 0-u32max
USER_DATA 2 substream->runtime->rate_num 0-u32max

sound/soc/codecs/hdac_hda.c hdac_hda_dai_close() -> (struct hda_pcm_ops)->close()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
CAPPED_DATA 2 substream 1
DATA_SOURCE 2 substream $0
CONTAINER 0 -8-48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 substream->f_flags 0-u32max
USER_DATA 2 substream->runtime->no_period_wakeup 0-1
USER_DATA 2 substream->runtime->rate_den 0-u32max
USER_DATA 2 substream->runtime->rate_num 0-u32max

sound/hda/common/controller.c azx_pcm_close() -> (struct hda_pcm_ops)->close()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops.close 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
PARAM_VALUE 2 substream->hw_opened 1
PARAM_VALUE 2 substream->ops 4096-ptr_max
PARAM_VALUE 2 substream->private_data 4096-ptr_max
PARAM_VALUE 2 substream->ref_count s32min-0
PARAM_VALUE 2 substream->runtime 4096-ptr_max
CAPPED_DATA 2 substream 1
DATA_SOURCE 0 substream r to_hda_pcm_stream
DATA_SOURCE 2 substream $0
FUZZY_MAX 2 substream->ref_count 0
CONTAINER 0 -8-48+0 $(-1)
HARD_MAX 2 substream->ref_count 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 substream->f_flags 0-u32max
USER_DATA 2 substream->runtime->no_period_wakeup 0-1
USER_DATA 2 substream->runtime->rate_den 0-u32max
USER_DATA 2 substream->runtime->rate_num 0-u32max
LOCK2 _T->lock
HALF_LOCKED2 &pcm->open_mutex

sound/hda/common/controller.c azx_pcm_open() -> (struct hda_pcm_ops)->close()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops.close 4096-ptr_max
PARAM_VALUE 0 substream->ops.open 4096-ptr_max
PARAM_VALUE 1 codec 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
PARAM_VALUE 2 substream->pcm 0,4096-ptr_max
PARAM_VALUE 2 substream->private_data 4096-ptr_max
PARAM_VALUE 2 substream->runtime 4096-ptr_max
PARAM_VALUE 2 substream->runtime->private_data 4096-ptr_max
DATA_SOURCE 0 substream r to_hda_pcm_stream
DATA_SOURCE 2 substream $0
CONTAINER 0 -8-48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 substream->f_flags 0-u32max
LOCK2 &chip->open_mutex
HALF_LOCKED2 &pcm->open_mutex
TYPE_LOCK (struct azx)->open_mutex

sound/core/pcm_native.c snd_pcm_release_substream() -> (struct snd_pcm_ops)->close()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->hw_opened 1
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
CONTAINER 0 -8-184+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
USER_DATA 0 substream->f_flags 0-u32max
USER_DATA 0 substream->runtime->no_period_wakeup 0-1
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->count 33-4294967295[c]
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->count 33-4294967295[c]
USER_DATA 0 substream->runtime->rate_den 0-u32max
USER_DATA 0 substream->runtime->rate_num 0-u32max
HALF_LOCKED2 &pcm->open_mutex
HALF_LOCKED2 _T->lock