Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3285 static void mlxsw_sp_adj_grp_size_round_up(u16 *p_adj_grp_size) in mlxsw_sp_adj_grp_size_round_up() argument
3290 if (*p_adj_grp_size <= 64) in mlxsw_sp_adj_grp_size_round_up()
3292 else if (*p_adj_grp_size <= 512) in mlxsw_sp_adj_grp_size_round_up()
3293 *p_adj_grp_size = 512; in mlxsw_sp_adj_grp_size_round_up()
3294 else if (*p_adj_grp_size <= 1024) in mlxsw_sp_adj_grp_size_round_up()
3295 *p_adj_grp_size = 1024; in mlxsw_sp_adj_grp_size_round_up()
3296 else if (*p_adj_grp_size <= 2048) in mlxsw_sp_adj_grp_size_round_up()
3297 *p_adj_grp_size = 2048; in mlxsw_sp_adj_grp_size_round_up()
3299 *p_adj_grp_size = 4096; in mlxsw_sp_adj_grp_size_round_up()
3302 static void mlxsw_sp_adj_grp_size_round_down(u16 *p_adj_grp_size, in mlxsw_sp_adj_grp_size_round_down() argument
[all …]