Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/soc/soc-dapm.c snd_soc_dapm_connect_dai_link_widgets() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/soc-dapm.c snd_soc_dapm_connect_dai_link_widgets() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sdw_utils/soc_sdw_cs_amp.c asoc_sdw_cs_spk_feedback_rtd_init() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->num_codecs 1-u32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sdw_utils/soc_sdw_cs_amp.c asoc_sdw_cs_spk_feedback_rtd_init() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->num_codecs 1-u32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sdw_utils/soc_sdw_utils.c asoc_sdw_hw_params() -> snd_soc_link_num_ch_map()

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

sound/soc/sdw_utils/soc_sdw_utils.c asoc_sdw_hw_params() -> snd_soc_link_num_ch_map()

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

sound/soc/soc-pcm.c __soc_pcm_hw_params() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->num_cpus 1-u32max
CAPPED_DATA 0 link->num_codecs 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/soc-pcm.c __soc_pcm_hw_params() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->num_cpus 1-u32max
CAPPED_DATA 0 link->num_codecs 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/soc-pcm.c soc_get_playback_capture() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/soc-pcm.c soc_get_playback_capture() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/soc-core.c snd_soc_compensate_channel_connection_map() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
BUF_SIZE 0 link->ch_maps (-1),96
DATA_SOURCE 0 link $1
RX_PATH
TASK_NOT_RUNNING
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_compensate_channel_connection_map() -> snd_soc_link_num_ch_map()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->num_codecs 1-u32max
PARAM_VALUE 0 link->num_cpus 1-u32max
BUF_SIZE 0 link->ch_maps (-1),96
DATA_SOURCE 0 link $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex