Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/rockchip/
Drk3399_gru_sound.c418 int num_routes; member
424 .num_routes = ARRAY_SIZE(rockchip_sound_cdndp_routes),
428 .num_routes = ARRAY_SIZE(rockchip_sound_da7219_routes),
432 .num_routes = ARRAY_SIZE(rockchip_sound_dmic_routes),
436 .num_routes = ARRAY_SIZE(rockchip_sound_max98357a_routes),
440 .num_routes = ARRAY_SIZE(rockchip_sound_rt5514_routes),
504 int num_routes; in rockchip_sound_of_parse_dais() local
511 num_routes = 0; in rockchip_sound_of_parse_dais()
513 num_routes += rockchip_routes[i].num_routes; in rockchip_sound_of_parse_dais()
514 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
[all …]
/linux-6.1.9/drivers/soc/mediatek/
Dmtk-mmsys.c26 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
39 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
74 .num_routes = ARRAY_SIZE(mt8167_mmsys_routing_table),
87 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
101 .num_routes = ARRAY_SIZE(mmsys_mt8183_routing_table),
115 .num_routes = ARRAY_SIZE(mmsys_mt8186_routing_table),
129 .num_routes = ARRAY_SIZE(mmsys_mt8192_routing_table),
144 .num_routes = ARRAY_SIZE(mmsys_mt8195_routing_table),
163 .num_routes = ARRAY_SIZE(mt8365_mmsys_routing_table),
202 for (i = 0; i < mmsys->data->num_routes; i++) in mtk_mmsys_ddp_connect()
[all …]
Dmtk-mmsys.h93 const unsigned int num_routes; member
/linux-6.1.9/sound/soc/intel/avs/boards/
Dmax98357a.c68 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
88 *num_routes = num_dr; in avs_create_dapm_routes()
101 int num_routes, ssp_port, ret; in avs_max98357a_probe() local
113 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98357a_probe()
133 card->num_dapm_routes = num_routes; in avs_max98357a_probe()
Di2s_test.c57 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
77 *num_routes = num_dr; in avs_create_dapm_routes()
119 int num_routes, num_widgets; in avs_i2s_test_probe() local
140 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_i2s_test_probe()
157 card->num_dapm_routes = num_routes; in avs_i2s_test_probe()
Dmax98373.c145 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
171 *num_routes = num_dr; in avs_create_dapm_routes()
184 int num_routes, ssp_port, ret; in avs_max98373_probe() local
196 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98373_probe()
218 card->num_dapm_routes = num_routes; in avs_max98373_probe()
Dda7219.c157 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
183 *num_routes = num_dr; in avs_create_dapm_routes()
223 int num_routes, ssp_port, ret; in avs_da7219_probe() local
235 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_da7219_probe()
259 card->num_dapm_routes = num_routes; in avs_da7219_probe()
Drt286.c157 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
183 *num_routes = num_dr; in avs_create_dapm_routes()
223 int num_routes, ssp_port, ret; in avs_rt286_probe() local
235 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt286_probe()
259 card->num_dapm_routes = num_routes; in avs_rt286_probe()
Drt298.c177 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
203 *num_routes = num_dr; in avs_create_dapm_routes()
243 int num_routes, ssp_port, ret; in avs_rt298_probe() local
255 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt298_probe()
279 card->num_dapm_routes = num_routes; in avs_rt298_probe()
Dssm4567.c164 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
202 *num_routes = num_dr; in avs_create_dapm_routes()
215 int num_routes, ssp_port, ret; in avs_ssm4567_probe() local
227 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_ssm4567_probe()
249 card->num_dapm_routes = num_routes; in avs_ssm4567_probe()
Drt274.c186 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
212 *num_routes = num_dr; in avs_create_dapm_routes()
252 int num_routes, ssp_port, ret; in avs_rt274_probe() local
264 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt274_probe()
288 card->num_dapm_routes = num_routes; in avs_rt274_probe()
Drt5682.c209 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
235 *num_routes = num_dr; in avs_create_dapm_routes()
275 int num_routes, ssp_port, ret; in avs_rt5682_probe() local
293 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt5682_probe()
317 card->num_dapm_routes = num_routes; in avs_rt5682_probe()
Dnau8825.c219 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
245 *num_routes = num_dr; in avs_create_dapm_routes()
295 int num_routes, ssp_port, ret; in avs_nau8825_probe() local
307 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_nau8825_probe()
331 card->num_dapm_routes = num_routes; in avs_nau8825_probe()
Dhdaudio.c67 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
112 *num_routes = n; in avs_create_dapm_routes()
/linux-6.1.9/sound/soc/intel/boards/
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.c569 int num_routes; in byt_rt5651_init() local
583 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_map); in byt_rt5651_init()
587 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in2_map); in byt_rt5651_init()
591 num_routes = ARRAY_SIZE(byt_rt5651_intmic_in1_in2_map); in byt_rt5651_init()
595 num_routes = ARRAY_SIZE(byt_rt5651_intmic_dmic_map); in byt_rt5651_init()
597 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5651_init()
Dbxt_da7219_max98357a.c671 int num_controls, num_widgets, num_routes, err, i = 0; in bxt_card_late_probe() local
681 num_routes = ARRAY_SIZE(max98357a_routes); in bxt_card_late_probe()
689 num_routes = ARRAY_SIZE(max98390_routes); in bxt_card_late_probe()
708 err = snd_soc_dapm_add_routes(&card->dapm, routes, num_routes); in bxt_card_late_probe()
Dsof_es8336.c276 int num_routes; in sof_es8316_init() local
283 num_routes = ARRAY_SIZE(sof_es8316_headset_mic1_map); in sof_es8316_init()
286 num_routes = ARRAY_SIZE(sof_es8316_headset_mic2_map); in sof_es8316_init()
289 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in sof_es8316_init()
Dbytcr_rt5640.c1212 int num_routes = 0; in byt_rt5640_init() local
1242 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
1246 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
1250 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
1254 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
1258 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
/linux-6.1.9/sound/soc/
Dsoc-core.c2956 int num_routes; in snd_soc_of_parse_audio_routing() local
2960 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()
2961 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()
2967 num_routes /= 2; in snd_soc_of_parse_audio_routing()
2969 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
2977 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()
2996 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
/linux-6.1.9/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-6.1.9/include/linux/greybus/
Dgreybus_protocols.h2050 __u8 num_routes; member
/linux-6.1.9/drivers/staging/greybus/
Daudio_topology.c1338 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()