/linux-6.14.4/Documentation/userspace-api/media/v4l/ |
D | vidioc-subdev-g-routing.rst | 44 ``VIDIOC_SUBDEV_G_ROUTING`` ioctl and application may enable or disable routes 45 with the ``VIDIOC_SUBDEV_S_ROUTING`` ioctl, by adding or removing routes and 48 ``VIDIOC_SUBDEV_S_ROUTING`` returns the routes back to the user. 56 The ``len_routes`` field indicates the number of routes that can fit in the 57 ``routes`` array allocated by userspace. It is set by applications for both 58 ioctls to indicate how many routes the kernel can return, and is never modified 61 The ``num_routes`` field indicates the number of routes in the routing 63 routes that the application stored in the ``routes`` array. For both ioctls, it 64 is returned by the kernel and indicates how many routes are stored in the 70 both ioctls. This indicates thare are more routes in the routing table than fits [all …]
|
D | dev-subdev.rst | 556 Interaction between routes, streams, formats and selections 567 other. Any number of routes from streams on sink pads towards streams on 579 depending on the hardware. In all cases, however, only routes that have the 583 routes or have a fixed routing configuration. If the routes can be disabled, not 584 declaring the routes (or declaring them without 586 disable the routes. ``VIDIOC_SUBDEV_S_ROUTING`` will still return such routes 587 back to the user in the routes array, with the ``V4L2_SUBDEV_STREAM_FL_ACTIVE`` 592 pads is possible, and multiple routes (usually up to certain limited number) may 593 be active simultaneously. For such devices, no routes are created by the driver 594 and user-created routes are fully replaced when ``VIDIOC_SUBDEV_S_ROUTING`` is [all …]
|
/linux-6.14.4/net/netrom/ |
D | nr_route.c | 80 /* re-sort the routes in quality order. */ 83 if (nr_node->routes[y].quality > nr_node->routes[x].quality) { in re_sort_routes() 89 swap(nr_node->routes[x], nr_node->routes[y]); in re_sort_routes() 106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node() 119 * routes now (and not wait for a node broadcast). in nr_add_node() 128 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node() 199 nr_node->routes[0].quality = quality; in nr_add_node() 200 nr_node->routes[0].obs_count = obs_count; in nr_add_node() 201 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node() 220 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node() [all …]
|
/linux-6.14.4/net/phonet/ |
D | pn_dev.c | 31 struct phonet_routes routes; member 274 /* Remove left-over Phonet routes */ in phonet_route_autodel() 277 spin_lock(&pnn->routes.lock); in phonet_route_autodel() 279 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel() 280 RCU_INIT_POINTER(pnn->routes.table[i], NULL); in phonet_route_autodel() 284 spin_unlock(&pnn->routes.lock); in phonet_route_autodel() 331 spin_lock_init(&pnn->routes.lock); in phonet_init_net() 377 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local 382 spin_lock(&routes->lock); in phonet_route_add() 383 if (routes->table[daddr] == NULL) { in phonet_route_add() [all …]
|
/linux-6.14.4/drivers/comedi/drivers/ |
D | ni_routes.c | 68 * Find the valid routes for a board. 87 * device. Possibly try an alternate board name if device routes not found 103 /* Second, find the set of routes valid for this device. */ in ni_find_device_routes() 121 * @board_name: Board name (determines set of routes). 125 * Finds the route values for the device family and the set of valid routes 126 * for the board. If valid routes could not be found for the actual board 130 * (for example, with the route values but not the set of valid routes). 146 * ni_count_valid_routes() - Count the number of valid routes. 147 * @tables: Routing tables for which to count all valid routes. 155 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes() [all …]
|
D | ni_routes.h | 48 * @routes: List of route sets that are valid for this device. 53 struct ni_route_set *routes; member 57 * struct ni_route_tables - Register values and valid routes for a device. 59 * @route_values: Pointer to register values for all routes for the family to 62 * Link to the valid src->dest routes and the register values used to assign 63 * such routes for that particular device. 85 * @valid_routes: Pointer to device routes within which to search. 100 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src); 110 * Generally speaking, most routes require the first six bits and a few require 192 * ni_count_valid_routes() - Count the number of valid routes. [all …]
|
/linux-6.14.4/drivers/soc/mediatek/ |
D | mtk-mmsys.c | 30 .routes = mmsys_default_routing_table, 36 .routes = mmsys_default_routing_table, 46 .routes = mt8173_mmsys_routing_table, 58 .routes = mt8167_mmsys_routing_table, 64 .routes = mt8173_mmsys_routing_table, 72 .routes = mmsys_mt8183_routing_table, 80 .routes = mmsys_mt8186_routing_table, 88 .routes = mmsys_mt8188_routing_table, 97 .routes = mmsys_mt8188_vdo1_routing_table, 117 .routes = mmsys_mt8192_routing_table, [all …]
|
D | mtk-mmsys.h | 95 * @routes: Routing table of the mmsys. 97 * @num_routes: Array size of the routes. 121 const struct mtk_mmsys_routes *routes; member 131 * Routes in mt2701 and mt2712 are different. That means 134 * default routes meet their requirements. But we don't have the complete
|
/linux-6.14.4/drivers/comedi/drivers/ni_routing/tools/ |
D | convert_c_to_py.c | 108 while (dR->routes[i].dest != 0) { in device_write() 109 if (!is_valid_ni_sig(dR->routes[i].dest)) { in device_write() 112 dR->routes[i].dest, dR->device, i); in device_write() 116 fprintf(fp, " %u : [", dR->routes[i].dest); in device_write() 120 while (dR->routes[i].src[j] != 0) { in device_write() 121 if (!is_valid_ni_sig(dR->routes[i].src[j])) { in device_write() 124 dR->routes[i].src[j], dR->device, i, j); in device_write() 128 fprintf(fp, "%u,", dR->routes[i].src[j]); in device_write() 154 /* write valid device routes */ in main()
|
/linux-6.14.4/drivers/comedi/drivers/tests/ |
D | ni_routes_test.c | 4 * Unit tests for NI routes (ni_routes.c module). 86 .routes = (struct ni_route_set[]){ 96 /* indirect routes done through muxes */ 131 /* [7] is intentionaly left absent to test invalid routes */ 188 if (last >= devroutes->routes[i].dest) in route_set_dests_in_order() 190 last = devroutes->routes[i].dest; in route_set_dests_in_order() 204 for (j = 0; j < devroutes->routes[i].n_src; ++j) { in route_set_sources_in_order() 205 if (last >= devroutes->routes[i].src[j]) in route_set_sources_in_order() 207 last = devroutes->routes[i].src[j]; in route_set_sources_in_order() 228 unittest(devroutes->routes->dest == NI_PFI(0), in test_ni_assign_device_routes() [all …]
|
/linux-6.14.4/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_du_drv.c | 43 .routes = { 67 .routes = { 90 .routes = { 119 .routes = { 150 .routes = { 179 .routes = { 209 .routes = { 237 .routes = { 261 .routes = { 292 .routes = { [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | audio-iio-aux.c | 125 static struct snd_soc_dapm_route routes[2]; variable 127 /* Be sure sizes are correct (need 3 widgets and 2 routes) */ 129 static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed"); 157 routes[0].sink = pga_name; in audio_iio_aux_add_dapms() 158 routes[0].control = NULL; in audio_iio_aux_add_dapms() 159 routes[0].source = input_name; in audio_iio_aux_add_dapms() 160 routes[1].sink = output_name; in audio_iio_aux_add_dapms() 161 routes[1].control = NULL; in audio_iio_aux_add_dapms() 162 routes[1].source = pga_name; in audio_iio_aux_add_dapms() 164 return snd_soc_dapm_add_routes(dapm, routes, 2); in audio_iio_aux_add_dapms()
|
/linux-6.14.4/sound/soc/rockchip/ |
D | rk3399_gru_sound.c | 419 const struct snd_soc_dapm_route *routes; member 425 .routes = rockchip_sound_cdndp_routes, 429 .routes = rockchip_sound_da7219_routes, 433 .routes = rockchip_sound_dmic_routes, 437 .routes = rockchip_sound_max98357a_routes, 441 .routes = rockchip_sound_rt5514_routes, 504 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local 516 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais() 518 if (!routes) in rockchip_sound_of_parse_dais() 520 card->dapm_routes = routes; in rockchip_sound_of_parse_dais() [all …]
|
/linux-6.14.4/sound/soc/sunxi/ |
D | sun8i-codec-analog.c | 285 /* Microphone Routes */ 290 /* Left Mixer Routes */ 295 /* Right Mixer Routes */ 300 /* Left ADC Mixer Routes */ 305 /* Right ADC Mixer Routes */ 310 /* ADC Routes */ 315 /* headphone specific controls, widgets, and routes */ 415 dev_err(dev, "Failed to add Headphone DAPM routes: %d\n", ret); in sun8i_codec_add_headphone() 511 dev_err(dev, "Failed to add Line In DAPM routes: %d\n", ret); in sun8i_codec_add_linein() 519 /* line out specific controls, widgets and routes */ [all …]
|
D | sun50i-codec-analog.c | 418 /* Left Mixer Routes */ 425 /* Right Mixer Routes */ 432 /* Left ADC Mixer Routes */ 439 /* Right ADC Mixer Routes */ 446 /* ADC Routes */ 450 /* Headphone Routes */ 467 /* Microphone Routes */ 470 /* Microphone Routes */ 473 /* Line-out Routes */ 485 /* Earpiece Routes */
|
D | sun4i-codec.c | 910 /* Left ADC / DAC Routes */ 914 /* Right ADC / DAC Routes */ 918 /* Right Mixer Routes */ 927 /* Left Mixer Routes */ 935 /* Power Amplifier Routes */ 941 /* Headphone Output Routes */ 946 /* Mic1 Routes */ 952 /* Mic2 Routes */ 1217 /* DAC Routes */ 1221 /* Microphone Routes */ [all …]
|
/linux-6.14.4/sound/pci/au88x0/ |
D | au8830.h | 85 #define OFFSET_SPORTIN 0x78 /* ch 0x13 ADB source. 2 routes. */ 86 #define OFFSET_SPORTOUT 0x90 /* ch 0x13 ADB sink. 2 routes. */ 92 #define OFFSET_EQOUT 0x7e /* ch 0x11 */ /* 2 routes on ch 0x11 */ 94 #define OFFSET_A3DOUT 0xA6 /* ADB source. 2 routes per slice = 8 */ 99 #define OFFSET_XTALKOUT 0x66 /* crosstalk canceller (source) 2 routes */ 100 #define OFFSET_XTALKIN 0x96 /* crosstalk canceller (sink). 10 routes */ 101 #define OFFSET_EFXOUT 0x68 /* ADB source. 8 routes. */ 102 #define OFFSET_EFXIN 0x80 /* ADB sink. 8 routes. */
|
/linux-6.14.4/include/uapi/linux/ |
D | v4l2-subdev.h | 231 * @len_routes: the length of the routes array, in routes; set by the user, not 233 * @routes: pointer to the routes array 234 * @num_routes: the total number of routes, possibly more than fits in the 235 * routes array 241 __u64 routes; member
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_mr.c | 32 /* A list of route_vif_entry structs that point to routes that the VIF 37 /* A list of route_vif_entry structs that point to routes that the VIF 141 * not one of the egress interfaces, so trap these kind of routes. in mlxsw_sp_mr_route_action() 415 * found, abort, as duplicate routes are used for proxy routes. in mlxsw_sp_mr_route_add() 418 "Offloading proxy routes is not supported.\n"); in mlxsw_sp_mr_route_add() 635 /* Update all routes where this VIF is used as an unresolved iRIF */ in mlxsw_sp_mr_vif_resolve() 642 /* Update all routes where this VIF is used as an unresolved eRIF */ in mlxsw_sp_mr_vif_resolve() 668 /* Update all routes where this VIF is used as an unresolved eRIF */ in mlxsw_sp_mr_vif_unresolve() 672 /* Update all routes where this VIF is used as an unresolved iRIF */ in mlxsw_sp_mr_vif_unresolve() 762 /* Update all the routes that uses that VIF as eVIF */ in mlxsw_sp_mr_rif_mtu_update() [all …]
|
/linux-6.14.4/drivers/gpu/drm/renesas/rz-du/ |
D | rzg2l_du_drv.h | 46 * @routes: array of CRTC to output routes, indexed by output (RZG2L_DU_OUTPUT_*) 50 struct rzg2l_du_output_routing routes[RZG2L_DU_OUTPUT_MAX]; member
|
/linux-6.14.4/drivers/comedi/drivers/ni_routing/ |
D | README | 4 known valid signal routes for various National Instruments devices. 29 4) The sets of routes that are valid are not consistent from device to device. 43 information _and_ the knowledge of valid routes per device, a few specific 86 This data represents the known set of valid signal routes that are 97 valid device routes comes from the proprietary National Instruments 120 device routes comes from the proprietary National Instruments Windows 125 visual comparison to the NI-MAX "Valid Routes" tables.
|
D | ni_route_values.h | 28 * signals routes available on NI hardware. In many cases, one does not 29 * explicitly make these routes, rather one might indicate that something is 76 * struct family_route_values - Register values for all routes for a particular 82 * all routes defined.
|
/linux-6.14.4/tools/testing/selftests/net/forwarding/ |
D | fib_offload_lib.sh | 82 log_test "IPv4 identical routes" 113 log_test "IPv4 routes with TOS" 142 log_test "IPv4 routes with metric" 194 # Insert multiple routes with the same prefix and length and varying 226 # Add two routes with the same key and different prefix length and 238 log_test "IPv4 routes with different prefix length" 264 log_test "IPv4 routes replay - metric" 290 log_test "IPv4 routes replay - TOS" 316 log_test "IPv4 routes replay - prefix length" 331 # Exercise the routes flushing code paths by inserting various [all …]
|
/linux-6.14.4/drivers/media/pci/intel/ipu6/ |
D | ipu6-isys-subdev.c | 285 struct v4l2_subdev_route *routes; in ipu6_isys_get_src_stream_by_src_pad() local 293 routes = state->routing.routes; in ipu6_isys_get_src_stream_by_src_pad() 295 if (routes[i].source_pad == pad) { in ipu6_isys_get_src_stream_by_src_pad() 296 source_stream = routes[i].source_stream; in ipu6_isys_get_src_stream_by_src_pad() 318 .routes = &route, in ipu6_isys_subdev_init_state()
|
/linux-6.14.4/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-crossbar.c | 183 struct v4l2_subdev_route *routes; in mxc_isi_crossbar_init_state() local 191 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_state() 192 if (!routes) in mxc_isi_crossbar_init_state() 196 struct v4l2_subdev_route *route = &routes[i]; in mxc_isi_crossbar_init_state() 204 routing.routes = routes; in mxc_isi_crossbar_init_state() 208 kfree(routes); in mxc_isi_crossbar_init_state()
|