Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/soc/soc-pcm.c dpcm_add_paths() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
BUF_SIZE 0 be s32min-(-1),1-s32max
BUF_SIZE 0 be s32min-(-1),1-s32max
CAPPED_DATA 0 be 1
DATA_SOURCE 0 be $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 be unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &be->card->mutex

sound/soc/soc-pcm.c dpcm_apply_symmetry() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pcm->open_mutex

sound/soc/soc-pcm.c dpcm_be_connect() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
PARAM_VALUE 0 be->pcm 4096-ptr_max
PARAM_VALUE 1 stream 0-1
BUF_SIZE 0 be s32min-(-1),1-s32max
BUF_SIZE 0 be s32min-(-1),1-s32max
CAPPED_DATA 0 be 1
DATA_SOURCE 0 be $0
DATA_SOURCE 1 stream $2
FUZZY_MAX 1 stream 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 be unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &be->card->mutex

sound/soc/soc-pcm.c dpcm_be_connect() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
PARAM_VALUE 0 be->pcm 4096-ptr_max
PARAM_VALUE 1 stream 0-1
DATA_SOURCE 0 be $1
DATA_SOURCE 1 stream $2
FUZZY_MAX 1 stream 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_be_dai_hw_free() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/soc-pcm.c dpcm_be_dai_hw_params() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 &runtime->buffer_mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_be_dai_hw_params() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be->pcm 4096-ptr_max
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 &runtime->buffer_mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_be_dai_prepare() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_be_dai_startup() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
PARAM_VALUE 0 be->pcm 4096-ptr_max
BUF_SIZE 0 be s32min-(-1),1-s32max
BUF_SIZE 0 be s32min-(-1),1-s32max
CAPPED_DATA 0 be 1
DATA_SOURCE 0 be $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 be unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &be->card->mutex

sound/soc/soc-pcm.c dpcm_be_dai_startup() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_be_dai_stop() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex

sound/soc/soc-pcm.c dpcm_be_dai_trigger() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex

sound/soc/soc-pcm.c dpcm_be_disconnect() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
BUF_SIZE 0 be s32min-(-1),1-s32max
BUF_SIZE 0 be s32min-(-1),1-s32max
CAPPED_DATA 0 be 1
DATA_SOURCE 0 be $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 be unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &be->card->mutex

sound/soc/soc-pcm.c dpcm_be_reparent() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
DATA_SOURCE 0 be $1
DATA_SOURCE 1 stream $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_be_reparent() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 be unit_byte
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_get_be() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
PARAM_VALUE 1 stream 0-1
CAPPED_DATA 0 &be->list 1
DATA_SOURCE 1 stream $2
FUZZY_MAX 1 stream 1
RX_PATH
TASK_NOT_RUNNING

sound/soc/soc-pcm.c dpcm_set_fe_update_state() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
BUF_SIZE 0 be s32min-(-1),1-s32max
BUF_SIZE 0 be s32min-(-1),1-s32max
DATA_SOURCE 0 be $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 be unit_byte
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/fsl/fsl_asrc_dma.c fsl_asrc_dma_hw_params() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/sof/intel/hda-dai-ops.c hda_check_fes() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
DATA_SOURCE 1 stream $1
UNITS 0 be unit_byte
LOCK2 &bus->reg_lock
LOCK2 irq
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/soc/intel/avs/pcm.c avs_component_hda_open() -> snd_soc_dpcm_get_substream()

Type Parameter Key Value
PARAM_VALUE 0 be 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING