/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_acl_tcam.c | 140 mlxsw_sp2_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, in mlxsw_sp2_acl_tcam_region_init() argument 145 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_init() 157 mlxsw_sp2_acl_tcam_region_fini(struct mlxsw_sp *mlxsw_sp, void *region_priv) in mlxsw_sp2_acl_tcam_region_fini() argument 159 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_fini() 171 static void *mlxsw_sp2_acl_tcam_region_rehash_hints_get(void *region_priv) in mlxsw_sp2_acl_tcam_region_rehash_hints_get() argument 173 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_rehash_hints_get() 183 static void mlxsw_sp2_acl_tcam_chunk_init(void *region_priv, void *chunk_priv, in mlxsw_sp2_acl_tcam_chunk_init() argument 186 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_chunk_init() 201 void *region_priv, void *chunk_priv, in mlxsw_sp2_acl_tcam_entry_add() 205 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_add() 200 mlxsw_sp2_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp2_acl_tcam_entry_add() argument 215 mlxsw_sp2_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv) mlxsw_sp2_acl_tcam_entry_del() argument 228 mlxsw_sp2_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp2_acl_tcam_entry_action_replace() argument 242 mlxsw_sp2_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp2_acl_tcam_entry_activity_get() argument [all...] |
H A D | spectrum1_acl_tcam.c | 113 mlxsw_sp1_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, in mlxsw_sp1_acl_tcam_region_init() argument 118 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_init() 138 mlxsw_sp1_acl_tcam_region_fini(struct mlxsw_sp *mlxsw_sp, void *region_priv) in mlxsw_sp1_acl_tcam_region_fini() argument 140 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_fini() 153 static void mlxsw_sp1_acl_tcam_chunk_init(void *region_priv, void *chunk_priv, in mlxsw_sp1_acl_tcam_chunk_init() argument 156 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_chunk_init() 171 void *region_priv, void *chunk_priv, in mlxsw_sp1_acl_tcam_entry_add() 175 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_add() 185 void *region_priv, void *chunk_priv, in mlxsw_sp1_acl_tcam_entry_del() 188 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_del() 170 mlxsw_sp1_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp1_acl_tcam_entry_add() argument 184 mlxsw_sp1_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv) mlxsw_sp1_acl_tcam_entry_del() argument 197 mlxsw_sp1_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp1_acl_tcam_entry_action_replace() argument 223 mlxsw_sp1_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp1_acl_tcam_entry_activity_get() argument [all...] |
H A D | spectrum.h | 995 int (*region_init)(struct mlxsw_sp *mlxsw_sp, void *region_priv, 999 void (*region_fini)(struct mlxsw_sp *mlxsw_sp, void *region_priv); 1002 void * (*region_rehash_hints_get)(void *region_priv); 1005 void (*chunk_init)(void *region_priv, void *chunk_priv, 1010 void *region_priv, void *chunk_priv, 1014 void *region_priv, void *chunk_priv, 1017 void *region_priv, void *entry_priv, 1020 void *region_priv, void *entry_priv,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_acl_tcam.c | 150 mlxsw_sp2_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, in mlxsw_sp2_acl_tcam_region_init() argument 155 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_init() 167 mlxsw_sp2_acl_tcam_region_fini(struct mlxsw_sp *mlxsw_sp, void *region_priv) in mlxsw_sp2_acl_tcam_region_fini() argument 169 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_fini() 181 static void *mlxsw_sp2_acl_tcam_region_rehash_hints_get(void *region_priv) in mlxsw_sp2_acl_tcam_region_rehash_hints_get() argument 183 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_rehash_hints_get() 193 static void mlxsw_sp2_acl_tcam_chunk_init(void *region_priv, void *chunk_priv, in mlxsw_sp2_acl_tcam_chunk_init() argument 196 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_chunk_init() 211 void *region_priv, void *chunk_priv, in mlxsw_sp2_acl_tcam_entry_add() 215 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_add() 210 mlxsw_sp2_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp2_acl_tcam_entry_add() argument 225 mlxsw_sp2_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv) mlxsw_sp2_acl_tcam_entry_del() argument 238 mlxsw_sp2_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp2_acl_tcam_entry_action_replace() argument 252 mlxsw_sp2_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp2_acl_tcam_entry_activity_get() argument [all...] |
H A D | spectrum1_acl_tcam.c | 113 mlxsw_sp1_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, in mlxsw_sp1_acl_tcam_region_init() argument 118 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_init() 138 mlxsw_sp1_acl_tcam_region_fini(struct mlxsw_sp *mlxsw_sp, void *region_priv) in mlxsw_sp1_acl_tcam_region_fini() argument 140 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_fini() 153 static void mlxsw_sp1_acl_tcam_chunk_init(void *region_priv, void *chunk_priv, in mlxsw_sp1_acl_tcam_chunk_init() argument 156 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_chunk_init() 171 void *region_priv, void *chunk_priv, in mlxsw_sp1_acl_tcam_entry_add() 175 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_add() 185 void *region_priv, void *chunk_priv, in mlxsw_sp1_acl_tcam_entry_del() 188 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_del() 170 mlxsw_sp1_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp1_acl_tcam_entry_add() argument 184 mlxsw_sp1_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *chunk_priv, void *entry_priv) mlxsw_sp1_acl_tcam_entry_del() argument 197 mlxsw_sp1_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp1_acl_tcam_entry_action_replace() argument 223 mlxsw_sp1_acl_tcam_entry_activity_get(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, bool *activity) mlxsw_sp1_acl_tcam_entry_activity_get() argument [all...] |
H A D | spectrum.h | 1125 int (*region_init)(struct mlxsw_sp *mlxsw_sp, void *region_priv, 1129 void (*region_fini)(struct mlxsw_sp *mlxsw_sp, void *region_priv); 1132 void * (*region_rehash_hints_get)(void *region_priv); 1135 void (*chunk_init)(void *region_priv, void *chunk_priv, 1140 void *region_priv, void *chunk_priv, 1144 void *region_priv, void *chunk_priv, 1147 void *region_priv, void *entry_priv, 1150 void *region_priv, void *entry_priv,
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
H A D | devlink.c | 269 struct mv88e6xxx_region_priv *region_priv = ops->priv; in mv88e6xxx_region_global_snapshot() local 281 switch (region_priv->id) { in mv88e6xxx_region_global_snapshot()
|
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | devlink.c | 269 struct mv88e6xxx_region_priv *region_priv = ops->priv; in mv88e6xxx_region_global_snapshot() local 281 switch (region_priv->id) { in mv88e6xxx_region_global_snapshot()
|