Lines Matching refs:mlxsw_sp

14 mlxsw_sp_acl_ctcam_region_resize(struct mlxsw_sp *mlxsw_sp,
23 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl);
27 mlxsw_sp_acl_ctcam_region_move(struct mlxsw_sp *mlxsw_sp,
36 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(prcr), prcr_pl);
40 mlxsw_sp_acl_ctcam_region_entry_insert(struct mlxsw_sp *mlxsw_sp,
47 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl);
55 err = mlxsw_sp_acl_tcam_priority_get(mlxsw_sp, rulei, &priority,
75 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
87 mlxsw_sp_acl_ctcam_region_entry_remove(struct mlxsw_sp *mlxsw_sp,
96 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
101 mlxsw_sp_acl_ctcam_region_entry_action_replace(struct mlxsw_sp *mlxsw_sp,
117 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
126 struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp;
129 max_tcam_rules = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_TCAM_RULES);
132 return mlxsw_sp_acl_ctcam_region_resize(mlxsw_sp, region, new_count);
142 struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp;
144 mlxsw_sp_acl_ctcam_region_move(mlxsw_sp, region,
157 mlxsw_sp_acl_ctcam_region_init(struct mlxsw_sp *mlxsw_sp,
188 int mlxsw_sp_acl_ctcam_entry_add(struct mlxsw_sp *mlxsw_sp,
202 err = mlxsw_sp_acl_ctcam_region_entry_insert(mlxsw_sp, cregion, centry,
214 void mlxsw_sp_acl_ctcam_entry_del(struct mlxsw_sp *mlxsw_sp,
219 mlxsw_sp_acl_ctcam_region_entry_remove(mlxsw_sp, cregion, centry);
224 int mlxsw_sp_acl_ctcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp,
229 return mlxsw_sp_acl_ctcam_region_entry_action_replace(mlxsw_sp, cregion,