Searched refs:mlxsw_afk (Results 1 – 7 of 7) sorted by relevance
47 struct mlxsw_afk { struct55 static bool mlxsw_afk_blocks_check(struct mlxsw_afk *mlxsw_afk) in mlxsw_afk_blocks_check() argument60 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()61 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i]; in mlxsw_afk_blocks_check()79 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks, in mlxsw_afk_create()82 struct mlxsw_afk *mlxsw_afk; in mlxsw_afk_create() local84 mlxsw_afk = kzalloc(sizeof(*mlxsw_afk), GFP_KERNEL); in mlxsw_afk_create()85 if (!mlxsw_afk) in mlxsw_afk_create()87 INIT_LIST_HEAD(&mlxsw_afk->key_info_list); in mlxsw_afk_create()88 mlxsw_afk->max_blocks = max_blocks; in mlxsw_afk_create()[all …]
172 struct mlxsw_afk;181 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks,183 void mlxsw_afk_destroy(struct mlxsw_afk *mlxsw_afk);188 mlxsw_afk_key_info_get(struct mlxsw_afk *mlxsw_afk,215 void mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk,219 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()477 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in __mlxsw_sp_acl_atcam_entry_add()
25 struct mlxsw_afk *afk;38 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_afk()
972 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl);
819 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_tcam_vregion_create()