p_adj_grp_size 3233 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_adj_grp_size_round_up(u16 *p_adj_grp_size) p_adj_grp_size 3238 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (*p_adj_grp_size <= 64) p_adj_grp_size 3240 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c else if (*p_adj_grp_size <= 512) p_adj_grp_size 3241 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 512; p_adj_grp_size 3242 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c else if (*p_adj_grp_size <= 1024) p_adj_grp_size 3243 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 1024; p_adj_grp_size 3244 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c else if (*p_adj_grp_size <= 2048) p_adj_grp_size 3245 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 2048; p_adj_grp_size 3247 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 4096; p_adj_grp_size 3250 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_adj_grp_size_round_down(u16 *p_adj_grp_size, p_adj_grp_size 3254 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 4096; p_adj_grp_size 3256 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 2048; p_adj_grp_size 3258 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 1024; p_adj_grp_size 3260 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size = 512; p_adj_grp_size 3264 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u16 *p_adj_grp_size) p_adj_grp_size 3272 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_adj_grp_size_round_up(p_adj_grp_size); p_adj_grp_size 3275 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *p_adj_grp_size, &alloc_size); p_adj_grp_size 3282 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_adj_grp_size_round_down(p_adj_grp_size, alloc_size);