Home
last modified time | relevance | path

Searched refs:num_routes (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/sound/soc/rockchip/
Drk3399_gru_sound.c398 int num_routes; member
404 .num_routes = ARRAY_SIZE(rockchip_sound_cdndp_routes),
408 .num_routes = ARRAY_SIZE(rockchip_sound_da7219_routes),
412 .num_routes = ARRAY_SIZE(rockchip_sound_dmic_routes),
416 .num_routes = ARRAY_SIZE(rockchip_sound_max98357a_routes),
420 .num_routes = ARRAY_SIZE(rockchip_sound_rt5514_routes),
484 int num_routes; in rockchip_sound_of_parse_dais() local
491 num_routes = 0; in rockchip_sound_of_parse_dais()
493 num_routes += rockchip_routes[i].num_routes; in rockchip_sound_of_parse_dais()
494 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
[all …]
/Linux-v5.10/sound/soc/intel/boards/
Dbytcht_es8316.c163 int num_routes; in byt_cht_es8316_init() local
172 num_routes = ARRAY_SIZE(byt_cht_es8316_intmic_in1_map); in byt_cht_es8316_init()
176 num_routes = ARRAY_SIZE(byt_cht_es8316_intmic_in2_map); in byt_cht_es8316_init()
179 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_cht_es8316_init()
185 num_routes = ARRAY_SIZE(byt_cht_es8316_ssp0_map); in byt_cht_es8316_init()
188 num_routes = ARRAY_SIZE(byt_cht_es8316_ssp2_map); in byt_cht_es8316_init()
190 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_cht_es8316_init()
Dbytcr_rt5651.c546 int num_routes; in byt_rt5651_init() local
560 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_map); in byt_rt5651_init()
564 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in2_map); in byt_rt5651_init()
568 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_in2_map); in byt_rt5651_init()
572 num_routes = ARRAY_SIZE(byt_rt5651_intmic_dmic_map); in byt_rt5651_init()
574 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5651_init()
Dbytcr_rt5640.c865 int num_routes; in byt_rt5640_init() local
894 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
898 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
902 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
906 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
909 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
Dbxt_da7219_max98357a.c658 int num_controls, num_widgets, num_routes, err, i = 0; in bxt_card_late_probe() local
668 num_routes = ARRAY_SIZE(max98357a_routes); in bxt_card_late_probe()
676 num_routes = ARRAY_SIZE(max98390_routes); in bxt_card_late_probe()
695 err = snd_soc_dapm_add_routes(&card->dapm, routes, num_routes); in bxt_card_late_probe()
/Linux-v5.10/sound/soc/
Dsoc-core.c2778 int num_routes; in snd_soc_of_parse_audio_routing() local
2782 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()
2783 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()
2789 num_routes /= 2; in snd_soc_of_parse_audio_routing()
2790 if (!num_routes) { in snd_soc_of_parse_audio_routing()
2796 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
2804 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()
2823 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
/Linux-v5.10/sound/soc/codecs/
Dhdac_hdmi.c1076 int ret, i = 0, num_routes = 0, j; in create_fill_widget_route_map() local
1131 num_routes += hdmi->num_cvt; in create_fill_widget_route_map()
1134 num_routes++; in create_fill_widget_route_map()
1138 route = devm_kzalloc(dapm->dev, (sizeof(*route) * num_routes), in create_fill_widget_route_map()
1163 snd_soc_dapm_add_routes(dapm, route, num_routes); in create_fill_widget_route_map()
/Linux-v5.10/include/linux/greybus/
Dgreybus_protocols.h2050 __u8 num_routes; member
/Linux-v5.10/drivers/staging/greybus/
Daudio_topology.c1325 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()