/linux-6.6.21/sound/soc/rockchip/ |
D | rk3399_gru_sound.c | 422 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 …]
|
/linux-6.6.21/drivers/soc/mediatek/ |
D | mtk-mmsys.c | 31 .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 …]
|
D | mtk-mmsys.h | 92 const unsigned int num_routes; member
|
/linux-6.6.21/sound/soc/intel/avs/boards/ |
D | i2s_test.c | 55 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()
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | vidioc-subdev-g-routing.rst | 56 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
|
/linux-6.6.21/sound/soc/intel/boards/ |
D | bytcht_es8316.c | 164 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()
|
D | bytcr_rt5651.c | 569 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()
|
D | bxt_da7219_max98357a.c | 677 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()
|
D | sof_es8336.c | 276 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()
|
D | bytcr_rt5640.c | 1250 int num_routes = 0; in byt_rt5640_init() local 1280 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init() 1284 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in3_map); in byt_rt5640_init() 1288 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init() 1292 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init() 1296 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 858 if (routing->num_routes < krouting->num_routes) { in subdev_do_ioctl() 859 routing->num_routes = krouting->num_routes; in subdev_do_ioctl() 865 krouting->num_routes * sizeof(*krouting->routes)); in subdev_do_ioctl() 866 routing->num_routes = krouting->num_routes; in subdev_do_ioctl() 889 for (i = 0; i < routing->num_routes; ++i) { in subdev_do_ioctl() 912 krouting.num_routes = routing->num_routes; in subdev_do_ioctl() 1362 for (i = 0; i < routing->num_routes; ++i) { in v4l2_subdev_has_pad_interdep() 1562 if (unlikely(check_mul_overflow((size_t)src->num_routes, in v4l2_subdev_set_routing() 1568 if (src->num_routes > 0) { in v4l2_subdev_set_routing() 1574 new_routing.num_routes = src->num_routes; in v4l2_subdev_set_routing() [all …]
|
D | v4l2-ioctl.c | 3149 if (routing->num_routes > 256) in check_array_args() 3155 * routing->num_routes; in check_array_args()
|
/linux-6.6.21/include/uapi/linux/ |
D | v4l2-subdev.h | 231 __u32 num_routes; member
|
/linux-6.6.21/sound/soc/ |
D | soc-core.c | 3062 int num_routes; in snd_soc_of_parse_audio_routing() local 3066 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing() 3067 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing() 3073 num_routes /= 2; in snd_soc_of_parse_audio_routing() 3075 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing() 3083 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing() 3102 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()
|
/linux-6.6.21/drivers/media/i2c/ |
D | ds90ub913.c | 310 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub913_set_routing() 463 .num_routes = ARRAY_SIZE(routes), in ub913_init_cfg()
|
D | ds90ub953.c | 457 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub953_set_routing() 595 .num_routes = ARRAY_SIZE(routes), in ub953_init_cfg()
|
D | ds90ub960.c | 2747 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub960_set_routing() 2929 .num_routes = ARRAY_SIZE(routes), in ub960_init_cfg()
|
/linux-6.6.21/sound/soc/codecs/ |
D | hdac_hdmi.c | 1081 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()
|
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-crossbar.c | 204 routing.num_routes = xbar->num_sources; in mxc_isi_crossbar_init_cfg()
|
/linux-6.6.21/include/media/ |
D | v4l2-subdev.h | 748 unsigned int num_routes; member
|
/linux-6.6.21/include/linux/greybus/ |
D | greybus_protocols.h | 2050 __u8 num_routes; member
|
/linux-6.6.21/drivers/staging/greybus/ |
D | audio_topology.c | 1337 module->num_dapm_routes = tplg_data->num_routes; in gbaudio_tplg_process_header()
|