Home
last modified time | relevance | path

Searched refs:rgcr_pl (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c8041 char rgcr_pl[MLXSW_REG_RGCR_LEN]; in __mlxsw_sp_router_init() local
8050 mlxsw_reg_rgcr_pack(rgcr_pl, true, true); in __mlxsw_sp_router_init()
8051 mlxsw_reg_rgcr_max_router_interfaces_set(rgcr_pl, max_rifs); in __mlxsw_sp_router_init()
8052 mlxsw_reg_rgcr_usp_set(rgcr_pl, usp); in __mlxsw_sp_router_init()
8053 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rgcr), rgcr_pl); in __mlxsw_sp_router_init()
8058 char rgcr_pl[MLXSW_REG_RGCR_LEN]; in __mlxsw_sp_router_fini() local
8060 mlxsw_reg_rgcr_pack(rgcr_pl, false, false); in __mlxsw_sp_router_fini()
8061 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rgcr), rgcr_pl); in __mlxsw_sp_router_fini()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c11264 char rgcr_pl[MLXSW_REG_RGCR_LEN]; in __mlxsw_sp_router_init() local
11273 mlxsw_reg_rgcr_pack(rgcr_pl, true, true); in __mlxsw_sp_router_init()
11274 mlxsw_reg_rgcr_max_router_interfaces_set(rgcr_pl, max_rifs); in __mlxsw_sp_router_init()
11275 mlxsw_reg_rgcr_usp_set(rgcr_pl, usp); in __mlxsw_sp_router_init()
11276 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rgcr), rgcr_pl); in __mlxsw_sp_router_init()
11281 char rgcr_pl[MLXSW_REG_RGCR_LEN]; in __mlxsw_sp_router_fini() local
11283 mlxsw_reg_rgcr_pack(rgcr_pl, false, false); in __mlxsw_sp_router_fini()
11284 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rgcr), rgcr_pl); in __mlxsw_sp_router_fini()

Completed in 26 milliseconds