| /kernel/linux/linux-5.10/arch/x86/pci/ |
| D | irq.c | 47 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); 48 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, 54 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); 176 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() argument 181 pci_read_config_byte(router, reg, &x); in read_config_nybble() 185 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble() argument 191 pci_read_config_byte(router, reg, &x); in write_config_nybble() 193 pci_write_config_byte(router, reg, x); in write_config_nybble() 201 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get() argument 206 return irqmap[read_config_nybble(router, 0x48, pirq-1)]; in pirq_ali_get() [all …]
|
| /kernel/linux/linux-4.19/arch/x86/pci/ |
| D | irq.c | 47 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); 48 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, 54 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); 176 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() argument 181 pci_read_config_byte(router, reg, &x); in read_config_nybble() 185 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble() argument 191 pci_read_config_byte(router, reg, &x); in write_config_nybble() 193 pci_write_config_byte(router, reg, x); in write_config_nybble() 201 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get() argument 206 return irqmap[read_config_nybble(router, 0x48, pirq-1)]; in pirq_ali_get() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | traceroute.sh | 165 for ns in host-1 host-2 router-1 router-2 181 create_ns router-1 182 create_ns router-2 185 connect_ns router-2 eth3 - 2000:103::2/64 host-2 eth3 - 2000:103::4/64 189 connect_ns router-1 eth2 - 2000:102::1/64 router-2 eth2 - 2000:102::2/64 190 ip netns exec router-1 ip route add default via 2000:102::2 192 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 193 ip netns exec router-1 ip link add name ${brdev} type bridge 194 ip netns exec router-1 ip link set ${brdev} up 195 ip netns exec router-1 ip addr add 2000:101::1/64 dev ${brdev} [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 415 u16 id; /* virtual router ID */ 435 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create() 475 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_find_unused() 476 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused() 575 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_get() 576 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get() 613 mlxsw_sp->router->lpm.tree_count = max_trees - MLXSW_SP_LPM_TREE_MIN; in mlxsw_sp_lpm_init() 614 mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init() 617 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init() 620 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_init() [all …]
|
| 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 …]
|
| D | spectrum_router.h | 50 struct mutex lock; /* Protects shared router resources */ 124 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, 132 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument 133 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \ 134 nh = mlxsw_sp_nexthop_next(router, nh))
|
| /kernel/linux/linux-5.10/net/qrtr/ |
| 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"
|
| /kernel/linux/linux-5.10/arch/mips/sgi-ip27/ |
| 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 …]
|
| /kernel/linux/linux-4.19/net/qrtr/ |
| D | Kconfig | 1 # Qualcomm IPC Router configuration 5 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"
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_i2c.c | 338 /* ddc router switching */ 344 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port() 351 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 353 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 355 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 358 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 360 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 361 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port() 363 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 367 /* clock/data router switching */ [all …]
|
| /kernel/linux/linux-4.19/arch/mips/sgi-ip27/ |
| D | ip27-memory.c | 74 klrou_t *router; in router_recurse() local 95 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse() 96 if (router == router_b) { in router_recurse() 101 router_recurse(router, router_b, depth + 1); in router_recurse() 113 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local 135 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance() 136 router->rou_rflag = 0; in compute_node_distance() 139 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance() 143 router->rou_port[port].port_nasid, in compute_node_distance() 144 router->rou_port[port].port_offset); in compute_node_distance() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_i2c.c | 337 /* ddc router switching */ 343 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port() 350 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 352 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 354 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 357 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 359 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 360 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port() 362 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 366 /* clock/data router switching */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | dma-router.yaml | 4 $id: http://devicetree.org/schemas/dma/dma-router.yaml# 7 title: DMA Router Generic Binding 23 pattern: "^dma-router(@.*)?$" 28 Array of phandles to the DMA controllers the router can direct 33 Number of incoming request lines the router can handle. 43 sdma_xbar: dma-router@4a002b78 {
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 431 u16 id; /* virtual router ID */ 449 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create() 489 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_find_unused() 490 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused() 589 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_get() 590 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get() 627 mlxsw_sp->router->lpm.tree_count = max_trees - MLXSW_SP_LPM_TREE_MIN; in mlxsw_sp_lpm_init() 628 mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init() 631 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init() 634 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_init() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/freescale/ |
| 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.
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/freescale/ |
| 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.
|
| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | usb4.c | 256 * @sw: USB4 router to setup 302 /* Only enable PCIe tunneling if the parent router supports it */ in usb4_switch_setup() 328 * usb4_switch_read_uid() - Read UID from USB4 router 329 * @sw: USB4 router 332 * Reads 64-bit UID from USB4 router config space. 367 * usb4_switch_drom_read() - Read arbitrary bytes from USB4 router DROM 368 * @sw: USB4 router 373 * Uses USB4 router operations to read router DROM. For devices this 375 * case the host router does not have DROM. 386 * @sw: USB4 router [all …]
|
| /kernel/linux/linux-4.19/net/batman-adv/ |
| D | routing.c | 58 * _batadv_update_route() - set the router for this originator 62 * @neigh_node: neighbor which should be the next router 79 /* curr_router used earlier may not be the current orig_ifinfo->router in _batadv_update_route() 86 curr_router = rcu_dereference_protected(orig_ifinfo->router, true); in _batadv_update_route() 92 rcu_assign_pointer(orig_ifinfo->router, neigh_node); in _batadv_update_route() 122 * batadv_update_route() - set the router for this originator 126 * @neigh_node: neighbor which should be the next router 133 struct batadv_neigh_node *router = NULL; in batadv_update_route() local 138 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route() 140 if (router != neigh_node) in batadv_update_route() [all …]
|
| D | bat_v.c | 718 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 722 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 723 if (!router) in batadv_v_gw_throughput_get() 726 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 740 if (router) in batadv_v_gw_throughput_get() 741 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 843 /* fails if orig_node has no router */ 849 struct batadv_neigh_node *router; in batadv_v_gw_write_buffer_text() local 853 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text() 854 if (!router) in batadv_v_gw_write_buffer_text() [all …]
|
| /kernel/linux/linux-5.10/net/batman-adv/ |
| D | routing.c | 46 * _batadv_update_route() - set the router for this originator 50 * @neigh_node: neighbor which should be the next router 67 /* curr_router used earlier may not be the current orig_ifinfo->router in _batadv_update_route() 79 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route() 110 * batadv_update_route() - set the router for this originator 114 * @neigh_node: neighbor which should be the next router 121 struct batadv_neigh_node *router = NULL; in batadv_update_route() local 126 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route() 128 if (router != neigh_node) in batadv_update_route() 132 if (router) in batadv_update_route() [all …]
|
| D | bat_v.c | 708 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 712 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 713 if (!router) in batadv_v_gw_throughput_get() 716 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 730 if (router) in batadv_v_gw_throughput_get() 731 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 833 /* fails if orig_node has no router */ 839 struct batadv_neigh_node *router; in batadv_v_gw_write_buffer_text() local 843 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text() 844 if (!router) in batadv_v_gw_write_buffer_text() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/dma/ |
| D | dma.txt | 34 * DMA router 42 the DMA controllers the router can direct the signal to. 43 - #dma-cells: Must be at least 1. Used to provide DMA router specific 48 - dma-requests: Number of incoming request lines the router can handle. 50 - dma-requests: The router driver might need to look for this in order 54 sdma_xbar: dma-router@4a002b78 {
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| 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 283 dev_info(dev, "Interrupt Router %d domain created\n", intr->ti_sci_id); in ti_sci_intr_irq_domain_probe() 304 MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| 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. 66 The 1st cell should contain interrupt router input hw number.
|
| /kernel/linux/linux-4.19/net/ipv6/ |
| D | Kconfig | 24 bool "IPv6: Router Preference (RFC 4191) support" 26 Router Preference is an optional extension to the Router 28 to pick an appropriate router, especially when the hosts 242 This driver is useful if the other endpoint is a Cisco router: Cisco 291 Normally, a multicast router runs a userspace daemon and decides 293 destination addresses. If you say Y here, the multicast router
|