Home
last modified time | relevance | path

Searched refs:p_adj_grp_size (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3288 static void mlxsw_sp_adj_grp_size_round_up(u16 *p_adj_grp_size) in mlxsw_sp_adj_grp_size_round_up() argument
3293 if (*p_adj_grp_size <= 64) in mlxsw_sp_adj_grp_size_round_up()
3295 else if (*p_adj_grp_size <= 512) in mlxsw_sp_adj_grp_size_round_up()
3296 *p_adj_grp_size = 512; in mlxsw_sp_adj_grp_size_round_up()
3297 else if (*p_adj_grp_size <= 1024) in mlxsw_sp_adj_grp_size_round_up()
3298 *p_adj_grp_size = 1024; in mlxsw_sp_adj_grp_size_round_up()
3299 else if (*p_adj_grp_size <= 2048) in mlxsw_sp_adj_grp_size_round_up()
3300 *p_adj_grp_size = 2048; in mlxsw_sp_adj_grp_size_round_up()
3302 *p_adj_grp_size = 4096; in mlxsw_sp_adj_grp_size_round_up()
3305 static void mlxsw_sp_adj_grp_size_round_down(u16 *p_adj_grp_size, in mlxsw_sp_adj_grp_size_round_down() argument
[all …]