| /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/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/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/drivers/thunderbolt/ |
| H A D | usb4.c | 119 * If the connection manager implementation provides USB4 router in __usb4_switch_op() 134 * router operation instead. in __usb4_switch_op() 159 * @sw: Router whose wakes to check 229 * @sw: USB4 router to setup 238 * This does not set the configuration valid bit of the router. To do 279 * Only enable PCIe tunneling if the parent router supports it in usb4_switch_setup() 302 * @sw: USB4 router 304 * Sets configuration valid bit for the router. Must be called before 305 * any tunnels can be set through the router and after 334 * usb4_switch_read_uid() - Read UID from USB4 router [all …]
|
| H A D | tb.h | 47 * @vops: Router vendor specific NVM operations (optional) 97 * struct tb_switch_tmu - Structure holding router TMU configuration 100 * @mode: TMU mode related to the upstream router. Reflects the HW 101 * setting. Don't care for host router. 102 * @mode_request: TMU mode requested to set. Related to upstream router. 103 * Don't care for host router. 131 * @preferred_link_width: Router preferred link width (only set for Gen 4 links) 158 * @max_usb3_credits: Router preferred number of buffers for USB 3.x 159 * @min_dp_aux_credits: Router preferred minimum number of buffers for DP AUX 160 * @min_dp_main_credits: Router preferred minimum number of buffers for DP MAIN [all …]
|
| H A D | tmu.c | 545 * Router may already been disconnected so ignore errors on the in disable_enhanced() 579 * initiated by upstream router. In case of bi-directional in tb_switch_tmu_disable() 580 * time sync, TMU handshake is initiated by downstream router. in tb_switch_tmu_disable() 581 * We change downstream router's rate to off for both uni/bidir in tb_switch_tmu_disable() 583 * We avoid changing upstream router's mode since it might in tb_switch_tmu_disable() 584 * have another downstream router plugged, that is set to in tb_switch_tmu_disable() 781 /* Router specific parameters first */ in tb_switch_tmu_enable_enhanced() 875 /* Program the upstream router downstream facing lane adapter */ in tb_switch_tmu_change_mode() 905 /* Program the new mode and the downstream router lane adapter */ in tb_switch_tmu_change_mode() 941 * tb_switch_tmu_enable() - Enable TMU on a router [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-ti-sci-intr.c | 3 * Texas Instruments' K3 Interrupt Router irqchip driver 22 * Interrupt Router IRQ domain. 27 * @type: Specifies the trigger type supported by this Interrupt Router 75 * @intr: IRQ domain corresponding to Interrupt Router 128 * @domain: Pointer to the interrupt router IRQ domain 161 /* Parent is Interrupt Router */ in ti_sci_intr_alloc_parent_irq() 186 * ti_sci_intr_irq_domain_alloc() - Allocate Interrupt router IRQs 187 * @domain: Point to the interrupt router IRQ domain 284 dev_info(dev, "Interrupt Router %d domain created\n", intr->ti_sci_id); in ti_sci_intr_irq_domain_probe() 305 MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
|
| /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/drivers/net/ethernet/mellanox/mlxsw/ |
| 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 */ 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/tools/testing/selftests/net/ |
| H A D | traceroute.sh | 195 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 297 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 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 sysct [all...] |
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 75 # In addition, every router interface connecting rt-x to rt-y is assigned an 81 # Each SRv6 router is configured with a Local SID/C-SID table in which 82 # SIDs/C-SIDs are stored. Considering an SRv6 router rt-x, SIDs/C-SIDs are 85 # Local SID/C-SID table for SRv6 router rt-x 108 # An SRv6 ingress router applies different SRv6 Policies to the traffic received 149 # The router rt-1 is configured to enforce the given Policy through the SRv6 154 # As the packet reaches the router rt-3, the enabled NEXT-C-SID SRv6 End.X 183 # The node rt-4 performs a plain IPv6 forward to the rt-2 router according to 186 # The router rt-2 is configured for decapsulating the inner IPv6 packet and, 195 # The router rt-1 is configured to enforce the given Policy through the SRv6 [all …]
|
| 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 r [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
|
| H A D | srv6_end_dt4_l3vpn_test.sh | 31 # the router rt-1 which acts as an arp proxy. 34 # router rt-1 receives the packet on the internal veth-t100 interface. Such 38 # network up to the router rt-2 that receives it on veth0 interface. 40 # The rt-2 router uses the 'localsid' routing table to process incoming 259 # configure the VRF for the tenant X on the router which is directly 264 # enslave the veth-tX interface to the vrf-X in the access router 287 # host hssrc and destined to the access router rtsrc. 294 # the rtdst router and destined to the hsdst host. 314 # setup the networking for router rt-1 and router r [all...] |
| H A D | srv6_end_dt6_l3vpn_test.sh | 32 # the router rt-1 which acts as a ndp proxy. 35 # router rt-1 receives the packet on the internal veth-t100 interface. Such 39 # network up to the router rt-2 that receives it on veth0 interface. 41 # The rt-2 router uses the 'localsid' routing table to process incoming 263 # configure the VRF for the tenant X on the router which is directly 271 # enslave the veth-tX interface to the vrf-X in the access router 297 # host hssrc and destined to the access router rtsrc. 304 # the rtdst router and destined to the hsdst host. 324 # setup the networking for router rt-1 and router rt-2 330 # - host hs-1 is directly connected to the router rt-1; [all …]
|
| /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";
|
| /linux/net/batman-adv/ |
| 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 …]
|
| /linux/drivers/dma/ |
| H A D | of-dma.c | 47 * of_dma_router_xlate - translation function for router devices 49 * @ofdma: pointer to DMA controller data (router information) 51 * The function creates new dma_spec to be passed to the router driver's 84 chan->router = ofdma->dma_router; in of_dma_router_xlate() 171 * of_dma_router_register - Register a DMA router to DT DMA helpers as a 173 * @np: device node of DMA router 174 * @of_dma_route_allocate: setup function for the router which need to
|