Defined in 1 files as a function:
Referenced in 7 files:
- sound/soc/sof/amd/acp-pcm.c, line 100
- sound/soc/sof/compress.c
- sound/soc/sof/intel/hda-pcm.c
- sound/soc/sof/ipc3-pcm.c
- sound/soc/sof/ipc4-pcm.c
- sound/soc/sof/mediatek/mtk-adsp-common.c, line 190
- sound/soc/sof/pcm.c
Smatch caller information:
sound/soc/sof/pcm.c snd_sof_pcm_period_elapsed() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 0,4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | rtd->num_components | 1 |
| DATA_SOURCE | 0 | scomp | r snd_soc_rtdcom_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/pcm.c sof_pcm_close() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/pcm.c sof_pcm_hw_free() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/pcm.c sof_pcm_hw_params() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/pcm.c sof_pcm_new() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| CAPPED_DATA | 1 | rtd->num_components | 1 |
| DATA_SOURCE | 0 | scomp | $0 |
| DATA_SOURCE | 1 | rtd | $1 |
| BIT_INFO | 1 | rtd->ops.close | 0x9b00c118800000,0x19dbc3dfdedab000 |
| BIT_INFO | 1 | rtd->ops.hw_free | 0x15971140120c000,0x7dff77df77aee000 |
| BIT_INFO | 1 | rtd->ops.hw_params | 0x1010284099a2000,0x4f79eac7f9bfb000 |
| BIT_INFO | 1 | rtd->ops.open | 0x1422048311009000,0x753eefdfdfbbb000 |
| BIT_INFO | 1 | rtd->ops.prepare | 0x2804004810800000,0x6f7f7bfff48ef000 |
| BIT_INFO | 1 | rtd->ops.trigger | 0x200053200005000,0x762bcd7e0ac9d000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/sof/pcm.c sof_pcm_open() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | scomp->mark_open->f_flags | 0-u32max |
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/pcm.c sof_pcm_pointer() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/pcm.c sof_pcm_prepare() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/sof/pcm.c sof_pcm_trigger() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd->dai_link | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/amd/acp-pcm.c acp_pcm_pointer() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/mediatek/mtk-adsp-common.c mtk_adsp_stream_pcm_pointer() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/intel/hda-pcm.c hda_dsp_pcm_open() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/intel/hda-pcm.c hda_dsp_pcm_pointer() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/ipc4-pcm.c sof_ipc4_pcm_delay() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/ipc4-pcm.c sof_ipc4_pcm_hw_params() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/sof/ipc4-pcm.c sof_ipc4_pcm_pointer() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/ipc4-pcm.c sof_ipc4_trigger_pipelines() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev->driver_data | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/ipc3-pcm.c sof_ipc3_pcm_hw_free() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/sof/ipc3-pcm.c sof_ipc3_pcm_hw_params() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | rtd | unit_byte |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/sof/ipc3-pcm.c sof_ipc3_pcm_trigger() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev->driver_data | 4096-ptr_max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | scomp | $0 |
| UNITS | 1 | rtd | unit_byte |
sound/soc/sof/compress.c create_page_table() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| DATA_SOURCE | 0 | scomp | $0 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &fe->card->mutex |
sound/soc/sof/compress.c snd_sof_compr_fragment_elapsed() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 0,4096-ptr_max |
| CAPPED_DATA | 1 | rtd->num_components | 1 |
| DATA_SOURCE | 0 | scomp | r snd_soc_rtdcom_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/compress.c sof_compr_free() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/sof/compress.c sof_compr_open() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &fe->card->mutex |
sound/soc/sof/compress.c sof_compr_pointer() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/soc/sof/compress.c sof_compr_set_params() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| DATA_SOURCE | 0 | scomp | $0 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &fe->card->mutex |
sound/soc/sof/compress.c sof_compr_trigger() -> snd_sof_find_spcm_dai()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scomp | 4096-ptr_max |
| PARAM_VALUE | 0 | scomp->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rtd | 4096-ptr_max |
| DATA_SOURCE | 0 | scomp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |