Searched refs:ch_maps (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/sound/soc/generic/ |
| H A D | audio-graph-card2.c | 577 dai_link->ch_maps[*nm_idx].cpu = cpu_idx; in graph_parse_node_multi_nm() 578 dai_link->ch_maps[*nm_idx].codec = codec_idx; in graph_parse_node_multi_nm() 608 if (gtype != GRAPH_DPCM && !dai_link->ch_maps && in graph_parse_node_multi() 612 dai_link->ch_maps = devm_kcalloc(dev, nm_max, in graph_parse_node_multi() 614 if (!dai_link->ch_maps) in graph_parse_node_multi() 643 if (is_cpu && dai_link->ch_maps) { in graph_parse_node_multi() 650 if (is_cpu && dai_link->ch_maps && (nm_idx != nm_max)) in graph_parse_node_multi()
|
| /linux-6.15/sound/soc/ |
| H A D | soc-core.c | 1075 struct snd_soc_dai_link_ch_map *ch_maps; in snd_soc_compensate_channel_connection_map() local 1094 if (dai_link->ch_maps) in snd_soc_compensate_channel_connection_map() 1106 dai_link->ch_maps = default_ch_map_sync; /* for 1:1 or N:N */ in snd_soc_compensate_channel_connection_map() 1108 dai_link->ch_maps = default_ch_map_1cpu; /* for 1:N */ in snd_soc_compensate_channel_connection_map() 1110 dai_link->ch_maps = default_ch_map_1codec; /* for N:1 */ in snd_soc_compensate_channel_connection_map() 1114 for_each_link_ch_maps(dai_link, i, ch_maps) { in snd_soc_compensate_channel_connection_map() 1115 if ((ch_maps->cpu >= dai_link->num_cpus) || in snd_soc_compensate_channel_connection_map() 1116 (ch_maps->codec >= dai_link->num_codecs)) { in snd_soc_compensate_channel_connection_map() 1120 ch_maps->cpu, dai_link->num_cpus, in snd_soc_compensate_channel_connection_map() 1121 ch_maps->codec, dai_link->num_codecs); in snd_soc_compensate_channel_connection_map() [all …]
|
| H A D | soc-pcm.c | 1114 struct snd_soc_dai_link_ch_map *ch_maps; in __soc_pcm_hw_params() local 1134 for_each_rtd_ch_maps(rtd, j, ch_maps) in __soc_pcm_hw_params() 1135 if (ch_maps->cpu == i) in __soc_pcm_hw_params() 1136 ch_mask |= ch_maps->ch_mask; in __soc_pcm_hw_params() 2796 struct snd_soc_dai_link_ch_map *ch_maps; in soc_get_playback_capture() local 2816 for_each_rtd_ch_maps(rtd, i, ch_maps) { in soc_get_playback_capture() 2817 cpu_dai = snd_soc_rtd_to_cpu(rtd, ch_maps->cpu); in soc_get_playback_capture() 2818 codec_dai = snd_soc_rtd_to_codec(rtd, ch_maps->codec); in soc_get_playback_capture()
|
| H A D | soc-dapm.c | 4491 struct snd_soc_dai_link_ch_map *ch_maps; in snd_soc_dapm_connect_dai_link_widgets() local 4505 for_each_rtd_ch_maps(rtd, i, ch_maps) { in snd_soc_dapm_connect_dai_link_widgets() 4506 cpu_dai = snd_soc_rtd_to_cpu(rtd, ch_maps->cpu); in snd_soc_dapm_connect_dai_link_widgets() 4507 codec_dai = snd_soc_rtd_to_codec(rtd, ch_maps->codec); in snd_soc_dapm_connect_dai_link_widgets()
|
| /linux-6.15/sound/soc/sdw_utils/ |
| H A D | soc_sdw_utils.c | 839 struct snd_soc_dai_link_ch_map *ch_maps; in asoc_sdw_hw_params() local 846 if (!rtd->dai_link->ch_maps) in asoc_sdw_hw_params() 871 for_each_link_ch_maps(rtd->dai_link, i, ch_maps) in asoc_sdw_hw_params() 872 ch_maps->ch_mask = ch_mask << (i * step); in asoc_sdw_hw_params()
|
| /linux-6.15/include/sound/ |
| H A D | soc.h | 725 struct snd_soc_dai_link_ch_map *ch_maps; member 850 ((ch_map) = link->ch_maps + i)); \ 1214 #define for_each_rtd_ch_maps(rtd, i, ch_maps) for_each_link_ch_maps(rtd->dai_link, i, ch_maps) argument
|
| /linux-6.15/sound/soc/amd/acp/ |
| H A D | acp-sdw-sof-mach.c | 198 (*dai_links)->ch_maps = codec_maps; in create_sdw_dailink()
|
| H A D | acp-sdw-legacy-mach.c | 232 (*dai_links)->ch_maps = codec_maps; in create_sdw_dailink()
|
| /linux-6.15/sound/soc/intel/boards/ |
| H A D | sof_sdw.c | 929 (*dai_links)->ch_maps = codec_maps; in create_sdw_dailink()
|