Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_acl_tcam.c140 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() argument
205 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.h995 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-5.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()