Home
last modified time | relevance | path

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

1234

/linux/net/netrom/
H A Dnr_route.c80 /* 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[ in nr_add_node()
[all...]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-g-routing.rst44 ``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 …]
H A Ddev-subdev.rst557 Interaction between routes, streams, formats and selections
568 other. Any number of routes from streams on sink pads towards streams on
580 depending on the hardware. In all cases, however, only routes that have the
584 routes or have a fixed routing configuration. If the routes can be disabled, not
585 declaring the routes (or declaring them without
587 disable the routes. ``VIDIOC_SUBDEV_S_ROUTING`` will still return such routes
588 back to the user in the routes array, with the ``V4L2_SUBDEV_STREAM_FL_ACTIVE``
593 pads is possible, and multiple routes (usually up to certain limited number) may
594 be active simultaneously. For such devices, no routes are created by the driver
595 and user-created routes are fully replaced when ``VIDIOC_SUBDEV_S_ROUTING`` is
[all …]
/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_c_to_py.c108 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()
/linux/drivers/comedi/drivers/
H A Dni_routes.c155 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
209 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_get_valid_routes()
311 while (valid_routes->routes[valid_routes->n_route_sets].dest != 0) in ni_sort_device_routes()
315 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes()
320 struct ni_route_set *rs = &valid_routes->routes[n]; in ni_sort_device_routes()
328 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
381 return bsearch(&destination, valid_routes->routes, in ni_find_route_set()
393 bool ni_route_set_has_source(const struct ni_route_set *routes, in ni_route_set_has_source() argument
396 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
467 const struct ni_route_set *routes = in ni_route_to_register() local
[all …]
H A Dni_routes.h53 struct ni_route_set *routes; member
100 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src);
/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c86 .routes = (struct ni_route_set[]){
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()
230 unittest(devroutes->routes->n_src == 1, in test_ni_assign_device_routes()
232 unittest(devroutes->routes->src[0] == NI_AI_StartTrigger, in test_ni_assign_device_routes()
234 unittest(devroutes->routes[10].dest == TRIGGER_LINE(0), in test_ni_assign_device_routes()
[all …]
/linux/sound/soc/codecs/
H A Daudio-iio-aux.c125 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[ in audio_iio_aux_add_dapms()
[all...]
H A Darizona.c1915 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk()
1937 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk()
1938 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk()
1939 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk()
1941 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1942 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1943 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
1945 routes[ in arizona_dai_set_sysclk()
1917 struct snd_soc_dapm_route routes[2]; arizona_dai_set_sysclk() local
[all...]
/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c1015 memcpy((struct v4l2_subdev_route *)(uintptr_t)routing->routes, in subdev_do_ioctl()
1016 krouting->routes, in subdev_do_ioctl()
1018 sizeof(*krouting->routes)); in subdev_do_ioctl()
1026 struct v4l2_subdev_route *routes = in subdev_do_ioctl() local
1027 (struct v4l2_subdev_route *)(uintptr_t)routing->routes; in subdev_do_ioctl()
1047 const struct v4l2_subdev_route *route = &routes[i]; in subdev_do_ioctl()
1087 memcpy((struct v4l2_subdev_route *)(uintptr_t)routing->routes, in subdev_do_ioctl()
1088 state->routing.routes, in subdev_do_ioctl()
1090 sizeof(*state->routing.routes)); in subdev_do_ioctl()
1098 krouting.routes = routes; in subdev_do_ioctl()
[all …]
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c293 if (rcdu->info->routes[i].possible_outputs && in rzg2l_du_encoders_init()
294 rcdu->info->routes[i].port == ep.port) { in rzg2l_du_encoders_init()
468 &rcdu->info->routes[renc->output]; in rzg2l_du_modeset_init()
H A Drzg2l_du_drv.h50 struct rzg2l_du_output_routing routes[RZG2L_DU_OUTPUT_MAX]; member
/linux/include/net/netns/
H A Dmctp.h18 struct list_head routes; member
/linux/drivers/comedi/drivers/ni_routing/
H A DREADME4 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
/linux/Documentation/devicetree/bindings/sound/
H A Drt274.txt16 Pins on the device (for linking into audio routes) for RT274:
H A Dtda7419.txt15 Pins on the device (for linking into audio routes):
H A Drt1011.txt31 Pins on the device (for linking into audio routes) for RT1011:
H A Drt5660.txt29 Pins on the device (for linking into audio routes) for RT5660:
H A Drt5668.txt30 Pins on the device (for linking into audio routes) for RT5668B:
/linux/net/mctp/
H A Droute.c944 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_route_lookup_single()
1001 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_route_lookup_null()
1226 list_for_each_entry(ert, &net->mctp.routes, list) { in mctp_route_add()
1232 list_add_rcu(&rt->list, &net->mctp.routes); in mctp_route_add()
1253 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove()
1304 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove_dev()
1707 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_dump_rtinfo()
1728 INIT_LIST_HEAD(&ns->routes); in mctp_routes_net_init()
1742 list_for_each_entry_rcu(rt, &net->mctp.routes, list) in mctp_routes_net_exit()
/linux/include/sound/
H A Dsdca_asoc.h32 struct snd_soc_dapm_route *routes);
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_ddp_comp.c521 const struct mtk_drm_route *routes, in mtk_ddp_comp_find_in_route() argument
527 if (!routes) in mtk_ddp_comp_find_in_route()
531 if (dev == ddp_comp[routes[i].route_ddp].dev) in mtk_ddp_comp_find_in_route()
532 return BIT(routes[i].crtc_id); in mtk_ddp_comp_find_in_route()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_drv.h83 struct rcar_du_output_routing routes[RCAR_DU_OUTPUT_MAX]; member
/linux/net/mpls/
H A DKconfig10 MultiProtocol Label Switching routes packets through logical
/linux/Documentation/networking/
H A Dbatman-adv.rst10 Layer 2 only and uses and routes (or better: bridges) Ethernet Frames. It
130 $ batctl -m bat0 loglevel routes tt
132 will enable debug messages for when routes and translation table entries change.

1234