Searched refs:num_erp_banks (Results 1 – 3 of 3) sorted by relevance
29 unsigned int num_erp_banks; member130 return erp->index % erp->erp_table->erp_core->num_erp_banks; in mlxsw_sp_acl_erp_bank_get()307 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()311 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()334 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()379 *p_erpt_bank = erp->index % erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_locate()380 row = erp->index / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_locate()493 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()574 err = mlxsw_sp_acl_erp_table_alloc(erp_core, erp_core->num_erp_banks, in mlxsw_sp_acl_erp_region_table_trans()579 erp_table->num_max_atcam_erps = erp_core->num_erp_banks; in mlxsw_sp_acl_erp_region_table_trans()[all …]
487 mlxsw_sp_acl_bf_init(struct mlxsw_sp *mlxsw_sp, unsigned int num_erp_banks) in mlxsw_sp_acl_bf_init() argument499 bf = kzalloc(struct_size(bf, refcnt, size_mul(bf_bank_size, num_erp_banks)), in mlxsw_sp_acl_bf_init()
302 mlxsw_sp_acl_bf_init(struct mlxsw_sp *mlxsw_sp, unsigned int num_erp_banks);