Lines Matching refs:region
14 struct mlxsw_sp_acl_tcam_region *region; member
62 struct mlxsw_sp1_acl_tcam_region *region) in mlxsw_sp1_acl_ctcam_region_catchall_add() argument
67 mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, in mlxsw_sp1_acl_ctcam_region_catchall_add()
68 ®ion->catchall.cchunk, 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()
82 ®ion->catchall.cchunk, in mlxsw_sp1_acl_ctcam_region_catchall_add()
83 ®ion->catchall.centry, in mlxsw_sp1_acl_ctcam_region_catchall_add()
87 region->catchall.rulei = rulei; in mlxsw_sp1_acl_ctcam_region_catchall_add()
95 mlxsw_sp_acl_ctcam_chunk_fini(®ion->catchall.cchunk); in mlxsw_sp1_acl_ctcam_region_catchall_add()
101 struct mlxsw_sp1_acl_tcam_region *region) in mlxsw_sp1_acl_ctcam_region_catchall_del() argument
103 struct mlxsw_sp_acl_rule_info *rulei = region->catchall.rulei; in mlxsw_sp1_acl_ctcam_region_catchall_del()
105 mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_ctcam_region_catchall_del()
106 ®ion->catchall.cchunk, in mlxsw_sp1_acl_ctcam_region_catchall_del()
107 ®ion->catchall.centry); in mlxsw_sp1_acl_ctcam_region_catchall_del()
109 mlxsw_sp_acl_ctcam_chunk_fini(®ion->catchall.cchunk); in mlxsw_sp1_acl_ctcam_region_catchall_del()
118 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_init() local
121 err = mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_tcam_region_init()
126 err = mlxsw_sp1_acl_ctcam_region_catchall_add(mlxsw_sp, region); in mlxsw_sp1_acl_tcam_region_init()
129 region->region = _region; in mlxsw_sp1_acl_tcam_region_init()
133 mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); in mlxsw_sp1_acl_tcam_region_init()
140 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_fini() local
142 mlxsw_sp1_acl_ctcam_region_catchall_del(mlxsw_sp, region); in mlxsw_sp1_acl_tcam_region_fini()
143 mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); in mlxsw_sp1_acl_tcam_region_fini()
148 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp1_acl_tcam_region_associate() argument
156 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_chunk_init() local
159 mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, &chunk->cchunk, in mlxsw_sp1_acl_tcam_chunk_init()
175 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_add() local
179 return mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_tcam_entry_add()
188 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_del() local
192 mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, in mlxsw_sp1_acl_tcam_entry_del()
227 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_activity_get() local
233 region->region, in mlxsw_sp1_acl_tcam_entry_activity_get()