Searched refs:p_adj_grp_size (Results 1 – 1 of 1) sorted by relevance
3119 static void mlxsw_sp_adj_grp_size_round_up(u16 *p_adj_grp_size) in mlxsw_sp_adj_grp_size_round_up() argument3124 if (*p_adj_grp_size <= 64) in mlxsw_sp_adj_grp_size_round_up()3126 else if (*p_adj_grp_size <= 512) in mlxsw_sp_adj_grp_size_round_up()3127 *p_adj_grp_size = 512; in mlxsw_sp_adj_grp_size_round_up()3128 else if (*p_adj_grp_size <= 1024) in mlxsw_sp_adj_grp_size_round_up()3129 *p_adj_grp_size = 1024; in mlxsw_sp_adj_grp_size_round_up()3130 else if (*p_adj_grp_size <= 2048) in mlxsw_sp_adj_grp_size_round_up()3131 *p_adj_grp_size = 2048; in mlxsw_sp_adj_grp_size_round_up()3133 *p_adj_grp_size = 4096; in mlxsw_sp_adj_grp_size_round_up()3136 static void mlxsw_sp_adj_grp_size_round_down(u16 *p_adj_grp_size, in mlxsw_sp_adj_grp_size_round_down() argument[all …]