Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/rockchip/
Drk3399_gru_sound.c370 int num_routes; member
376 .num_routes = ARRAY_SIZE(rockchip_sound_cdndp_routes),
380 .num_routes = ARRAY_SIZE(rockchip_sound_da7219_routes),
384 .num_routes = ARRAY_SIZE(rockchip_sound_dmic_routes),
388 .num_routes = ARRAY_SIZE(rockchip_sound_max98357a_routes),
392 .num_routes = ARRAY_SIZE(rockchip_sound_rt5514_routes),
456 int num_routes; in rockchip_sound_of_parse_dais() local
463 num_routes = 0; in rockchip_sound_of_parse_dais()
465 num_routes += rockchip_routes[i].num_routes; in rockchip_sound_of_parse_dais()
466 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
[all …]
/Linux-v5.4/sound/soc/intel/boards/
Dbyt-rt5640.c129 int num_routes; in byt_rt5640_init() local
144 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
148 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
152 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
155 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
Dbytcht_es8316.c164 int num_routes; in byt_cht_es8316_init() local
173 num_routes = ARRAY_SIZE(byt_cht_es8316_intmic_in1_map); in byt_cht_es8316_init()
177 num_routes = ARRAY_SIZE(byt_cht_es8316_intmic_in2_map); in byt_cht_es8316_init()
180 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_cht_es8316_init()
186 num_routes = ARRAY_SIZE(byt_cht_es8316_ssp0_map); in byt_cht_es8316_init()
189 num_routes = ARRAY_SIZE(byt_cht_es8316_ssp2_map); in byt_cht_es8316_init()
191 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.c804 int num_routes; in byt_rt5640_init() local
833 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
837 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
841 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
845 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
848 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
/Linux-v5.4/sound/soc/
Dsoc-core.c3120 int num_routes; in snd_soc_of_parse_audio_routing() local
3124 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()
3125 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()
3131 num_routes /= 2; in snd_soc_of_parse_audio_routing()
3132 if (!num_routes) { in snd_soc_of_parse_audio_routing()
3138 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
3146 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()
3165 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
/Linux-v5.4/sound/soc/codecs/
Dhdac_hdmi.c1082 int ret, i = 0, num_routes = 0, j; in create_fill_widget_route_map() local
1137 num_routes += hdmi->num_cvt; in create_fill_widget_route_map()
1140 num_routes++; in create_fill_widget_route_map()
1144 route = devm_kzalloc(dapm->dev, (sizeof(*route) * num_routes), in create_fill_widget_route_map()
1169 snd_soc_dapm_add_routes(dapm, route, num_routes); in create_fill_widget_route_map()
/Linux-v5.4/include/linux/greybus/
Dgreybus_protocols.h2050 __u8 num_routes; member
/Linux-v5.4/drivers/staging/greybus/
Daudio_topology.c1333 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()