Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/rockchip/
Drk3399_gru_sound.c364 int num_routes; member
370 .num_routes = ARRAY_SIZE(rockchip_sound_cdndp_routes),
374 .num_routes = ARRAY_SIZE(rockchip_sound_da7219_routes),
378 .num_routes = ARRAY_SIZE(rockchip_sound_dmic_routes),
382 .num_routes = ARRAY_SIZE(rockchip_sound_max98357a_routes),
386 .num_routes = ARRAY_SIZE(rockchip_sound_rt5514_routes),
455 int num_routes; in rockchip_sound_of_parse_dais() local
462 num_routes = 0; in rockchip_sound_of_parse_dais()
464 num_routes += rockchip_routes[i].num_routes; in rockchip_sound_of_parse_dais()
465 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
[all …]
/Linux-v4.19/sound/soc/intel/boards/
Dbyt-rt5640.c137 int num_routes; in byt_rt5640_init() local
152 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
156 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
160 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
163 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
Dbytcr_rt5651.c498 int num_routes; in byt_rt5651_init() local
511 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_map); in byt_rt5651_init()
515 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in2_map); in byt_rt5651_init()
519 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_in2_map); in byt_rt5651_init()
523 num_routes = ARRAY_SIZE(byt_rt5651_intmic_dmic_map); in byt_rt5651_init()
525 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5651_init()
Dbytcr_rt5640.c774 int num_routes; in byt_rt5640_init() local
803 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
807 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
811 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
815 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
818 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
/Linux-v4.19/sound/soc/
Dsoc-core.c3471 int num_routes; in snd_soc_of_parse_audio_routing() local
3475 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()
3476 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()
3482 num_routes /= 2; in snd_soc_of_parse_audio_routing()
3483 if (!num_routes) { in snd_soc_of_parse_audio_routing()
3489 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
3497 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()
3516 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
/Linux-v4.19/sound/soc/codecs/
Dhdac_hdmi.c1044 int ret, i = 0, num_routes = 0, j; in create_fill_widget_route_map() local
1099 num_routes += hdmi->num_cvt; in create_fill_widget_route_map()
1102 num_routes++; in create_fill_widget_route_map()
1106 route = devm_kzalloc(dapm->dev, (sizeof(*route) * num_routes), in create_fill_widget_route_map()
1131 snd_soc_dapm_add_routes(dapm, route, num_routes); in create_fill_widget_route_map()
/Linux-v4.19/drivers/staging/greybus/
Dgreybus_protocols.h2094 __u8 num_routes; member
Daudio_topology.c1333 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()