Searched refs:ch_maps (Results 1 – 8 of 8) sorted by relevance
| /linux/sound/soc/generic/ |
| A D | audio-graph-card2.c | 587 dai_link->ch_maps[*nm_idx].cpu = cpu_idx; in graph_parse_node_multi_nm() 588 dai_link->ch_maps[*nm_idx].codec = codec_idx; in graph_parse_node_multi_nm() 625 if (gtype != GRAPH_DPCM && !dai_link->ch_maps && in graph_parse_node_multi() 629 dai_link->ch_maps = devm_kcalloc(dev, nm_max, in graph_parse_node_multi() 631 if (!dai_link->ch_maps) in graph_parse_node_multi() 661 if (is_cpu && dai_link->ch_maps) { in graph_parse_node_multi() 668 if (is_cpu && dai_link->ch_maps && (nm_idx != nm_max)) in graph_parse_node_multi()
|
| /linux/sound/soc/ |
| A D | soc-core.c | 1074 struct snd_soc_dai_link_ch_map *ch_maps; in snd_soc_compensate_channel_connection_map() local 1093 if (dai_link->ch_maps) in snd_soc_compensate_channel_connection_map() 1105 dai_link->ch_maps = default_ch_map_sync; /* for 1:1 or N:N */ in snd_soc_compensate_channel_connection_map() 1107 dai_link->ch_maps = default_ch_map_1cpu; /* for 1:N */ in snd_soc_compensate_channel_connection_map() 1109 dai_link->ch_maps = default_ch_map_1codec; /* for N:1 */ in snd_soc_compensate_channel_connection_map() 1113 for_each_link_ch_maps(dai_link, i, ch_maps) { in snd_soc_compensate_channel_connection_map() 1114 if ((ch_maps->cpu >= dai_link->num_cpus) || in snd_soc_compensate_channel_connection_map() 1115 (ch_maps->codec >= dai_link->num_codecs)) { in snd_soc_compensate_channel_connection_map() 1119 ch_maps->cpu, dai_link->num_cpus, in snd_soc_compensate_channel_connection_map() 1120 ch_maps->codec, dai_link->num_codecs); in snd_soc_compensate_channel_connection_map() [all …]
|
| A D | soc-pcm.c | 1148 struct snd_soc_dai_link_ch_map *ch_maps; in __soc_pcm_hw_params() local 1168 for_each_rtd_ch_maps(rtd, j, ch_maps) in __soc_pcm_hw_params() 1169 if (ch_maps->cpu == i) in __soc_pcm_hw_params() 1170 ch_mask |= ch_maps->ch_mask; in __soc_pcm_hw_params() 2841 struct snd_soc_dai_link_ch_map *ch_maps; in soc_get_playback_capture() local 2853 for_each_rtd_ch_maps(rtd, i, ch_maps) { in soc_get_playback_capture() 2854 cpu_dai = snd_soc_rtd_to_cpu(rtd, ch_maps->cpu); in soc_get_playback_capture() 2907 for_each_rtd_ch_maps(rtd, i, ch_maps) { in soc_get_playback_capture() 2908 cpu_dai = snd_soc_rtd_to_cpu(rtd, ch_maps->cpu); in soc_get_playback_capture() 2909 codec_dai = snd_soc_rtd_to_codec(rtd, ch_maps->codec); in soc_get_playback_capture()
|
| A D | soc-dapm.c | 4487 struct snd_soc_dai_link_ch_map *ch_maps; in snd_soc_dapm_connect_dai_link_widgets() local 4501 for_each_rtd_ch_maps(rtd, i, ch_maps) { in snd_soc_dapm_connect_dai_link_widgets() 4502 cpu_dai = snd_soc_rtd_to_cpu(rtd, ch_maps->cpu); in snd_soc_dapm_connect_dai_link_widgets() 4503 codec_dai = snd_soc_rtd_to_codec(rtd, ch_maps->codec); in snd_soc_dapm_connect_dai_link_widgets()
|
| /linux/sound/soc/sdw_utils/ |
| A D | soc_sdw_utils.c | 761 struct snd_soc_dai_link_ch_map *ch_maps; in asoc_sdw_hw_params() local 768 if (!rtd->dai_link->ch_maps) in asoc_sdw_hw_params() 793 for_each_link_ch_maps(rtd->dai_link, i, ch_maps) in asoc_sdw_hw_params() 794 ch_maps->ch_mask = ch_mask << (i * step); in asoc_sdw_hw_params()
|
| /linux/include/sound/ |
| A D | soc.h | 752 struct snd_soc_dai_link_ch_map *ch_maps; member 882 ((ch_map) = link->ch_maps + i)); \ 1248 #define for_each_rtd_ch_maps(rtd, i, ch_maps) for_each_link_ch_maps(rtd->dai_link, i, ch_maps) argument
|
| /linux/sound/soc/amd/acp/ |
| A D | acp-sdw-sof-mach.c | 246 (*dai_links)->ch_maps = codec_maps; in create_sdw_dailink()
|
| /linux/sound/soc/intel/boards/ |
| A D | sof_sdw.c | 751 (*dai_links)->ch_maps = codec_maps; in create_sdw_dailink()
|
Completed in 48 milliseconds