Searched refs:erp_core (Results 1 – 2 of 2) sorted by relevance
57 struct mlxsw_sp_acl_erp_core *erp_core; member136 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; in mlxsw_sp_acl_erp_table_entry_size() local138 return erp_core->erpt_entries_size[aregion->type]; in mlxsw_sp_acl_erp_table_entry_size()303 mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, in mlxsw_sp_acl_erp_table_alloc() argument311 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()314 entry_size = erp_core->erpt_entries_size[region_type]; in mlxsw_sp_acl_erp_table_alloc()315 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()317 *p_index = gen_pool_alloc(erp_core->erp_tables, num_rows * entry_size); in mlxsw_sp_acl_erp_table_alloc()326 mlxsw_sp_acl_erp_table_free(struct mlxsw_sp_acl_erp_core *erp_core, in mlxsw_sp_acl_erp_table_free() argument335 entry_size = erp_core->erpt_entries_size[region_type]; in mlxsw_sp_acl_erp_table_free()[all …]
142 struct mlxsw_sp_acl_erp_core *erp_core; member