cregion 13 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp_acl_ctcam_region cregion; cregion 31 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp1_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 39 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp1_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 67 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, cregion 81 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c err = mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, cregion 105 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, cregion 121 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c err = mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, ®ion->cregion, cregion 133 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); cregion 143 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); cregion 159 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, &chunk->cchunk, cregion 179 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c return mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, cregion 192 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, cregion 31 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_sp2_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 39 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c aregion = mlxsw_sp_acl_tcam_cregion_aregion(cregion); cregion 51 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_sp2_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 57 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c aregion = mlxsw_sp_acl_tcam_cregion_aregion(cregion); cregion 341 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c err = mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, &aregion->cregion, cregion 359 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c mlxsw_sp_acl_ctcam_region_fini(&aregion->cregion); cregion 370 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c mlxsw_sp_acl_ctcam_chunk_init(&aregion->cregion, &achunk->cchunk, cregion 585 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c err = mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, &aregion->cregion, cregion 600 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, &aregion->cregion, cregion 616 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c &aregion->cregion, cregion 41 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 46 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region = cregion->region; cregion 67 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c err = cregion->ops->entry_insert(cregion, centry, mask); cregion 82 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->ops->entry_remove(cregion, centry); cregion 88 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 94 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->region->tcam_region_info, cregion 97 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->ops->entry_remove(cregion, centry); cregion 102 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 111 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->region->tcam_region_info, cregion 124 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion = priv; cregion 125 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region = cregion->region; cregion 140 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion = priv; cregion 141 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region = cregion->region; cregion 158 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 162 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->region = region; cregion 163 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->ops = ops; cregion 164 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->parman = parman_create(&mlxsw_sp_acl_ctcam_region_parman_ops, cregion 165 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion); cregion 166 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c if (!cregion->parman) cregion 171 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c void mlxsw_sp_acl_ctcam_region_fini(struct mlxsw_sp_acl_ctcam_region *cregion) cregion 173 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c parman_destroy(cregion->parman); cregion 176 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c void mlxsw_sp_acl_ctcam_chunk_init(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 180 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c parman_prio_init(cregion->parman, &cchunk->parman_prio, priority); cregion 189 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 197 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c err = parman_item_add(cregion->parman, &cchunk->parman_prio, cregion 202 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c err = mlxsw_sp_acl_ctcam_region_entry_insert(mlxsw_sp, cregion, centry, cregion 209 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c parman_item_remove(cregion->parman, &cchunk->parman_prio, cregion 215 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 219 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c mlxsw_sp_acl_ctcam_region_entry_remove(mlxsw_sp, cregion, centry); cregion 220 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c parman_item_remove(cregion->parman, &cchunk->parman_prio, cregion 225 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_ctcam_region *cregion, cregion 229 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c return mlxsw_sp_acl_ctcam_region_entry_action_replace(mlxsw_sp, cregion, cregion 108 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h int (*entry_insert)(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 111 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h void (*entry_remove)(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 117 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_ctcam_region *cregion, cregion 120 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h void mlxsw_sp_acl_ctcam_region_fini(struct mlxsw_sp_acl_ctcam_region *cregion); cregion 121 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h void mlxsw_sp_acl_ctcam_chunk_init(struct mlxsw_sp_acl_ctcam_region *cregion, cregion 126 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_ctcam_region *cregion, cregion 132 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_ctcam_region *cregion, cregion 136 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_ctcam_region *cregion, cregion 163 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_ctcam_region cregion; cregion 201 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h mlxsw_sp_acl_tcam_cregion_aregion(struct mlxsw_sp_acl_ctcam_region *cregion) cregion 203 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h return container_of(cregion, struct mlxsw_sp_acl_atcam_region, cregion);