Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/rockchip/
H A Drk3399_gru_sound.c422 int num_routes; member
428 .num_routes = ARRAY_SIZE(rockchip_sound_cdndp_routes),
432 .num_routes = ARRAY_SIZE(rockchip_sound_da7219_routes),
436 .num_routes = ARRAY_SIZE(rockchip_sound_dmic_routes),
440 .num_routes = ARRAY_SIZE(rockchip_sound_max98357a_routes),
444 .num_routes = ARRAY_SIZE(rockchip_sound_rt5514_routes),
508 int num_routes; in rockchip_sound_of_parse_dais() local
515 num_routes = 0; in rockchip_sound_of_parse_dais()
517 num_routes += rockchip_routes[i].num_routes; in rockchip_sound_of_parse_dais()
518 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
[all …]
/openbmc/linux/drivers/soc/mediatek/
H A Dmtk-mmsys.c31 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
37 .num_routes = ARRAY_SIZE(mmsys_default_routing_table),
47 .num_routes = ARRAY_SIZE(mt8173_mmsys_routing_table),
59 .num_routes = ARRAY_SIZE(mt8167_mmsys_routing_table),
65 .num_routes = ARRAY_SIZE(mt8173_mmsys_routing_table),
73 .num_routes = ARRAY_SIZE(mmsys_mt8183_routing_table),
81 .num_routes = ARRAY_SIZE(mmsys_mt8186_routing_table),
89 .num_routes = ARRAY_SIZE(mmsys_mt8188_routing_table),
95 .num_routes = ARRAY_SIZE(mmsys_mt8192_routing_table),
103 .num_routes = ARRAY_SIZE(mmsys_mt8195_routing_table),
[all …]
H A Dmtk-mmsys.h92 const unsigned int num_routes; member
/openbmc/linux/sound/soc/intel/avs/boards/
H A Di2s_test.c55 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
75 *num_routes = num_dr; in avs_create_dapm_routes()
117 int num_routes, num_widgets; in avs_i2s_test_probe() local
138 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_i2s_test_probe()
155 card->num_dapm_routes = num_routes; in avs_i2s_test_probe()
/openbmc/linux/Documentation/userspace-api/media/v4l/
H 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
62 ``num_routes`` field to reflect the actual number of routes returned.
81 - ``num_routes``
139 The application provided ``num_routes`` is not big enough to contain
147 The application provided ``num_routes`` for ``VIDIOC_SUBDEV_S_ROUTING`` is
/openbmc/linux/sound/soc/intel/boards/
H 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()
H 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()
H A Dbxt_da7219_max98357a.c677 int num_controls, num_widgets, num_routes, err, i = 0; in bxt_card_late_probe() local
687 num_routes = ARRAY_SIZE(max98357a_routes); in bxt_card_late_probe()
695 num_routes = ARRAY_SIZE(max98390_routes); in bxt_card_late_probe()
714 err = snd_soc_dapm_add_routes(&card->dapm, routes, num_routes); in bxt_card_late_probe()
H 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()
H A Dbytcr_rt5640.c1308 int num_routes = 0; in byt_rt5640_init() local
1338 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()
1342 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init()
1346 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()
1350 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()
1354 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c877 if (routing->num_routes < krouting->num_routes) { in subdev_do_ioctl()
878 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
884 krouting->num_routes * sizeof(*krouting->routes)); in subdev_do_ioctl()
885 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
908 for (i = 0; i < routing->num_routes; ++i) { in subdev_do_ioctl()
931 krouting.num_routes = routing->num_routes; in subdev_do_ioctl()
1381 for (i = 0; i < routing->num_routes; ++i) { in v4l2_subdev_has_pad_interdep()
1581 if (unlikely(check_mul_overflow((size_t)src->num_routes, in v4l2_subdev_set_routing()
1587 if (src->num_routes > 0) { in v4l2_subdev_set_routing()
1593 new_routing.num_routes = src->num_routes; in v4l2_subdev_set_routing()
[all …]
H A Dv4l2-ioctl.c3150 if (routing->num_routes > 256) in check_array_args()
3156 * routing->num_routes; in check_array_args()
/openbmc/qemu/include/hw/s390x/
H A Ds390_flic.h32 int num_routes; member
/openbmc/linux/include/uapi/linux/
H A Dv4l2-subdev.h231 __u32 num_routes; member
/openbmc/linux/sound/soc/
H A Dsoc-core.c3065 int num_routes; in snd_soc_of_parse_audio_routing() local
3069 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()
3070 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()
3076 num_routes /= 2; in snd_soc_of_parse_audio_routing()
3078 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
3086 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()
3105 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c365 for (i = 0; i < routes->num_routes; i++) { in kvm_s390_add_adapter_routes()
396 for (i = 0; i < routes->num_routes; i++) { in kvm_s390_release_adapter_routes()
/openbmc/linux/sound/soc/codecs/
H A Dhdac_hdmi.c1081 int ret, i = 0, num_routes = 0, j; in create_fill_widget_route_map() local
1136 num_routes += hdmi->num_cvt; in create_fill_widget_route_map()
1139 num_routes++; in create_fill_widget_route_map()
1143 route = devm_kzalloc(dapm->dev, (sizeof(*route) * num_routes), in create_fill_widget_route_map()
1168 snd_soc_dapm_add_routes(dapm, route, num_routes); in create_fill_widget_route_map()
/openbmc/linux/drivers/media/i2c/
H A Dds90ub913.c324 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub913_set_routing()
477 .num_routes = ARRAY_SIZE(routes), in ub913_init_cfg()
H A Dds90ub953.c462 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub953_set_routing()
600 .num_routes = ARRAY_SIZE(routes), in ub953_init_cfg()
H A Dds90ub960.c2757 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub960_set_routing()
2939 .num_routes = ARRAY_SIZE(routes), in ub960_init_cfg()
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c203 routing.num_routes = xbar->num_sources; in mxc_isi_crossbar_init_cfg()
/openbmc/linux/include/media/
H A Dv4l2-subdev.h750 unsigned int num_routes; member
/openbmc/qemu/hw/s390x/
H A Dvirtio-ccw.c986 dev->routes.num_routes = i; in virtio_ccw_setup_irqroutes()
/openbmc/linux/include/linux/greybus/
H A Dgreybus_protocols.h2050 __u8 num_routes; member
/openbmc/linux/drivers/staging/greybus/
H A Daudio_topology.c1337 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()