Searched refs:region_priv (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
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() argument 205 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_add() [all …]
|
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() 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 …]
|
D | spectrum.h | 778 int (*region_init)(struct mlxsw_sp *mlxsw_sp, void *region_priv, 782 void (*region_fini)(struct mlxsw_sp *mlxsw_sp, void *region_priv); 785 void * (*region_rehash_hints_get)(void *region_priv); 788 void (*chunk_init)(void *region_priv, void *chunk_priv, 793 void *region_priv, void *chunk_priv, 797 void *region_priv, void *chunk_priv, 800 void *region_priv, void *entry_priv, 803 void *region_priv, void *entry_priv,
|