Home
last modified time | relevance | path

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

12345678910>>...12

/linux/net/phonet/
H A Dpn_dev.c31 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()
395 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local
400 spin_lock(&routes->lock); in phonet_route_add()
401 if (routes->table[daddr] == NULL) { in phonet_route_add()
[all …]
/linux/drivers/comedi/drivers/
H A Dni_routes.c68 * 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 …]
H A Dni_routes.h48 * @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/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()
154 /* write valid device routes */ in main()
H A Dconvert_csv_to_c.py92 '{I0}.routes = (struct ni_route_set[]){{'
127 * List of valid routes for specific NI boards.
158 * List of valid routes for specific NI boards.
195 * List of valid routes for specific NI boards.
318 * signals routes available on NI hardware. In many cases, one does not
319 * explicitly make these routes, rather one might indicate that something is
337 * List of valid routes for specific NI boards.
391 * This file includes a list of all the values of various signals routes
393 * these routes, rather one might indicate that something is used as the source
/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c4 * 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/sound/soc/codecs/
H A Daudio-iio-aux.c124 static struct snd_soc_dapm_route routes[2]; variable
126 /* Be sure sizes are correct (need 3 widgets and 2 routes) */
128 static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed");
156 routes[0].sink = pga_name; in audio_iio_aux_add_dapms()
157 routes[0].control = NULL; in audio_iio_aux_add_dapms()
158 routes[0].source = input_name; in audio_iio_aux_add_dapms()
159 routes[1].sink = output_name; in audio_iio_aux_add_dapms()
160 routes[1].control = NULL; in audio_iio_aux_add_dapms()
161 routes[1].source = pga_name; in audio_iio_aux_add_dapms()
163 return snd_soc_dapm_add_routes(dapm, routes, 2); in audio_iio_aux_add_dapms()
/linux/sound/soc/sunxi/
H A Dsun8i-codec-analog.c285 /* 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...]
H A Dsun50i-codec-analog.c417 /* Left Mixer Routes */
424 /* Right Mixer Routes */
431 /* Left ADC Mixer Routes */
438 /* Right ADC Mixer Routes */
445 /* ADC Routes */
449 /* Headphone Routes */
466 /* Microphone Routes */
469 /* Microphone Routes */
472 /* Line-out Routes */
484 /* Earpiece Routes */
H A Dsun4i-codec.c912 /* Left ADC / DAC Routes */
916 /* Right ADC / DAC Routes */
920 /* Right Mixer Routes */
929 /* Left Mixer Routes */
937 /* Power Amplifier Routes */
943 /* Headphone Output Routes */
948 /* Mic1 Routes */
954 /* Mic2 Routes */
1219 /* DAC Routes */
1223 /* Microphone Routes */
[all …]
/linux/sound/pci/au88x0/
H A 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/tools/testing/selftests/net/
H A Drtnetlink.py253 Routes withdrawn by a zero-lifetime RA (router lifetime, RFC 4861
258 routes = {(0, None), (64, '2001:db8:6::'), (64, '2001:db8:5::')}
279 seen = _ra_advertise_routes(rtnl, sock, ifindex, routes,
283 ksft_eq(set(seen), routes, "not all RA routes were installed")
284 if set(seen) != routes:
289 seen = _collect_route_ntfs(rtnl, 'delroute-ntf', routes)
290 for key in routes:
H A Dfib_tests.sh306 # Local routes should not be affected when carrier changes.
749 # Create a new dummy_10 to remove all associated routes.
765 echo "FAIL: Expected $expected routes, got $num"
778 log_test 1 0 "expected $expected routes, got $num"
797 # Check expiration of routes every $EXPIRE seconds (GC)
806 # Temporary routes
819 # Permanent routes
824 # Temporary routes
833 log_test $ret 0 "ipv6 route garbage collection (with permanent routes)"
837 # Permanent routes
[all...]
/linux/include/uapi/linux/
H A Dv4l2-subdev.h231 * @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/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
637 /* Update all routes where this VIF is used as an unresolved iRIF */ in mlxsw_sp_mr_vif_resolve()
644 /* Update all routes where this VIF is used as an unresolved eRIF */ in mlxsw_sp_mr_vif_resolve()
670 /* Update all routes where this VIF is used as an unresolved eRIF */ in mlxsw_sp_mr_vif_unresolve()
674 /* Update all routes where this VIF is used as an unresolved iRIF */ in mlxsw_sp_mr_vif_unresolve()
764 /* Update all the routes that uses that VIF as eVIF */ in mlxsw_sp_mr_rif_mtu_update()
[all …]
/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
125 visual comparison to the NI-MAX "Valid Routes" tables.
H A Dni_route_values.h28 * 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.
H A Dni_route_values.c22 * signals routes available on NI hardware. In many cases, one does not
23 * explicitly make these routes, rather one might indicate that something is
/linux/tools/testing/selftests/net/forwarding/
H A 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/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib.sh114 # Test that local routes can replace routes in main table.
211 # Test that local routes can replace routes in main table.
H A Dfib_offload.sh101 # Delete the routes and add the same route with a different nexthop
239 # Check that after unsharing a nexthop group the routes are still
271 # Prepare 40K /64 multipath routes with 16 nexthops each and check how
303 log_info "inserted $num_rts routes in $diff seconds"
305 log_test "IPv6 routes insertion rate"
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dfsl,cpm1-tsa.yaml116 '^fsl,[rt]x-ts-routes$':
119 A list of tuple that indicates the Tx or Rx time-slots routes.
195 fsl,tx-ts-routes = <2 0>, /* TS 0..1 */
200 fsl,rx-ts-routes = <2 0>, /* TS 0..1 */
H A Dfsl,qe-tsa.yaml121 '^fsl,[rt]x-ts-routes$':
124 A list of tuple that indicates the Tx or Rx time-slots routes.
200 fsl,tx-ts-routes = <2 0>, /* TS 0..1 */
205 fsl,rx-ts-routes = <2 0>, /* TS 0..1 */
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_ip_encap.c55 * By default, routes are configured to allow packets to go
64 * 1. Routes NS2->IP*_ADDR_DST are brought down, so the only way a ping
298 if (!ASSERT_OK(configure_ns1(ns1, vrf), "configure ns1 routes")) in setup_network()
301 if (!ASSERT_OK(configure_ns2(ns2, vrf), "configure ns2 routes")) in setup_network()
304 if (!ASSERT_OK(configure_ns3(ns3), "configure ns3 routes")) in setup_network()
464 /* Remove NS2->DST routes, ping fails */ in lwt_ip_encap()
470 /* Install replacement routes (LWT/eBPF), pings succeed */ in lwt_ip_encap()
494 /* Negative test: remove routes to GRE devices: ping fails */ in lwt_ip_encap()
495 if (!ASSERT_OK(remove_routes_to_gredev(ns1, ns2, vrf), "remove routes to gredev")) in lwt_ip_encap()
502 "add unreachable routes")) in lwt_ip_encap()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_lwt_ip_encap.sh

12345678910>>...12