Searched refs:mlxsw_afk (Results 1 – 7 of 7) sorted by relevance
52 struct mlxsw_afk { struct60 static bool mlxsw_afk_blocks_check(struct mlxsw_afk *mlxsw_afk) in mlxsw_afk_blocks_check() argument65 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()66 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i]; in mlxsw_afk_blocks_check()84 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks, in mlxsw_afk_create()87 struct mlxsw_afk *mlxsw_afk; in mlxsw_afk_create() local89 mlxsw_afk = kzalloc(sizeof(*mlxsw_afk), GFP_KERNEL); in mlxsw_afk_create()90 if (!mlxsw_afk) in mlxsw_afk_create()92 INIT_LIST_HEAD(&mlxsw_afk->key_info_list); in mlxsw_afk_create()93 mlxsw_afk->max_blocks = max_blocks; in mlxsw_afk_create()[all …]
185 struct mlxsw_afk;194 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks,196 void mlxsw_afk_destroy(struct mlxsw_afk *mlxsw_afk);201 mlxsw_afk_key_info_get(struct mlxsw_afk *mlxsw_afk,228 void mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk,232 void mlxsw_afk_clear(struct mlxsw_afk *mlxsw_afk, char *key,
47 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_ctcam_region_entry_insert()
228 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_atcam_12kb_lkey_id_get()478 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in __mlxsw_sp_acl_atcam_entry_add()
26 struct mlxsw_afk *afk;39 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_afk()
975 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl);
776 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_tcam_vregion_create()