Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/soc/codecs/hda-dai.c hda_codec_dai_startup() -> (struct hda_pcm_ops)->open()

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

sound/soc/codecs/hdac_hda.c hdac_hda_dai_open() -> (struct hda_pcm_ops)->open()

Type Parameter Key Value
PARAM_VALUE 0 hinfo 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
BUF_SIZE 2 substream->runtime (-1),1344
DATA_SOURCE 2 substream $0
CONTAINER 0 -0-48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 substream->f_flags 0-u32max

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

Type Parameter Key Value
PARAM_VALUE 0 hinfo 4096-ptr_max
PARAM_VALUE 0 hinfo->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 hinfo r to_hda_pcm_stream
DATA_SOURCE 2 substream $0
CONTAINER 0 -0-48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 substream->f_flags 0-u32max
LOCK2 &chip->open_mutex
HALF_LOCKED2 &pcm->open_mutex
TYPE_LOCK (struct azx)->open_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 hinfo 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
BUF_SIZE 0 hinfo s32min-(-2),1-s32max
BUF_SIZE 0 hinfo s32min-(-2),1-s32max
CAPPED_DATA 2 substream 1
DATA_SOURCE 0 hinfo 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 hinfo 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 hinfo 4096-ptr_max
PARAM_VALUE 0 hinfo->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 hinfo 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 hinfo 4096-ptr_max
PARAM_VALUE 0 hinfo->ops.close 4096-ptr_max
PARAM_VALUE 0 hinfo->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 hinfo 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