Searched refs:double_size (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 3601 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local 3635 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register() 3636 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp1_resources_kvd_register() 3637 double_size /= profile->kvd_hash_double_parts + in mlxsw_sp1_resources_kvd_register() 3639 double_size = rounddown(double_size, MLXSW_SP_KVD_GRANULARITY); in mlxsw_sp1_resources_kvd_register() 3641 double_size, in mlxsw_sp1_resources_kvd_register() 3648 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register() 3856 u32 double_size; in mlxsw_sp_kvd_sizes_get() local 3880 double_size = MLXSW_CORE_RES_GET(mlxsw_core, KVD_SIZE) - in mlxsw_sp_kvd_sizes_get() 3882 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp_kvd_sizes_get() [all …]
|
H A D | pci.c | 1163 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local 1167 &single_size, &double_size, in mlxsw_pci_profile_get_kvd_sizes() 1173 MLXSW_RES_SET(res, KVD_DOUBLE_SIZE, double_size); in mlxsw_pci_profile_get_kvd_sizes()
|