Searched refs:cregion (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_ctcam.c | 41 struct mlxsw_sp_acl_ctcam_region *cregion, in mlxsw_sp_acl_ctcam_region_entry_insert() argument 46 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_entry_insert() 70 err = cregion->ops->entry_insert(cregion, centry, mask); in mlxsw_sp_acl_ctcam_region_entry_insert() 83 struct mlxsw_sp_acl_ctcam_region *cregion, in mlxsw_sp_acl_ctcam_region_entry_remove() argument 89 cregion->region->tcam_region_info, in mlxsw_sp_acl_ctcam_region_entry_remove() 92 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_remove() 98 struct mlxsw_sp_acl_ctcam_region *cregion = priv; in mlxsw_sp_acl_ctcam_region_parman_resize() local 99 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_parman_resize() 114 struct mlxsw_sp_acl_ctcam_region *cregion = priv; in mlxsw_sp_acl_ctcam_region_parman_move() local 115 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_parman_move() [all …]
|
D | spectrum1_acl_tcam.c | 13 struct mlxsw_sp_acl_ctcam_region cregion; member 31 mlxsw_sp1_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, in mlxsw_sp1_acl_ctcam_region_entry_insert() argument 39 mlxsw_sp1_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, in mlxsw_sp1_acl_ctcam_region_entry_remove() argument 67 mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, in mlxsw_sp1_acl_ctcam_region_catchall_add() 81 err = mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_ctcam_region_catchall_add() 105 mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_ctcam_region_catchall_del() 120 err = mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_tcam_region_init() 132 mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); in mlxsw_sp1_acl_tcam_region_init() 142 mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); in mlxsw_sp1_acl_tcam_region_fini() 158 mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, &chunk->cchunk, in mlxsw_sp1_acl_tcam_chunk_init() [all …]
|
D | spectrum_acl_tcam.h | 97 int (*entry_insert)(struct mlxsw_sp_acl_ctcam_region *cregion, 100 void (*entry_remove)(struct mlxsw_sp_acl_ctcam_region *cregion, 106 struct mlxsw_sp_acl_ctcam_region *cregion, 109 void mlxsw_sp_acl_ctcam_region_fini(struct mlxsw_sp_acl_ctcam_region *cregion); 110 void mlxsw_sp_acl_ctcam_chunk_init(struct mlxsw_sp_acl_ctcam_region *cregion, 115 struct mlxsw_sp_acl_ctcam_region *cregion, 121 struct mlxsw_sp_acl_ctcam_region *cregion, 147 struct mlxsw_sp_acl_ctcam_region cregion; member 174 mlxsw_sp_acl_tcam_cregion_aregion(struct mlxsw_sp_acl_ctcam_region *cregion) in mlxsw_sp_acl_tcam_cregion_aregion() argument 176 return container_of(cregion, struct mlxsw_sp_acl_atcam_region, cregion); in mlxsw_sp_acl_tcam_cregion_aregion()
|
D | spectrum2_acl_tcam.c | 31 mlxsw_sp2_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, in mlxsw_sp2_acl_ctcam_region_entry_insert() argument 39 aregion = mlxsw_sp_acl_tcam_cregion_aregion(cregion); in mlxsw_sp2_acl_ctcam_region_entry_insert() 51 mlxsw_sp2_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, in mlxsw_sp2_acl_ctcam_region_entry_remove() argument 57 aregion = mlxsw_sp_acl_tcam_cregion_aregion(cregion); in mlxsw_sp2_acl_ctcam_region_entry_remove()
|
D | spectrum_acl_atcam.c | 338 err = mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, &aregion->cregion, in mlxsw_sp_acl_atcam_region_init() 356 mlxsw_sp_acl_ctcam_region_fini(&aregion->cregion); in mlxsw_sp_acl_atcam_region_fini() 366 mlxsw_sp_acl_ctcam_chunk_init(&aregion->cregion, &achunk->cchunk, in mlxsw_sp_acl_atcam_chunk_init() 505 err = mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, &aregion->cregion, in mlxsw_sp_acl_atcam_entry_add() 520 mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, &aregion->cregion, in mlxsw_sp_acl_atcam_entry_del()
|