Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/sound/soc/rockchip/
A Drk3399_gru_sound.c417 int num_routes; member
423 .num_routes = ARRAY_SIZE(rockchip_sound_cdndp_routes),
427 .num_routes = ARRAY_SIZE(rockchip_sound_da7219_routes),
431 .num_routes = ARRAY_SIZE(rockchip_sound_dmic_routes),
435 .num_routes = ARRAY_SIZE(rockchip_sound_max98357a_routes),
439 .num_routes = ARRAY_SIZE(rockchip_sound_rt5514_routes),
503 int num_routes; in rockchip_sound_of_parse_dais() local
510 num_routes = 0; in rockchip_sound_of_parse_dais()
512 num_routes += rockchip_routes[i].num_routes; in rockchip_sound_of_parse_dais()
513 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
[all …]
/linux-6.3-rc2/drivers/soc/mediatek/
A Dmtk-mmsys.c30 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
36 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
50 .num_routes = ARRAY_SIZE(mt8167_mmsys_routing_table),
56 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
64 .num_routes = ARRAY_SIZE(mmsys_mt8183_routing_table),
72 .num_routes = ARRAY_SIZE(mmsys_mt8186_routing_table),
80 .num_routes = ARRAY_SIZE(mmsys_mt8188_routing_table),
86 .num_routes = ARRAY_SIZE(mmsys_mt8192_routing_table),
94 .num_routes = ARRAY_SIZE(mmsys_mt8195_routing_table),
160 for (i = 0; i < mmsys->data->num_routes; i++) in mtk_mmsys_ddp_connect()
[all …]
A Dmtk-mmsys.h92 const unsigned int num_routes; member
/linux-6.3-rc2/sound/soc/intel/avs/boards/
A 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()
A 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()
A 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()
A Dmax98927.c142 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
168 *num_routes = num_dr; in avs_create_dapm_routes()
181 int num_routes, ssp_port, ret; in avs_max98927_probe() local
193 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98927_probe()
215 card->num_dapm_routes = num_routes; in avs_max98927_probe()
A Dda7219.c164 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
190 *num_routes = num_dr; in avs_create_dapm_routes()
219 int num_routes, ssp_port, ret; in avs_da7219_probe() local
231 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_da7219_probe()
254 card->num_dapm_routes = num_routes; in avs_da7219_probe()
A Drt286.c162 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
188 *num_routes = num_dr; in avs_create_dapm_routes()
217 int num_routes, ssp_port, ret; in avs_rt286_probe() local
229 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt286_probe()
252 card->num_dapm_routes = num_routes; in avs_rt286_probe()
A Drt298.c182 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
208 *num_routes = num_dr; in avs_create_dapm_routes()
237 int num_routes, ssp_port, ret; in avs_rt298_probe() local
249 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt298_probe()
272 card->num_dapm_routes = num_routes; in avs_rt298_probe()
A 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()
A Drt274.c192 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
218 *num_routes = num_dr; in avs_create_dapm_routes()
247 int num_routes, ssp_port, ret; in avs_rt274_probe() local
259 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt274_probe()
282 card->num_dapm_routes = num_routes; in avs_rt274_probe()
A Drt5682.c216 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
242 *num_routes = num_dr; in avs_create_dapm_routes()
271 int num_routes, ssp_port, ret; in avs_rt5682_probe() local
289 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt5682_probe()
312 card->num_dapm_routes = num_routes; in avs_rt5682_probe()
A 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()
284 int num_routes, ssp_port, ret; in avs_nau8825_probe() local
296 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_nau8825_probe()
319 card->num_dapm_routes = num_routes; in avs_nau8825_probe()
A Dhdaudio.c68 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
113 *num_routes = n; in avs_create_dapm_routes()
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dvidioc-subdev-g-routing.rst56 provided ``num_routes`` is not big enough to contain all the available routes
58 value of the ``num_routes`` field. Application should then reserve enough memory
78 - ``num_routes``
136 The application provided ``num_routes`` is not big enough to contain
146 The application provided ``num_routes`` for ``VIDIOC_SUBDEV_S_ROUTING`` is
/linux-6.3-rc2/sound/soc/intel/boards/
A 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()
A 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()
A Dbxt_da7219_max98357a.c670 int num_controls, num_widgets, num_routes, err, i = 0; in bxt_card_late_probe() local
680 num_routes = ARRAY_SIZE(max98357a_routes); in bxt_card_late_probe()
688 num_routes = ARRAY_SIZE(max98390_routes); in bxt_card_late_probe()
707 err = snd_soc_dapm_add_routes(&card->dapm, routes, num_routes); in bxt_card_late_probe()
A 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()
A Dbytcr_rt5640.c1222 int num_routes = 0; in byt_rt5640_init() local
1252 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
1256 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
1260 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
1264 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
1268 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
/linux-6.3-rc2/drivers/media/v4l2-core/
A Dv4l2-subdev.c830 if (routing->num_routes < krouting->num_routes) { in subdev_do_ioctl()
831 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
838 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
861 for (i = 0; i < routing->num_routes; ++i) { in subdev_do_ioctl()
884 krouting.num_routes = routing->num_routes; in subdev_do_ioctl()
1275 for (i = 0; i < routing->num_routes; ++i) { in v4l2_subdev_has_pad_interdep()
1469 if (src->num_routes > 0) { in v4l2_subdev_set_routing()
1475 new_routing.num_routes = src->num_routes; in v4l2_subdev_set_routing()
1602 for (i = 0; i < routing->num_routes; ++i) { in v4l2_subdev_routing_find_opposite_end()
1689 for (i = 0; i < routing->num_routes; ++i) { in v4l2_subdev_routing_validate()
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dv4l2-subdev.h231 __u32 num_routes; member
/linux-6.3-rc2/sound/soc/
A 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.3-rc2/sound/soc/codecs/
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()

Completed in 42 milliseconds

12