Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_acl_tcam.c16 struct mlxsw_sp_acl_ctcam_chunk cchunk; member
23 struct mlxsw_sp_acl_ctcam_chunk cchunk; member
68 &region->catchall.cchunk, in mlxsw_sp1_acl_ctcam_region_catchall_add()
82 &region->catchall.cchunk, in mlxsw_sp1_acl_ctcam_region_catchall_add()
95 mlxsw_sp_acl_ctcam_chunk_fini(&region->catchall.cchunk); in mlxsw_sp1_acl_ctcam_region_catchall_add()
106 &region->catchall.cchunk, in mlxsw_sp1_acl_ctcam_region_catchall_del()
109 mlxsw_sp_acl_ctcam_chunk_fini(&region->catchall.cchunk); in mlxsw_sp1_acl_ctcam_region_catchall_del()
159 mlxsw_sp_acl_ctcam_chunk_init(&region->cregion, &chunk->cchunk, in mlxsw_sp1_acl_tcam_chunk_init()
167 mlxsw_sp_acl_ctcam_chunk_fini(&chunk->cchunk); in mlxsw_sp1_acl_tcam_chunk_fini()
180 &chunk->cchunk, &entry->centry, in mlxsw_sp1_acl_tcam_entry_add()
[all …]
H A Dspectrum_acl_ctcam.c177 struct mlxsw_sp_acl_ctcam_chunk *cchunk, in mlxsw_sp_acl_ctcam_chunk_init() argument
180 parman_prio_init(cregion->parman, &cchunk->parman_prio, priority); in mlxsw_sp_acl_ctcam_chunk_init()
183 void mlxsw_sp_acl_ctcam_chunk_fini(struct mlxsw_sp_acl_ctcam_chunk *cchunk) in mlxsw_sp_acl_ctcam_chunk_fini() argument
185 parman_prio_fini(&cchunk->parman_prio); in mlxsw_sp_acl_ctcam_chunk_fini()
190 struct mlxsw_sp_acl_ctcam_chunk *cchunk, in mlxsw_sp_acl_ctcam_entry_add() argument
197 err = parman_item_add(cregion->parman, &cchunk->parman_prio, in mlxsw_sp_acl_ctcam_entry_add()
209 parman_item_remove(cregion->parman, &cchunk->parman_prio, in mlxsw_sp_acl_ctcam_entry_add()
216 struct mlxsw_sp_acl_ctcam_chunk *cchunk, in mlxsw_sp_acl_ctcam_entry_del() argument
220 parman_item_remove(cregion->parman, &cchunk->parman_prio, in mlxsw_sp_acl_ctcam_entry_del()
H A Dspectrum_acl_tcam.h119 struct mlxsw_sp_acl_ctcam_chunk *cchunk,
121 void mlxsw_sp_acl_ctcam_chunk_fini(struct mlxsw_sp_acl_ctcam_chunk *cchunk);
124 struct mlxsw_sp_acl_ctcam_chunk *cchunk,
130 struct mlxsw_sp_acl_ctcam_chunk *cchunk,
177 struct mlxsw_sp_acl_ctcam_chunk cchunk; member
H A Dspectrum_acl_atcam.c368 mlxsw_sp_acl_ctcam_chunk_init(&aregion->cregion, &achunk->cchunk, in mlxsw_sp_acl_atcam_chunk_init()
374 mlxsw_sp_acl_ctcam_chunk_fini(&achunk->cchunk); in mlxsw_sp_acl_atcam_chunk_fini()
582 &achunk->cchunk, &aentry->centry, in mlxsw_sp_acl_atcam_entry_add()
597 &achunk->cchunk, &aentry->centry); in mlxsw_sp_acl_atcam_entry_del()