Lines Matching refs:aregion

58 	struct mlxsw_sp_acl_atcam_region *aregion;  member
135 struct mlxsw_sp_acl_atcam_region *aregion = erp_table->aregion; in mlxsw_sp_acl_erp_table_entry_size() local
138 return erp_core->erpt_entries_size[aregion->type]; in mlxsw_sp_acl_erp_table_entry_size()
182 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_master_mask_update()
397 key_size = (enum mlxsw_reg_perpt_key_size) erp_table->aregion->type; in mlxsw_sp_acl_erp_table_erp_add()
417 key_size = (enum mlxsw_reg_perpt_key_size) erp_table->aregion->type; in mlxsw_sp_acl_erp_table_erp_del()
430 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_table_enable()
445 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_table_disable()
498 erp_table->aregion->type, in mlxsw_sp_acl_erp_table_expand()
513 erp_table->aregion->type, old_base_index); in mlxsw_sp_acl_erp_table_expand()
521 erp_table->aregion->type, in mlxsw_sp_acl_erp_table_expand()
536 erp_table->aregion->type, in mlxsw_sp_acl_erp_region_table_trans()
573 erp_table->aregion->type, in mlxsw_sp_acl_erp_region_table_trans()
591 erp_table->aregion->type, in mlxsw_sp_acl_erp_region_master_mask_trans()
599 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_region_erp_add()
616 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_region_erp_del()
677 erp_table->aregion->type, in mlxsw_sp_acl_erp_ctcam_table_ops_set()
944 mlxsw_sp_acl_erp_get(struct mlxsw_sp_acl_atcam_region *aregion, in mlxsw_sp_acl_erp_get() argument
947 struct mlxsw_sp_acl_erp_table *erp_table = aregion->erp_table; in mlxsw_sp_acl_erp_get()
968 void mlxsw_sp_acl_erp_put(struct mlxsw_sp_acl_atcam_region *aregion, in mlxsw_sp_acl_erp_put() argument
971 struct mlxsw_sp_acl_erp_table *erp_table = aregion->erp_table; in mlxsw_sp_acl_erp_put()
982 mlxsw_sp_acl_erp_table_create(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_erp_table_create() argument
995 erp_table->erp_core = aregion->atcam->erp_core; in mlxsw_sp_acl_erp_table_create()
998 erp_table->aregion = aregion; in mlxsw_sp_acl_erp_table_create()
1016 mlxsw_sp_acl_erp_master_mask_init(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_erp_master_mask_init() argument
1018 struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; in mlxsw_sp_acl_erp_master_mask_init()
1021 mlxsw_reg_percr_pack(percr_pl, aregion->region->id); in mlxsw_sp_acl_erp_master_mask_init()
1026 mlxsw_sp_acl_erp_region_param_init(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_erp_region_param_init() argument
1028 struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; in mlxsw_sp_acl_erp_region_param_init()
1031 mlxsw_reg_pererp_pack(pererp_pl, aregion->region->id, false, false, 0, in mlxsw_sp_acl_erp_region_param_init()
1036 int mlxsw_sp_acl_erp_region_init(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_erp_region_init() argument
1041 erp_table = mlxsw_sp_acl_erp_table_create(aregion); in mlxsw_sp_acl_erp_region_init()
1044 aregion->erp_table = erp_table; in mlxsw_sp_acl_erp_region_init()
1047 err = mlxsw_sp_acl_erp_master_mask_init(aregion); in mlxsw_sp_acl_erp_region_init()
1052 err = mlxsw_sp_acl_erp_region_param_init(aregion); in mlxsw_sp_acl_erp_region_init()
1064 void mlxsw_sp_acl_erp_region_fini(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_erp_region_fini() argument
1066 mlxsw_sp_acl_erp_table_destroy(aregion->erp_table); in mlxsw_sp_acl_erp_region_fini()