| /linux/net/phonet/ |
| H A D | pn_dev.c | 31 struct phonet_routes routes; member 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() 402 rcu_assign_pointer(routes->table[daddr], dev); in phonet_route_add() [all …]
|
| /linux/drivers/comedi/drivers/ni_routing/tools/ |
| H A 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()
|
| /linux/drivers/comedi/drivers/ |
| H A D | ni_routes.c | 155 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 D | ni_routes.h | 53 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 D | ni_routes_test.c | 86 .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 D | audio-iio-aux.c | 124 static struct snd_soc_dapm_route routes[2]; variable 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()
|
| H A D | wm8776.c | 142 static const struct snd_soc_dapm_route routes[] = { variable 433 .dapm_routes = routes, 434 .num_dapm_routes = ARRAY_SIZE(routes),
|
| H A D | arizona.c | 1911 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk() 1933 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk() 1934 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk() 1935 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk() 1937 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk() 1938 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk() 1939 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk() 1941 routes[ in arizona_dai_set_sysclk() 1917 struct snd_soc_dapm_route routes[2]; arizona_dai_set_sysclk() local [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | rtnetlink.py | 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:
|
| /linux/drivers/media/platform/renesas/rcar-vin/ |
| H A D | rcar-core.c | 641 for (route = vin->info->routes; route->chsel; route++) { in rvin_csi2_link_notify() 744 for (route = group->info->routes; route->chsel; route++) { in rvin_csi2_setup_links() 930 .routes = rcar_info_r8a774e1_routes, 946 .routes = rcar_info_r8a7795_routes, 963 .routes = rcar_info_r8a7796_routes, 980 .routes = rcar_info_r8a77965_routes, 993 .routes = rcar_info_r8a77970_routes, 1007 .routes = rcar_info_r8a77980_routes, 1020 .routes = rcar_info_r8a77990_routes, 1033 .routes = rcar_info_r8a77995_routes,
|
| /linux/drivers/gpu/drm/renesas/rz-du/ |
| H A D | rzg2l_du_kms.c | 293 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()
|
| /linux/include/net/netns/ |
| H A D | mctp.h | 18 struct list_head routes; member
|
| /linux/drivers/comedi/drivers/ni_routing/ |
| H A 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
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | rt274.txt | 16 Pins on the device (for linking into audio routes) for RT274:
|
| H A D | tda7419.txt | 15 Pins on the device (for linking into audio routes):
|
| H A D | rt1011.txt | 31 Pins on the device (for linking into audio routes) for RT1011:
|
| H A D | rt5660.txt | 29 Pins on the device (for linking into audio routes) for RT5660:
|
| H A D | rt5668.txt | 30 Pins on the device (for linking into audio routes) for RT5668B:
|
| H A D | rt5665.txt | 37 Pins on the device (for linking into audio routes) for RT5659/RT5658:
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_ddp_comp.c | 521 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/net/mctp/ |
| H A D | route.c | 7 * number of routes should stay fairly small, so the lookup cost is small. 967 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_route_lookup_single() 1015 /* cannot do gateway-ed routes without a src */ in mctp_route_lookup() 1237 /* Prevent duplicate identical routes. */ in mctp_route_remove() 1238 list_for_each_entry(ert, &net->mctp.routes, list) { in mctp_route_remove() 1244 list_add_rcu(&rt->list, &net->mctp.routes); in mctp_route_remove() 1265 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_add_local() 1316 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_pkttype_receive() 1421 * For gateway routes (which have a RTA_GATEWAY, and no RTA_OIF), we populate in mctp_route_nlparse_common() 1422 * *gatweayp. for direct routes (RTA_OI in mctp_route_nlparse_common() [all...] |
| /linux/Documentation/networking/ |
| H A D | batman-adv.rst | 10 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.
|
| /linux/net/mpls/ |
| H A D | Kconfig | 10 MultiProtocol Label Switching routes packets through logical
|
| /linux/net/mctp/test/ |
| H A D | utils.c | 160 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_direct() 185 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_gw()
|
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-dpipe.rst | 170 table contains routes with the same prefix length. The root of the list is 176 host table for directly connected routes, or adjacency table for next-hops. 197 In the case of local routes the LPM lookup already resolves the egress 215 In case of remote routes this table does the ECMP. The LPM lookup results in
|