Defined in 1 files as a function:
Referenced in 5 files:
- include/sound/soc.h, line 841
- sound/soc/generic/audio-graph-card.c
- sound/soc/generic/audio-graph-card2.c
- sound/soc/generic/simple-card.c
- sound/soc/sdw_utils/soc_sdw_cs_amp.c, line 95
Smatch caller information:
sound/soc/generic/audio-graph-card.c graph_dai_link_of() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/audio-graph-card.c graph_dai_link_of_dpcm() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/audio-graph-card.c graph_parse_node() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sdw_utils/soc_sdw_cs_amp.c asoc_sdw_cs_spk_feedback_rtd_init() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-2147483646 |
| CAPPED_DATA | 1 | n | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->codecs | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| BUF_SIZE | 0 | link | 648 |
| CAPPED_DATA | 1 | n | 1 |
| FUZZY_MAX | 1 | n | 0 |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->codecs | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| BUF_SIZE | 0 | link | 648 |
| CAPPED_DATA | 1 | n | 1 |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->codecs | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| BUF_SIZE | 0 | link | 648 |
| CAPPED_DATA | 1 | n | 1 |
| FUZZY_MAX | 1 | n | 0 |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->codecs | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| BUF_SIZE | 0 | link | 648 |
| CAPPED_DATA | 1 | n | 1 |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->codecs | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| BUF_SIZE | 0 | link | 648 |
| CAPPED_DATA | 1 | n | 1 |
| FUZZY_MAX | 1 | n | 0 |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->codecs | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| BUF_SIZE | 0 | link | 648 |
| CAPPED_DATA | 1 | n | 1 |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/generic/simple-card-utils.c simple_util_clean_reference() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| CAPPED_DATA | 1 | n | 1 |
| FUZZY_MAX | 1 | n | 0 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &_dev->mutex |
sound/soc/generic/simple-card-utils.c simple_util_clean_reference() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| CAPPED_DATA | 1 | n | 1 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &_dev->mutex |
sound/soc/generic/audio-graph-card2.c __graph_parse_node() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| DATA_SOURCE | 1 | n | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/audio-graph-card2.c __graph_parse_node() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| DATA_SOURCE | 1 | n | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/audio-graph-card2.c __graph_parse_node() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| DATA_SOURCE | 1 | n | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/audio-graph-card2.c graph_link_init() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| CAPPED_DATA | 0 | link->num_cpus | 1 |
| CAPPED_DATA | 1 | n | 1 |
| FUZZY_MAX | 1 | n | 0 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/generic/audio-graph-card2.c graph_link_init() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| CAPPED_DATA | 0 | link->num_cpus | 1 |
| CAPPED_DATA | 1 | n | 1 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/soc-core.c snd_soc_add_pcm_runtime() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| CAPPED_DATA | 0 | link->num_codecs | 1 |
| CAPPED_DATA | 0 | link->num_cpus | 1 |
| CAPPED_DATA | 0 | link->num_platforms | 1 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $1 |
| FUZZY_MAX | 1 | n | 0 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-core.c snd_soc_add_pcm_runtime() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| CAPPED_DATA | 0 | link->num_codecs | 1 |
| CAPPED_DATA | 0 | link->num_cpus | 1 |
| CAPPED_DATA | 0 | link->num_platforms | 1 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $1 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-core.c snd_soc_of_get_dai_link_codecs() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link->codecs | (-1),40 |
| BUF_SIZE | 0 | link->cpus | (-1),40,80 |
| BUF_SIZE | 0 | link->name | (-1),8 |
| BUF_SIZE | 0 | link->ops | (-1),48 |
| BUF_SIZE | 0 | link->platforms | (-1),40 |
| BUF_SIZE | 0 | link->stream_name | (-1),8 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $2 |
| FUZZY_MAX | 1 | n | 0 |
| STR_LEN | 0 | link->name | (-1),7 |
| STR_LEN | 0 | link->stream_name | (-1),7 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/soc-core.c snd_soc_of_get_dai_link_codecs() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link->codecs | (-1),40 |
| BUF_SIZE | 0 | link->cpus | (-1),40,80 |
| BUF_SIZE | 0 | link->name | (-1),8 |
| BUF_SIZE | 0 | link->ops | (-1),48 |
| BUF_SIZE | 0 | link->platforms | (-1),40 |
| BUF_SIZE | 0 | link->stream_name | (-1),8 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $2 |
| STR_LEN | 0 | link->name | (-1),7 |
| STR_LEN | 0 | link->stream_name | (-1),7 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
sound/soc/soc-core.c snd_soc_of_put_dai_link_codecs() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link->codecs | (-1),40 |
| BUF_SIZE | 0 | link->cpus | (-1),40,80 |
| BUF_SIZE | 0 | link->name | (-1),8 |
| BUF_SIZE | 0 | link->ops | (-1),48 |
| BUF_SIZE | 0 | link->platforms | (-1),40 |
| BUF_SIZE | 0 | link->stream_name | (-1),8 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $0 |
| FUZZY_MAX | 1 | n | 0 |
| STR_LEN | 0 | link->name | (-1),7 |
| STR_LEN | 0 | link->stream_name | (-1),7 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &_dev->mutex |
sound/soc/soc-core.c snd_soc_of_put_dai_link_codecs() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link | (-1)-s32max |
| BUF_SIZE | 0 | link->codecs | (-1),40 |
| BUF_SIZE | 0 | link->cpus | (-1),40,80 |
| BUF_SIZE | 0 | link->name | (-1),8 |
| BUF_SIZE | 0 | link->ops | (-1),48 |
| BUF_SIZE | 0 | link->platforms | (-1),40 |
| BUF_SIZE | 0 | link->stream_name | (-1),8 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $0 |
| STR_LEN | 0 | link->name | (-1),7 |
| STR_LEN | 0 | link->stream_name | (-1),7 |
| PARAM_COMPARE | 0 | link->num_codecs | > $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &_dev->mutex |
sound/soc/soc-core.c soc_dai_link_sanity_check() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $1 |
| FUZZY_MAX | 1 | n | 0 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-core.c soc_dai_link_sanity_check() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | link | $1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/generic/simple-card.c simple_dai_link_of() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/simple-card.c simple_dai_link_of_dpcm() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/generic/simple-card.c simple_parse_node() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/meson/meson-card-utils.c meson_card_clean_references() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-s32max |
| CAPPED_DATA | 1 | n | 1 |
| FUZZY_MAX | 1 | n | 0 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &_dev->mutex |
sound/soc/meson/meson-card-utils.c meson_card_clean_references() -> snd_soc_link_to_codec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1-s32max |
| CAPPED_DATA | 1 | n | 1 |
| PARAM_COMPARE | 1 | n | < $0->num_codecs |
| CONSTRAINT | 1 | n | <2786 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_array_size |
| HALF_LOCKED2 | &_dev->mutex |