Home
last modified time | relevance | path

Searched refs:router (Results 1 – 25 of 99) sorted by relevance

1234

/Linux-v4.19/arch/x86/pci/
Dirq.c47 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 …]
/Linux-v4.19/arch/mips/sgi-ip27/
Dip27-memory.c74 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 …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c343 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()
372 if (!amdgpu_connector->router.cd_valid) in amdgpu_i2c_router_select_cd_port()
379 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
[all …]
Damdgpu_display.c386 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_print_display_setup()
388 amdgpu_connector->router.ddc_mux_control_pin, in amdgpu_display_print_display_setup()
389 amdgpu_connector->router.ddc_mux_state); in amdgpu_display_print_display_setup()
390 if (amdgpu_connector->router.cd_valid) in amdgpu_display_print_display_setup()
392 amdgpu_connector->router.cd_mux_control_pin, in amdgpu_display_print_display_setup()
393 amdgpu_connector->router.cd_mux_state); in amdgpu_display_print_display_setup()
462 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_ddc_probe()
Damdgpu_connectors.h40 struct amdgpu_router *router);
/Linux-v4.19/net/batman-adv/
Dbat_v.c718 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()
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()
857 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text()
[all …]
Drouting.c86 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()
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()
144 if (router) in batadv_update_route()
145 batadv_neigh_node_put(router); in batadv_update_route()
559 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local
569 router = batadv_orig_router_get(orig_node, recv_if); in batadv_find_router()
571 if (!router) in batadv_find_router()
[all …]
Dbat_v_ogm.c339 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_forward() local
355 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_forward()
358 if (neigh_node != router) in batadv_v_ogm_forward()
402 if (router) in batadv_v_ogm_forward()
403 batadv_neigh_node_put(router); in batadv_v_ogm_forward()
513 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_route_update() local
533 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_route_update()
534 if (router && router->orig_node != orig_node && !orig_neigh_router) { in batadv_v_ogm_route_update()
551 if (router == neigh_node) in batadv_v_ogm_route_update()
558 if (router) { in batadv_v_ogm_route_update()
[all …]
Dbat_iv_ogm.c1028 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_orig_update() local
1114 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_orig_update()
1115 if (router == neigh_node) in batadv_iv_ogm_orig_update()
1118 if (router) { in batadv_iv_ogm_orig_update()
1119 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()
1135 orig_node_tmp = router->orig_node; in batadv_iv_ogm_orig_update()
1137 if_num = router->if_incoming->if_num; in batadv_iv_ogm_orig_update()
1159 if (router) in batadv_iv_ogm_orig_update()
1160 batadv_neigh_node_put(router); in batadv_iv_ogm_orig_update()
1433 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_process_per_outif() local
[all …]
Doriginator.c348 struct batadv_neigh_node *router = NULL; in batadv_orig_router_get() local
355 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get()
359 if (router && !kref_get_unless_zero(&router->refcount)) in batadv_orig_router_get()
360 router = NULL; in batadv_orig_router_get()
363 return router; in batadv_orig_router_get()
868 struct batadv_neigh_node *router; in batadv_orig_ifinfo_release() local
876 router = rcu_dereference_protected(orig_ifinfo->router, true); in batadv_orig_ifinfo_release()
877 if (router) in batadv_orig_ifinfo_release()
878 batadv_neigh_node_put(router); in batadv_orig_ifinfo_release()
Dgateway_client.c228 struct batadv_neigh_node *router = NULL; in batadv_gw_election() local
255 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election()
257 if (!router) { in batadv_gw_election()
262 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election()
306 if (router) in batadv_gw_election()
307 batadv_neigh_node_put(router); in batadv_gw_election()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c449 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()
635 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_init()
[all …]
Dspectrum_router.h95 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
103 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument
104 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \
105 nh = mlxsw_sp_nexthop_next(router, nh))
/Linux-v4.19/arch/arm/boot/dts/
Dbcm4709-buffalo-wxr-1900dhp.dts46 router-amber {
47 label = "bcm53xx:amber:router";
51 router-white {
52 label = "bcm53xx:white:router";
Dbcm47081-buffalo-wzr-900dhp.dts68 label = "bcm53xx:green:router";
74 label = "bcm53xx:amber:router";
Dbcm47081-buffalo-wzr-600dhp2.dts63 label = "bcm53xx:green:router";
69 label = "bcm53xx:amber:router";
Dbcm4708-buffalo-wzr-1750dhp.dts72 label = "bcm53xx:blue:router";
78 label = "bcm53xx:amber:router";
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_i2c.c63 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
1106 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1113 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1115 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1117 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1120 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1122 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1123 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port()
1125 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1134 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/dma/
Ddma.txt34 * 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 {
Dstm32-dmamux.txt1 STM32 DMA MUX (DMA request router)
65 dmamux1: dma-router@40020800 {
/Linux-v4.19/include/uapi/linux/
Dicmpv6.h30 router:1, member
33 __u32 router:1,
71 #define icmp6_router icmp6_dataun.u_nd_advt.router
/Linux-v4.19/Documentation/devicetree/bindings/arm/freescale/
Dfsl,vf610-mscm-ir.txt4 block of registers which control the interrupt router. The interrupt router
18 assignment of the interrupt router is required.
/Linux-v4.19/Documentation/networking/
Dila.txt57 - ILA router A network node that performs ILA translation and forwarding
61 A type of ILA router that only maintains a working set
65 can be an ILA router, ILA forwarding cache, or ILA host.
93 addressed +->|router| . . |router|->-+ addressed
232 An ILA router has also been implemented in XDP. Description of that is
240 ILA router) or an ILA address (egress ILA router). LOC is the sixty-four
/Linux-v4.19/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c237 struct sn_hwperf_object_info *router; in sn_hwperf_get_nearest_node_objdata() local
288 for (router=NULL, j=0; j < op->ports; j++) { in sn_hwperf_get_nearest_node_objdata()
291 router = dest; in sn_hwperf_get_nearest_node_objdata()
309 if (router && (!found_cpu || !found_mem)) { in sn_hwperf_get_nearest_node_objdata()
311 sz = router->ports * sizeof(struct sn_hwperf_port_info); in sn_hwperf_get_nearest_node_objdata()
314 SN_HWPERF_ENUM_PORTS, router->id, sz, in sn_hwperf_get_nearest_node_objdata()
320 for (j=0; j < router->ports; j++) { in sn_hwperf_get_nearest_node_objdata()
/Linux-v4.19/net/decnet/
DKconfig28 bool "DECnet: router support"
33 router. This is an experimental, but functional option. If you

1234