| /linux/arch/x86/pci/ |
| H A D | irq.c | 53 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); 54 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, 56 int (*lvl)(struct pci_dev *router, struct pci_dev *dev, int pirq, 62 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); 349 static int pirq_finali_get(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_get() argument 368 static int pirq_finali_set(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_set() argument 390 static int pirq_finali_lvl(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_lvl() argument 412 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() argument 417 pci_read_config_byte(router, reg, &x); in read_config_nybble() 421 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble() argument [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 458 rhashtable_lookup_fast(&sw->router->kern_neigh_cache_ht, key, in prestera_kern_neigh_cache_find() 474 rhashtable_remove_fast(&sw->router->kern_neigh_cache_ht, in __prestera_kern_neigh_cache_destroy() 496 err = rhashtable_insert_fast(&sw->router->kern_neigh_cache_ht, in __prestera_kern_neigh_cache_create() 544 rhashtable_lookup_fast(&sw->router->kern_fib_cache_ht, key, in prestera_kern_fib_cache_find() 571 rhashtable_remove_fast(&sw->router->kern_fib_cache_ht, in prestera_kern_fib_cache_destroy() 634 err = rhashtable_insert_fast(&sw->router->kern_fib_cache_ht, in prestera_kern_fib_cache_create() 1081 rhashtable_walk_enter(&sw->router->kern_neigh_cache_ht, &iter); in prestera_k_arb_hw_evt() 1131 rhashtable_walk_enter(&sw->router->kern_neigh_cache_ht, &iter); in __prestera_k_arb_fib_evt2nc() 1259 rhashtable_free_and_destroy(&sw->router->kern_fib_cache_ht, in prestera_k_arb_abort() 1262 rhashtable_free_and_destroy(&sw->router->kern_neigh_cache_ht, in prestera_k_arb_abort() [all …]
|
| H A D | prestera_router_hw.c | 71 err = rhashtable_init(&sw->router->nh_neigh_ht, in prestera_router_hw_init() 76 err = rhashtable_init(&sw->router->nexthop_group_ht, in prestera_router_hw_init() 81 err = rhashtable_init(&sw->router->fib_ht, in prestera_router_hw_init() 86 INIT_LIST_HEAD(&sw->router->vr_list); in prestera_router_hw_init() 87 INIT_LIST_HEAD(&sw->router->rif_entry_list); in prestera_router_hw_init() 92 rhashtable_destroy(&sw->router->nexthop_group_ht); in prestera_router_hw_init() 94 rhashtable_destroy(&sw->router->nh_neigh_ht); in prestera_router_hw_init() 101 rhashtable_free_and_destroy(&sw->router->fib_ht, in prestera_router_hw_fini() 103 WARN_ON(!list_empty(&sw->router->vr_list)); in prestera_router_hw_fini() 104 WARN_ON(!list_empty(&sw->router->rif_entry_list)); in prestera_router_hw_fini() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 540 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create() 580 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_find_unused() 581 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused() 680 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_get() 681 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get() 719 mlxsw_sp->router->lpm.tree_count = max_trees - MLXSW_SP_LPM_TREE_MIN; in mlxsw_sp_lpm_init() 720 mlxsw_sp->router->lpm.trees = kzalloc_objs(struct mlxsw_sp_lpm_tree, in mlxsw_sp_lpm_init() 721 mlxsw_sp->router->lpm.tree_count); in mlxsw_sp_lpm_init() 722 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init() 725 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_init() [all …]
|
| H A D | spectrum_dpipe.c | 214 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump() 245 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump() 252 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump() 262 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_counters_update() 275 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_counters_update() 550 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get() 606 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get() 611 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get() 666 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update() 688 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update() [all …]
|
| H A D | spectrum_router.h | 142 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, 150 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument 151 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \ 152 nh = mlxsw_sp_nexthop_next(router, nh))
|
| /linux/arch/mips/sgi-ip27/ |
| H A D | ip27-memory.c | 60 klrou_t *router; in router_recurse() local 81 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse() 82 if (router == router_b) { in router_recurse() 87 router_recurse(router, router_b, depth + 1); in router_recurse() 99 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local 116 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance() 117 router->rou_rflag = 0; in compute_node_distance() 120 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance() 124 router->rou_port[port].port_nasid, in compute_node_distance() 125 router->rou_port[port].port_offset); in compute_node_distance() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_i2c.c | 329 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port() 336 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 339 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 341 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 344 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 347 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 348 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port() 350 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 360 if (!amdgpu_connector->router.cd_valid) in amdgpu_i2c_router_select_cd_port() 367 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port() [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | vxlan_mtu_frag.sh | 18 setup_ns host vtep router 23 ip link add vtep-router netns "$vtep" type veth peer name router-vtep netns "$router" 55 ip -n "$vtep" address add dev vtep-router 60.0.0.1/24 70 ip -n "$vtep" link set vtep-router up 78 ip -n "$router" link set router-vtep up
|
| /linux/tools/testing/selftests/net/ |
| H A D | traceroute.sh | 487 cleanup_ns $h1 $h2 $router 496 setup_ns h1 h2 router 499 create_ns $router 502 $router eth1 1.0.3.1/24 - 506 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1 507 ip netns exec $router sysctl -qw \ 511 $router eth2 1.0.2.1/24 - 562 setup_ns h1 h2 router 565 create_ns "$router" 567 ip -n "$router" link add name vrf100 up type vrf table 100 [all …]
|
| H A D | l2tp.sh | 134 cleanup_ns $host_1 $host_2 $router 201 setup_ns host_1 host_2 router 204 create_ns $router 207 $router eth1 10.1.1.2/24 2001:db8:1::2/64 210 $router eth2 10.1.2.2/24 2001:db8:2::2/64
|
| /linux/net/batman-adv/ |
| H A D | routing.c | 77 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route() 118 struct batadv_neigh_node *router = NULL; in batadv_update_route() local 123 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route() 125 if (router != neigh_node) in batadv_update_route() 129 batadv_neigh_node_put(router); in batadv_update_route() 528 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local 538 router = batadv_orig_router_get(orig_node, recv_if); in batadv_find_router() 540 if (!router) in batadv_find_router() 541 return router; in batadv_find_router() 547 return router; in batadv_find_router() [all …]
|
| H A D | bat_v.c | 524 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 528 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 529 if (!router) in batadv_v_gw_throughput_get() 532 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 546 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 659 struct batadv_neigh_node *router; in batadv_v_gw_dump_entry() local 664 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 665 if (!router) in batadv_v_gw_dump_entry() 668 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 705 if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { in batadv_v_gw_dump_entry() [all …]
|
| H A D | bat_iv_ogm.c | 935 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_orig_update() local 1019 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_orig_update() 1020 if (router == neigh_node) in batadv_iv_ogm_orig_update() 1023 if (router) { in batadv_iv_ogm_orig_update() 1024 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update() 1040 sum_orig = batadv_iv_orig_ifinfo_sum(router->orig_node, in batadv_iv_ogm_orig_update() 1041 router->if_incoming); in batadv_iv_ogm_orig_update() 1055 batadv_neigh_node_put(router); in batadv_iv_ogm_orig_update() 1322 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_process_per_outif() local 1373 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_process_per_outif() [all …]
|
| H A D | bat_v_ogm.c | 523 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_forward() local 539 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_forward() 542 if (neigh_node != router) in batadv_v_ogm_forward() 585 batadv_neigh_node_put(router); in batadv_v_ogm_forward() 692 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_route_update() local 712 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_route_update() 713 if (router && router->orig_node != orig_node && !orig_neigh_router) { in batadv_v_ogm_route_update() 730 if (router == neigh_node) in batadv_v_ogm_route_update() 737 if (router) { in batadv_v_ogm_route_update() 738 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update() [all …]
|
| H A D | originator.c | 319 struct batadv_neigh_node *router = NULL; in batadv_orig_router_get() local 326 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get() 330 if (router && !kref_get_unless_zero(&router->refcount)) in batadv_orig_router_get() 331 router = NULL; in batadv_orig_router_get() 334 return router; in batadv_orig_router_get() 814 struct batadv_neigh_node *router; in batadv_orig_ifinfo_release() local 822 router = rcu_dereference_protected(orig_ifinfo->router, true); in batadv_orig_ifinfo_release() 823 batadv_neigh_node_put(router); in batadv_orig_ifinfo_release()
|
| H A D | gateway_client.c | 201 struct batadv_neigh_node *router = NULL; in batadv_gw_election() local 228 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election() 230 if (!router) { in batadv_gw_election() 235 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election() 277 batadv_neigh_node_put(router); in batadv_gw_election()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_i2c.c | 58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe() 1089 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port() 1096 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1098 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port() 1100 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1103 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1105 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port() 1106 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port() 1108 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1117 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | ip6_forward_instats_vrf.sh | 33 vrf_create router 34 __simple_if_init $rtr1 router 2001:1:1::1/64 35 __simple_if_init $rtr2 router 2001:1:2::1/64 44 vrf_destroy router
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm4709-buffalo-wxr-1900dhp.dts | 47 led-router-amber { 48 label = "bcm53xx:amber:router"; 52 led-router-white { 53 label = "bcm53xx:white:router";
|
| H A D | bcm4708-buffalo-wxr-1750dhp.dts | 48 button-router { 86 function = "router"; 92 function = "router";
|
| /linux/include/uapi/linux/ |
| H A D | icmpv6.h | 30 router:1, member 33 __u32 router:1, 72 #define icmp6_router icmp6_dataun.u_nd_advt.router
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-i2c-devices-turris-omnia-mcu | 29 Description: (RW) The front button on the Turris Omnia router can be 46 Turris Omnia router support powering off the router into true 47 low power mode. The router can be powered on by pressing the
|
| H A D | sysfs-class-led-driver-turris-omnia | 5 Description: (RW) On the front panel of the Turris Omnia router there is also 21 Turris Omnia router support gamma correction for the RGB LEDs.
|
| /linux/Documentation/networking/ |
| H A D | ila.rst | 64 - ILA router 69 A type of ILA router that only maintains a working set 74 can be an ILA router, ILA forwarding cache, or ILA host. 102 addressed +->|router| . . |router|->-+ addressed 241 An ILA router has also been implemented in XDP. Description of that is 249 ILA router) or an ILA address (egress ILA router). LOC is the sixty-four
|