Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/soc/generic/audio-graph-card.c graph_dai_link_of() -> snd_soc_link_to_platform()

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_platform()

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-card2.c __graph_parse_node() -> snd_soc_link_to_platform()

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/soc-core.c snd_soc_add_pcm_runtime() -> snd_soc_link_to_platform()

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_platforms > $1
PARAM_COMPARE 1 n < $0->num_platforms
CONSTRAINT 1 n <2791
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_platform()

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_platforms > $1
PARAM_COMPARE 1 n < $0->num_platforms
CONSTRAINT 1 n <2791
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 soc_dai_link_sanity_check() -> snd_soc_link_to_platform()

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 1 n 1
DATA_SOURCE 0 link $1
FUZZY_MAX 1 n 0
PARAM_COMPARE 1 n < $0->num_platforms
CONSTRAINT 1 n <2791
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_platform()

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 1 n 1
DATA_SOURCE 0 link $1
PARAM_COMPARE 1 n < $0->num_platforms
CONSTRAINT 1 n <2791
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_platform()

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_platform()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 1 n 0
RX_PATH
TASK_NOT_RUNNING