Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/marvell/prestera/
A Dprestera_router.c1436 struct prestera_router *router; in __prestera_router_fib_event() local
1458 fib_work->sw = router->sw; in __prestera_router_fib_event()
1496 struct prestera_router *router; in prestera_router_netevent_event() local
1512 net_work->sw = router->sw; in prestera_router_netevent_event()
1553 router = kzalloc(sizeof(*sw->router), GFP_KERNEL); in prestera_router_init()
1554 if (!router) in prestera_router_init()
1557 sw->router = router; in prestera_router_init()
1558 router->sw = sw; in prestera_router_init()
1625 kfree(sw->router); in prestera_router_init()
1643 kfree(sw->router); in prestera_router_fini()
[all …]
A Dprestera_router_hw.c71 err = rhashtable_init(&sw->router->nh_neigh_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()
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()
105 rhashtable_destroy(&sw->router->fib_ht); in prestera_router_hw_fini()
107 rhashtable_destroy(&sw->router->nh_neigh_ht); in prestera_router_hw_fini()
544 u8 *cache = sw->router->nhgrp_hw_state_cache; in prestera_nexthop_group_util_hw_state()
[all …]
A Dprestera.h304 struct prestera_router *router; member
/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c1516 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_netdev_ipip_type() local
2093 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_router_nve_promote_decap() local
2141 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_router_nve_demote_decap() local
2168 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_router_nve_is_decap() local
5277 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_nexthop_obj_group_info_fini() local
6403 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_fib4_entry_type_set() local
7310 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_fib6_entry_type_set_local() local
8915 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_rif_mac_profile_index_alloc() local
8961 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_rif_mac_profile_find() local
11513 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_lb_rif_init() local
[all …]
A Dspectrum_dpipe.c214 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()
666 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update()
705 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_size_get()
1097 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_adj_entries_get()
[all …]
A Dspectrum_router.h142 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))
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_i2c.c341 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port()
348 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
353 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
356 amdgpu_connector->router.i2c_addr, 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()
384 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
387 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
391 val |= amdgpu_connector->router.cd_mux_state; in amdgpu_i2c_router_select_cd_port()
[all …]
A Damdgpu_atombios.c327 struct amdgpu_router router; in amdgpu_atombios_get_connector_info_from_object_table() local
385 router.ddc_valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
386 router.cd_valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
441 router.router_id = router_obj_id; in amdgpu_atombios_get_connector_info_from_object_table()
459 router.i2c_info = in amdgpu_atombios_get_connector_info_from_object_table()
463 router.i2c_addr = i2c_record->ucI2CAddr >> 1; in amdgpu_atombios_get_connector_info_from_object_table()
468 router.ddc_valid = true; in amdgpu_atombios_get_connector_info_from_object_table()
469 router.ddc_mux_type = ddc_path->ucMuxType; in amdgpu_atombios_get_connector_info_from_object_table()
476 router.cd_valid = true; in amdgpu_atombios_get_connector_info_from_object_table()
477 router.cd_mux_type = cd_path->ucMuxType; in amdgpu_atombios_get_connector_info_from_object_table()
[all …]
A Damdgpu_connectors.c265 if (amdgpu_connector->router.ddc_valid) in amdgpu_connector_get_edid()
1569 struct amdgpu_router *router) in amdgpu_connector_add() argument
1601 if (amdgpu_connector->router_bus && router->ddc_valid && in amdgpu_connector_add()
1602 (amdgpu_connector->router.router_id == router->router_id)) { in amdgpu_connector_add()
1637 amdgpu_connector->router = *router; in amdgpu_connector_add()
1638 if (router->ddc_valid || router->cd_valid) { in amdgpu_connector_add()
1639 amdgpu_connector->router_bus = amdgpu_i2c_lookup(adev, &router->i2c_info); in amdgpu_connector_add()
A Damdgpu_connectors.h39 struct amdgpu_router *router);
A Damdgpu_display.c437 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_print_display_setup()
439 amdgpu_connector->router.ddc_mux_control_pin, in amdgpu_display_print_display_setup()
440 amdgpu_connector->router.ddc_mux_state); in amdgpu_display_print_display_setup()
441 if (amdgpu_connector->router.cd_valid) in amdgpu_display_print_display_setup()
443 amdgpu_connector->router.cd_mux_control_pin, in amdgpu_display_print_display_setup()
444 amdgpu_connector->router.cd_mux_state); in amdgpu_display_print_display_setup()
510 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_ddc_probe()
A Damdgpu_mode.h294 struct amdgpu_router *router);
634 struct amdgpu_router router; member
/drivers/gpu/drm/radeon/
A Dradeon_i2c.c58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
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()
1111 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1114 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1119 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1128 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port()
1135 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1139 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1142 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
[all …]
A Dradeon_connectors.c268 if (radeon_connector->router.ddc_valid) in radeon_connector_get_edid()
1841 struct radeon_router *router) in radeon_add_atom_connector() argument
1877 if (radeon_connector->router_bus && router->ddc_valid && in radeon_add_atom_connector()
1878 (radeon_connector->router.router_id == router->router_id)) { in radeon_add_atom_connector()
1912 radeon_connector->router = *router; in radeon_add_atom_connector()
1913 if (router->ddc_valid || router->cd_valid) { in radeon_add_atom_connector()
1914 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()
A Dradeon_atombios.c534 struct radeon_router router; in radeon_get_atom_connector_info_from_object_table() local
640 router.ddc_valid = false; in radeon_get_atom_connector_info_from_object_table()
641 router.cd_valid = false; in radeon_get_atom_connector_info_from_object_table()
717 router.i2c_info = in radeon_get_atom_connector_info_from_object_table()
726 router.ddc_valid = true; in radeon_get_atom_connector_info_from_object_table()
734 router.cd_valid = true; in radeon_get_atom_connector_info_from_object_table()
824 &router); in radeon_get_atom_connector_info_from_object_table()
900 struct radeon_router router; in radeon_get_atom_connector_info_from_supported_devices_table() local
902 router.ddc_valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
903 router.cd_valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
[all …]
A Dradeon_display.c794 if (radeon_connector->router.ddc_valid) in radeon_print_display_setup()
796 radeon_connector->router.ddc_mux_control_pin, in radeon_print_display_setup()
797 radeon_connector->router.ddc_mux_state); in radeon_print_display_setup()
798 if (radeon_connector->router.cd_valid) in radeon_print_display_setup()
800 radeon_connector->router.cd_mux_control_pin, in radeon_print_display_setup()
801 radeon_connector->router.cd_mux_state); in radeon_print_display_setup()
A Dradeon_mode.h535 struct radeon_router router; member
666 struct radeon_router *router);
/drivers/dma/
A Ddmaengine.c95 if (chan->router) in dmaengine_dbg_summary_show()
97 dev_name(chan->router->dev)); in dmaengine_dbg_summary_show()
512 if (chan->router && chan->router->route_free) { in dma_chan_put()
513 chan->router->route_free(chan->router->dev, chan->route_data); in dma_chan_put()
514 chan->router = NULL; in dma_chan_put()
A Dof-dma.c84 chan->router = ofdma->dma_router; in of_dma_router_xlate()
/drivers/platform/cznic/
A DKconfig22 microcontroller on the CZ.NIC's Turris Omnia SOHO router.
/drivers/irqchip/
A DKconfig585 This enables the irqchip driver support for K3 Interrupt router
587 If you wish to use interrupt router irq resources managed by the
/drivers/net/wan/
A DKconfig14 Usually, a quite expensive external device called a `WAN router' is
/drivers/hwtracing/coresight/
A DKconfig41 trace router - ETR) or sink (embedded trace FIFO). The driver
/drivers/firmware/
A DKconfig265 processor of the Turris Mox router. Enable if you are building for
/drivers/mailbox/
A DKconfig103 the Turris Mox router).

Completed in 114 milliseconds

12