Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A 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 …]
/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A 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()
H A Dbytcr_rt5651.c559 int num_routes; in byt_rt5651_init() local
573 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_map); in byt_rt5651_init()
577 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in2_map); in byt_rt5651_init()
581 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_in2_map); in byt_rt5651_init()
585 num_routes = ARRAY_SIZE(byt_rt5651_intmic_dmic_map); in byt_rt5651_init()
587 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5651_init()
H A Dbytcr_rt5640.c977 int num_routes; in byt_rt5640_init() local
1006 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
1010 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
1014 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
1018 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
1021 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
H A 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()
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-core.c2785 int num_routes; in snd_soc_of_parse_audio_routing() local
2789 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()
2790 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()
2796 num_routes /= 2; in snd_soc_of_parse_audio_routing()
2797 if (!num_routes) { in snd_soc_of_parse_audio_routing()
2803 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
2811 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()
2830 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/greybus/
H A Dgreybus_protocols.h2050 __u8 num_routes; member
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Daudio_topology.c1338 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()