/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); 117 * have no information as to the router device to use, but we can handle 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() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 520 u16 id; /* virtual router ID */ 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 = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init() 723 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init() 726 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 | 61 struct mutex lock; /* Protects shared router resources */ 143 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, 151 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument 152 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \ 153 nh = mlxsw_sp_nexthop_next(router, nh))
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 61 /* TODO: move to router.h as macros */ 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() [all …]
|
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 …]
|
/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/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_ipip_mtu.sh | 11 # |Router A|-------|Wanrouter|-------|Router B| 21 # Router A and Router B use IPIP tunnel interfaces to tunnel traffic 70 # Detailed setup for Router A 78 # 10.4.4.1 via 10.2.2.254 (Router B via Wanrouter) 100 # Detailed setup for Router B 108 # 10.2.2.1 via 10.4.4.254 (Router A via Wanrouter) 169 # Router A has learned PMTU (1400) to Router B from Wanrouter. 171 # from Router A. 181 # UDP packet is sent as two fragments (1380 + 20). Router A forwards the 185 #When sending the large UDP packet again, Router A now reassembles the [all …]
|
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/net/qrtr/ |
H A D | Kconfig | 2 # Qualcomm IPC Router configuration 6 tristate "Qualcomm IPC Router support" 8 Say Y if you intend to use Qualcomm IPC router protocol. The 18 tristate "SMD IPC Router channels" 22 most common transport for IPC Router. 25 tristate "TUN device for Qualcomm IPC Router" 32 tristate "MHI IPC Router channels"
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | dma-router.yaml | 4 $id: http://devicetree.org/schemas/dma/dma-router.yaml# 7 title: DMA Router Common Properties 23 pattern: "^dma-router(@.*)?$" 30 Array of phandles to the DMA controllers the router can direct 35 Number of incoming request lines the router can handle.
|
H A D | nxp,lpc3220-dmamux.yaml | 7 title: DMA multiplexer for LPC32XX SoC (DMA request router) 14 - $ref: dma-router.yaml# 42 dma-router@7c {
|
/linux/Documentation/devicetree/bindings/arm/freescale/ |
H A D | fsl,vf610-mscm-ir.txt | 1 Freescale Vybrid Miscellaneous System Control - Interrupt Router 4 block of registers which control the interrupt router. The interrupt router 12 - reg: the register range of the MSCM Interrupt Router 18 assignment of the interrupt router is required.
|
/linux/drivers/thunderbolt/ |
H A D | clx.c | 178 * tb_switch_clx_is_supported() - Is CLx supported on this type of router 179 * @sw: The router to check CLx support for 200 * tb_switch_clx_init() - Initialize router CL states 201 * @sw: Router 203 * Can be called for any router. Initializes the current CL state by 307 * tb_switch_clx_enable() - Enable CLx on upstream port of specified router 308 * @sw: Router to enable CLx for 387 * tb_switch_clx_disable() - Disable CLx on upstream port of specified router 388 * @sw: Router to disable CLx for 390 * Disables all CL states of the given router. Can be called on any [all …]
|
H A D | tmu.c | 541 * Router may already been disconnected so ignore errors on the in disable_enhanced() 573 * initiated by upstream router. In case of bi-directional in tb_switch_tmu_disable() 574 * time sync, TMU handshake is initiated by downstream router. in tb_switch_tmu_disable() 575 * We change downstream router's rate to off for both uni/bidir in tb_switch_tmu_disable() 577 * We avoid changing upstream router's mode since it might in tb_switch_tmu_disable() 578 * have another downstream router plugged, that is set to in tb_switch_tmu_disable() 775 /* Router specific parameters first */ in tb_switch_tmu_enable_enhanced() 869 /* Program the upstream router downstream facing lane adapter */ in tb_switch_tmu_change_mode() 899 /* Program the new mode and the downstream router lane adapter */ in tb_switch_tmu_change_mode() 935 * tb_switch_tmu_enable() - Enable TMU on a router [all …]
|
/linux/net/batman-adv/ |
H A D | routing.c | 45 * _batadv_update_route() - set the router for this originator 49 * @neigh_node: neighbor which should be the next router 66 /* curr_router used earlier may not be the current orig_ifinfo->router in _batadv_update_route() 78 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route() 108 * batadv_update_route() - set the router for this originator 112 * @neigh_node: neighbor which should be the next router 119 struct batadv_neigh_node *router = NULL; in batadv_update_route() local 124 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route() 126 if (router != neigh_node) in batadv_update_route() 130 batadv_neigh_node_put(router); in batadv_update_route() [all …]
|
H A D | bat_v.c | 526 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 530 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 531 if (!router) in batadv_v_gw_throughput_get() 534 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 548 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 661 struct batadv_neigh_node *router; in batadv_v_gw_dump_entry() local 666 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 667 if (!router) in batadv_v_gw_dump_entry() 670 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 707 if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { in batadv_v_gw_dump_entry() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | ti,sci-intr.yaml | 7 title: Texas Instruments K3 Interrupt Router 16 The Interrupt Router (INTR) module provides a mechanism to mux M 18 to be driven per N output. An Interrupt Router can either handle edge 21 Interrupt Router 40 controller will keep track of the used and unused registers within the Router. 69 The 1st cell should contain interrupt router input hw number.
|
/linux/net/ipv6/ |
H A D | Kconfig | 26 bool "IPv6: Router Preference (RFC 4191) support" 28 Router Preference is an optional extension to the Router 30 to pick an appropriate router, especially when the hosts 225 This driver is useful if the other endpoint is a Cisco router: Cisco 274 Normally, a multicast router runs a userspace daemon and decides 276 destination addresses. If you say Y here, the multicast router
|
/linux/tools/testing/selftests/net/ |
H A D | traceroute.sh | 186 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 237 cleanup_ns $h1 $h2 $router 246 setup_ns h1 h2 router 249 create_ns $router 252 $router eth1 1.0.3.1/24 - 255 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1 256 ip netns exec $router sysctl -qw \ 260 $router eth2 1.0.2.1/24 -
|
H A D | srv6_end_flavors_test.sh | 110 # Each SRv6 router is configured with a Local SID table in which SIDs are 111 # stored. Considering the given SRv6 router rt-x, at least two SIDs are 114 # Local SID table for SRv6 router rt-x 128 # An SRv6 ingress router applies different SRv6 Policies to the traffic received 152 # Router rt-1 is configured to enforce the Policy (i.a) through the SRv6 157 # As the packet reaches the router rt-3, the SRv6 End behavior bound to SID 160 # next router on the path, i.e. rt-4. 162 # When router rt-4 receives the packet, the PSP enabled SRv6 End behavior bound 166 # fcff:2::ef1 and the packet is forwarded to router rt-2. 184 # Router rt-2 is configured to enforce the Policy (i.b) through the SRv6 [all …]
|
H A D | srv6_end_x_next_csid_l3vpn_test.sh | 78 # Each SRv6 router is configured with a Local SID/C-SID table in which 79 # SIDs/C-SIDs are stored. Considering an SRv6 router rt-x, SIDs/C-SIDs are 82 # Local SID/C-SID table for SRv6 router rt-x 105 # An SRv6 ingress router applies different SRv6 Policies to the traffic received 146 # The router rt-1 is configured to enforce the given Policy through the SRv6 151 # As the packet reaches the router rt-3, the enabled NEXT-C-SID SRv6 End.X 180 # The node rt-4 performs a plain IPv6 forward to the rt-2 router according to 183 # The router rt-2 is configured for decapsulating the inner IPv6 packet and, 192 # The router rt-1 is configured to enforce the given Policy through the SRv6 198 # As the packet reaches the node rt-3, the router applies the enabled NEXT-C-SID [all …]
|
H A D | ndisc_unsolicited_na_test.sh | 20 ROUTER_INTF="veth-router" 69 # On end of the tunnel is a router and the other end is a host. 79 # Enable IPv6 on both router and host, and configure static addresses. 80 # The router here is the DUT 81 # Setup router configuration as specified by the arguments. 82 # forwarding=0 case is to check that a non-router
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_i2c.c | 58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe() 1095 /* ddc router switching */ 1100 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port() 1107 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1109 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port() 1111 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1114 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1116 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port() 1117 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port() 1119 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() [all …]
|
/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";
|