Defined in 1 files as a function:
Referenced in 16 files:
- include/sound/soc-dai.h
- sound/soc/codecs/hda.c, line 138
- sound/soc/intel/atom/sst-atom-controls.c, line 1321
- sound/soc/intel/avs/boards/nau8825.c, line 237
- sound/soc/intel/avs/pcm.c
- sound/soc/mediatek/common/mtk-dsp-sof-common.c, line 201
- sound/soc/mediatek/mt8189/mt8189-dai-pcm.c
- sound/soc/meson/aiu-encoder-i2s.c, line 509
- sound/soc/meson/axg-tdm-interface.c, line 412
- sound/soc/soc-dapm.c
- sound/soc/soc-pcm.c
- sound/soc/sof/intel/hda-dai-ops.c
- sound/soc/sof/intel/hda-dai.c
- sound/soc/sof/intel/hda.c
- sound/soc/sof/ipc4-pcm.c, line 835
- sound/soc/sof/topology.c
Smatch caller information:
sound/soc/meson/aiu-encoder-i2s.c aiu_encoder_i2s_probe_dai() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0-1 |
| CAPPED_DATA | 0 | dai->driver->ops->probe_order | 1 |
| DATA_SOURCE | 0 | dai | $0 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/sof/intel/hda-dai.c dai_to_sdev() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai.c hda_dai_get_ops() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai.c hda_dai_hw_params_data() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c hda_dai_suspend() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
sound/soc/sof/intel/hda-dai.c non_hda_dai_hw_params_data() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai.c sdw_hda_dai_hw_free() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai.c sdw_hda_dai_hw_params() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai.c sdw_hda_dai_hw_params() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/hda.c hda_codec_unregister_dais() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0-1 |
| CAPPED_DATA | 0 | &dai->list | 1 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/soc-dapm.c dapm_connect_dai_pair() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 0-1 |
| DATA_SOURCE | 0 | dai | $3 |
| DATA_SOURCE | 1 | stream | r snd_soc_get_stream_cpu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-dapm.c dapm_connect_dai_pair() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 0-1 |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-dapm.c dapm_dai_stream_event() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| DATA_SOURCE | 0 | dai | $0 |
| DATA_SOURCE | 1 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rtd->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-dapm.c dapm_update_dai_unlocked() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/soc-dapm.c snd_soc_dapm_dai_get_connected_widgets() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| DATA_SOURCE | 0 | dai | $0 |
| DATA_SOURCE | 1 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8195/mt8195-dai-pcm.c mtk_dai_pcm_prepare() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8195/mt8195-dai-pcm.c mtk_dai_pcm_prepare() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 1 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8186/mt8186-dai-pcm.c mtk_dai_pcm_hw_params() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8186/mt8186-dai-pcm.c mtk_dai_pcm_hw_params() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 1 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/intel/avs/boards/nau8825.c avs_card_resume_post() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0 |
| DATA_SOURCE | 0 | dai | r snd_soc_card_get_codec_dai |
| HALF_LOCKED2 | &pool->lock |
sound/soc/sof/intel/hda.c sdw_params_free() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda.c sdw_params_stream() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/topology.c sof_connect_dai_widget() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| PARAM_VALUE | 1 | stream | 0-1 |
| FUZZY_MAX | 1 | stream | 1 |
| HARD_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/sof/topology.c sof_disconnect_dai_widget() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| PARAM_VALUE | 1 | stream | 0-1 |
| FUZZY_MAX | 1 | stream | 1 |
| HARD_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_is_active() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| PARAM_VALUE | 1 | stream | 0-1 |
| DATA_SOURCE | 1 | stream | $1 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/soc-pcm.c dpcm_get_be() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| PARAM_VALUE | 1 | stream | 0-1 |
| DATA_SOURCE | 1 | stream | $2 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/common/mtk-dsp-sof-common.c mtk_sof_card_late_probe() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 1-u64max |
| PARAM_VALUE | 1 | stream | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/meson/axg-tdm-interface.c axg_tdm_iface_probe_dai() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0-1 |
| CAPPED_DATA | 0 | dai->driver->ops->probe_order | 1 |
| DATA_SOURCE | 0 | dai | $0 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/meson/meson-codec-glue.c meson_codec_glue_output_startup() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 1 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dai->mark_startup->f_flags | 0-u32max |
sound/soc/sof/intel/hda-dai-ops.c hda_ipc3_post_trigger() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai-ops.c hda_ipc4_get_hext_stream() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| CAPPED_DATA | 0 | dai | 1 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai-ops.c hda_ipc4_post_trigger() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai-ops.c hda_ipc4_pre_trigger() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| DATA_SOURCE | 0 | dai | $1 |
sound/soc/sof/ipc4-pcm.c sof_ipc4_pcm_dai_link_fixup() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 0-1 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8188/mt8188-dai-pcm.c mtk_dai_pcm_prepare() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8188/mt8188-dai-pcm.c mtk_dai_pcm_prepare() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 1 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/intel/avs/pcm.c avs_component_hda_unregister_dais() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0-1 |
| CAPPED_DATA | 0 | &dai->list | 1 |
| FUZZY_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/intel/avs/pcm.c avs_dai_find_path_template() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $0 |
| DATA_SOURCE | 1 | stream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dai->mark_startup->f_flags | 0-u32max |
sound/soc/intel/atom/sst-atom-controls.c sst_send_pipe_gains() -> snd_soc_dai_get_widget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dai | 4096-ptr_max |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| BUF_SIZE | 0 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | dai | $0 |
| DATA_SOURCE | 1 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |