Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_acl_tcam.c150 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() argument
215 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_add()
[all …]
Dspectrum1_acl_tcam.c113 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() argument
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() argument
188 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_del()
[all …]
Dspectrum.h1089 int (*region_init)(struct mlxsw_sp *mlxsw_sp, void *region_priv,
1093 void (*region_fini)(struct mlxsw_sp *mlxsw_sp, void *region_priv);
1096 void * (*region_rehash_hints_get)(void *region_priv);
1099 void (*chunk_init)(void *region_priv, void *chunk_priv,
1104 void *region_priv, void *chunk_priv,
1108 void *region_priv, void *chunk_priv,
1111 void *region_priv, void *entry_priv,
1114 void *region_priv, void *entry_priv,
/linux-5.19.10/drivers/net/dsa/mv88e6xxx/
Ddevlink.c269 struct mv88e6xxx_region_priv *region_priv = ops->priv; in mv88e6xxx_region_global_snapshot() local
281 switch (region_priv->id) { in mv88e6xxx_region_global_snapshot()