Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c435 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()
621 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_init()
[all …]
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()
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 …]
Dspectrum_router.h124 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))
Dspectrum.h153 struct mlxsw_sp_router *router; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c344 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()
373 if (!amdgpu_connector->router.cd_valid) in amdgpu_i2c_router_select_cd_port()
380 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
[all …]
Damdgpu_display.c394 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_print_display_setup()
396 amdgpu_connector->router.ddc_mux_control_pin, in amdgpu_display_print_display_setup()
397 amdgpu_connector->router.ddc_mux_state); in amdgpu_display_print_display_setup()
398 if (amdgpu_connector->router.cd_valid) in amdgpu_display_print_display_setup()
400 amdgpu_connector->router.cd_mux_control_pin, in amdgpu_display_print_display_setup()
401 amdgpu_connector->router.cd_mux_state); in amdgpu_display_print_display_setup()
471 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_ddc_probe()
Damdgpu_atombios.c307 struct amdgpu_router router; in amdgpu_atombios_get_connector_info_from_object_table() local
365 router.ddc_valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
366 router.cd_valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
421 router.router_id = router_obj_id; in amdgpu_atombios_get_connector_info_from_object_table()
439 router.i2c_info = in amdgpu_atombios_get_connector_info_from_object_table()
443 router.i2c_addr = i2c_record->ucI2CAddr >> 1; in amdgpu_atombios_get_connector_info_from_object_table()
448 router.ddc_valid = true; in amdgpu_atombios_get_connector_info_from_object_table()
449 router.ddc_mux_type = ddc_path->ucMuxType; in amdgpu_atombios_get_connector_info_from_object_table()
450 router.ddc_mux_control_pin = ddc_path->ucMuxControlPin; in amdgpu_atombios_get_connector_info_from_object_table()
451 router.ddc_mux_state = ddc_path->ucMuxState[enum_id]; in amdgpu_atombios_get_connector_info_from_object_table()
[all …]
Damdgpu_connectors.c290 if (amdgpu_connector->router.ddc_valid) in amdgpu_connector_get_edid()
1538 struct amdgpu_router *router) in amdgpu_connector_add() argument
1570 if (amdgpu_connector->router_bus && router->ddc_valid && in amdgpu_connector_add()
1571 (amdgpu_connector->router.router_id == router->router_id)) { in amdgpu_connector_add()
1606 amdgpu_connector->router = *router; in amdgpu_connector_add()
1607 if (router->ddc_valid || router->cd_valid) { in amdgpu_connector_add()
1608 amdgpu_connector->router_bus = amdgpu_i2c_lookup(adev, &router->i2c_info); in amdgpu_connector_add()
Damdgpu_connectors.h40 struct amdgpu_router *router);
Damdgpu_mode.h297 struct amdgpu_router *router);
551 struct amdgpu_router router; member
/drivers/gpu/drm/radeon/
Dradeon_i2c.c66 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
1109 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1116 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1118 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1120 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1123 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1125 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1126 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port()
1128 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1137 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port()
[all …]
Dradeon_connectors.c305 if (radeon_connector->router.ddc_valid) in radeon_connector_get_edid()
1870 struct radeon_router *router) in radeon_add_atom_connector() argument
1906 if (radeon_connector->router_bus && router->ddc_valid && in radeon_add_atom_connector()
1907 (radeon_connector->router.router_id == router->router_id)) { in radeon_add_atom_connector()
1941 radeon_connector->router = *router; in radeon_add_atom_connector()
1942 if (router->ddc_valid || router->cd_valid) { in radeon_add_atom_connector()
1943 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()
Dradeon_atombios.c539 struct radeon_router router; in radeon_get_atom_connector_info_from_object_table() local
645 router.ddc_valid = false; in radeon_get_atom_connector_info_from_object_table()
646 router.cd_valid = false; in radeon_get_atom_connector_info_from_object_table()
704 router.router_id = router_obj_id; in radeon_get_atom_connector_info_from_object_table()
722 router.i2c_info = in radeon_get_atom_connector_info_from_object_table()
726 router.i2c_addr = i2c_record->ucI2CAddr >> 1; in radeon_get_atom_connector_info_from_object_table()
731 router.ddc_valid = true; in radeon_get_atom_connector_info_from_object_table()
732 router.ddc_mux_type = ddc_path->ucMuxType; in radeon_get_atom_connector_info_from_object_table()
733 router.ddc_mux_control_pin = ddc_path->ucMuxControlPin; in radeon_get_atom_connector_info_from_object_table()
734 router.ddc_mux_state = ddc_path->ucMuxState[enum_id]; in radeon_get_atom_connector_info_from_object_table()
[all …]
Dradeon_display.c802 if (radeon_connector->router.ddc_valid) in radeon_print_display_setup()
804 radeon_connector->router.ddc_mux_control_pin, in radeon_print_display_setup()
805 radeon_connector->router.ddc_mux_state); in radeon_print_display_setup()
806 if (radeon_connector->router.cd_valid) in radeon_print_display_setup()
808 radeon_connector->router.cd_mux_control_pin, in radeon_print_display_setup()
809 radeon_connector->router.cd_mux_state); in radeon_print_display_setup()
Dradeon_mode.h560 struct radeon_router router; member
702 struct radeon_router *router);
/drivers/dma/
Ddmaengine.c93 if (chan->router) in dmaengine_dbg_summary_show()
95 dev_name(chan->router->dev)); in dmaengine_dbg_summary_show()
510 if (chan->router && chan->router->route_free) { in dma_chan_put()
511 chan->router->route_free(chan->router->dev, chan->route_data); in dma_chan_put()
512 chan->router = NULL; in dma_chan_put()
Dof-dma.c82 chan->router = ofdma->dma_router; in of_dma_router_xlate()
/drivers/tty/
DKconfig446 tristate "Trace data router for MIPI P1149.7 cJTAG standard"
449 The trace router uses the Linux tty line discipline framework to
465 trace data coming from the trace router line discipline driver
473 "Trace data router for MIPI P1149.7 cJTAG standard".
/drivers/irqchip/
DKconfig491 This enables the irqchip driver support for K3 Interrupt router
493 If you wish to use interrupt router irq resources managed by the
/drivers/hwtracing/coresight/
DKconfig40 trace router - ETR) or sink (embedded trace FIFO). The driver
/drivers/mailbox/
DKconfig53 the Turris Mox router).
/drivers/firmware/
DKconfig295 processor of the Turris Mox router. Enable if you are building for
/drivers/net/wan/
DKconfig14 Usually, a quite expensive external device called a `WAN router' is
/drivers/net/usb/
DKconfig516 router with USB ethernet port. This driver is for routers only,
/drivers/leds/
DKconfig188 side of CZ.NIC's Turris Omnia router. There are 12 RGB LEDs on the

12