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()306 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()310 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()332 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()377 *p_erpt_bank = erp->index % erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_locate()378 row = erp->index / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_locate()491 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()572 err = mlxsw_sp_acl_erp_table_alloc(erp_core, erp_core->num_erp_banks, in mlxsw_sp_acl_erp_region_table_trans()577 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, bf_bank_size * num_erp_banks), in mlxsw_sp_acl_bf_init()
309 mlxsw_sp_acl_bf_init(struct mlxsw_sp *mlxsw_sp, unsigned int num_erp_banks);