Home
last modified time | relevance | path

Searched full:routes (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/linux-5.10/net/netrom/
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[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-5.10/net/phonet/
Dpn_dev.c31 struct phonet_routes routes; member
259 /* Remove left-over Phonet routes */ in phonet_route_autodel()
261 mutex_lock(&pnn->routes.lock); in phonet_route_autodel()
263 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel()
264 RCU_INIT_POINTER(pnn->routes.table[i], NULL); in phonet_route_autodel()
267 mutex_unlock(&pnn->routes.lock); in phonet_route_autodel()
314 mutex_init(&pnn->routes.lock); in phonet_init_net()
360 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local
364 mutex_lock(&routes->lock); in phonet_route_add()
365 if (routes->table[daddr] == NULL) { in phonet_route_add()
[all …]
/linux-5.10/drivers/staging/comedi/drivers/
Dni_routes.c71 * Find the valid routes for a board.
91 * device. Possibly try an alternate board name if device routes not found
107 /* Second, find the set of routes valid for this device. */ in ni_find_device_routes()
125 * @board_name: Board name (determines set of routes).
129 * Finds the route values for the device family and the set of valid routes
130 * for the board. If valid routes could not be found for the actual board
134 * (for example, with the route values but not the set of valid routes).
150 * ni_count_valid_routes() - Count the number of valid routes.
151 * @tables: Routing tables for which to count all valid routes.
159 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
[all …]
Dni_routes.h49 * @routes: List of route sets that are valid for this device.
54 struct ni_route_set *routes; member
58 * struct ni_route_tables - Register values and valid routes for a device.
60 * @route_values: Pointer to register values for all routes for the family to
63 * Link to the valid src->dest routes and the register values used to assign
64 * such routes for that particular device.
86 * @valid_routes: Pointer to device routes within which to search.
101 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src);
111 * Generally speaking, most routes require the first six bits and a few require
193 * ni_count_valid_routes() - Count the number of valid routes.
[all …]
/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/
Dconvert_c_to_py.c109 while (dR->routes[i].dest != 0) { in device_write()
110 if (!is_valid_ni_sig(dR->routes[i].dest)) { in device_write()
113 dR->routes[i].dest, dR->device, i); in device_write()
117 fprintf(fp, " %u : [", dR->routes[i].dest); in device_write()
121 while (dR->routes[i].src[j] != 0) { in device_write()
122 if (!is_valid_ni_sig(dR->routes[i].src[j])) { in device_write()
125 dR->routes[i].src[j], dR->device, i, j); in device_write()
129 fprintf(fp, "%u,", dR->routes[i].src[j]); in device_write()
150 /* write valid device routes */ in main()
Dconvert_csv_to_c.py93 '{I0}.routes = (struct ni_route_set[]){{'
129 * List of valid routes for specific NI boards.
161 * List of valid routes for specific NI boards.
199 * List of valid routes for specific NI boards.
323 * signals routes available on NI hardware. In many cases, one does not
324 * explicitly make these routes, rather one might indicate that something is
343 * List of valid routes for specific NI boards.
398 * This file includes a list of all the values of various signals routes
400 * these routes, rather one might indicate that something is used as the source
/linux-5.10/drivers/staging/comedi/drivers/tests/
Dni_routes_test.c5 * Unit tests for NI routes (ni_routes.c module).
87 .routes = (struct ni_route_set[]){
97 /* indirect routes done through muxes */
132 /* [7] is intentionaly left absent to test invalid routes */
189 if (last >= devroutes->routes[i].dest) in route_set_dests_in_order()
191 last = devroutes->routes[i].dest; in route_set_dests_in_order()
205 for (j = 0; j < devroutes->routes[i].n_src; ++j) { in route_set_sources_in_order()
206 if (last >= devroutes->routes[i].src[j]) in route_set_sources_in_order()
208 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-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_drv.c42 .routes = {
64 .routes = {
85 .routes = {
112 .routes = {
141 .routes = {
168 .routes = {
196 .routes = {
223 .routes = {
246 .routes = {
275 .routes = {
[all …]
Drcar_du_drv.h55 * @routes: array of CRTC to output routes, indexed by output (RCAR_DU_OUTPUT_*)
65 struct rcar_du_output_routing routes[RCAR_DU_OUTPUT_MAX]; member
/linux-5.10/sound/soc/rockchip/
Drk3399_gru_sound.c397 const struct snd_soc_dapm_route *routes; member
403 .routes = rockchip_sound_cdndp_routes,
407 .routes = rockchip_sound_da7219_routes,
411 .routes = rockchip_sound_dmic_routes,
415 .routes = rockchip_sound_max98357a_routes,
419 .routes = rockchip_sound_rt5514_routes,
482 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local
494 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
496 if (!routes) in rockchip_sound_of_parse_dais()
498 card->dapm_routes = routes; in rockchip_sound_of_parse_dais()
[all …]
/linux-5.10/sound/soc/sunxi/
Dsun8i-codec-analog.c286 /* Microphone Routes */
291 /* Left Mixer Routes */
296 /* Right Mixer Routes */
301 /* Left ADC Mixer Routes */
306 /* Right ADC Mixer Routes */
311 /* ADC Routes */
316 /* headphone specific controls, widgets, and routes */
416 dev_err(dev, "Failed to add Headphone DAPM routes: %d\n", ret); in sun8i_codec_add_headphone()
512 dev_err(dev, "Failed to add Line In DAPM routes: %d\n", ret); in sun8i_codec_add_linein()
520 /* line out specific controls, widgets and routes */
[all …]
Dsun50i-codec-analog.c397 /* Left Mixer Routes */
404 /* Right Mixer Routes */
411 /* Left ADC Mixer Routes */
418 /* Right ADC Mixer Routes */
425 /* ADC Routes */
429 /* Headphone Routes */
446 /* Microphone Routes */
449 /* Microphone Routes */
452 /* Line-out Routes */
464 /* Earpiece Routes */
Dsun8i-codec.c490 /* Clock Routes */
515 /* AIF "ADC" Output Routes */
519 /* AIF "ADC" Mono/Stereo Mux Routes */
534 /* AIF "ADC" Mixer Routes */
541 /* AIF "DAC" Mono/Stereo Mux Routes */
556 /* DAC Output Routes */
560 /* DAC Mixer Routes */
579 /* Legacy ADC Routes */
583 /* Legacy DAC Routes */
Dsun4i-codec.c843 /* Left ADC / DAC Routes */
847 /* Right ADC / DAC Routes */
851 /* Right Mixer Routes */
860 /* Left Mixer Routes */
868 /* Power Amplifier Routes */
874 /* Headphone Output Routes */
879 /* Mic1 Routes */
885 /* Mic2 Routes */
1152 /* DAC Routes */
1156 /* Microphone Routes */
[all …]
/linux-5.10/sound/pci/au88x0/
Dau8830.h85 #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-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr.c32 /* 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()
765 /* Update all the routes that uses that VIF as eVIF */ in mlxsw_sp_mr_rif_mtu_update()
[all …]
/linux-5.10/drivers/staging/comedi/drivers/ni_routing/
Dni_route_values.h29 * signals routes available on NI hardware. In many cases, one does not
30 * explicitly make these routes, rather one might indicate that something is
77 * struct family_route_values - Register values for all routes for a particular
83 * all routes defined.
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
125 visual comparison to the NI-MAX "Valid Routes" tables.
Dni_route_values.c23 * signals routes available on NI hardware. In many cases, one does not
24 * explicitly make these routes, rather one might indicate that something is
/linux-5.10/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh82 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-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dfib.sh114 # Test that local routes can replace routes in main table.
211 # Test that local routes can replace routes in main table.
/linux-5.10/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh17 # by default, routes are configured to allow packets to go
26 # 1. routes NS2->IPv*_DST are brought down, so the only way a ping
179 # configure routes: IP*_SRC -> veth1/IP*_2 (= top route) default;
356 # remove NS2->DST routes, ping fails
362 # install replacement routes (LWT/eBPF), pings succeed
387 # a negative test: remove routes to GRE devices: ping fails
414 # remove NS2->DST routes, pings fail
420 # install replacement routes (LWT/eBPF), pings succeed
438 # a negative test: remove routes to GRE devices: ping fails
/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dti,omap4-wugen-mpu4 routes interrupts to the GIC, and also serves as a wakeup source. It
18 - Because this HW ultimately routes interrupts to the GIC, the
Dnvidia,tegra20-ictlr.txt3 All Tegra SoCs contain a legacy interrupt controller that routes
25 - Because this HW ultimately routes interrupts to the GIC, the
/linux-5.10/Documentation/networking/
Dipddp.rst49 which enables you to add routes to the kernel for your Macs by hand.
54 but it allows automatic adding and deleting of routes for Macs. (Handy
59 You will also need to add the proper routes to route your Linux box's IP

12345678910>>...12