Searched refs:double_size (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 2940 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local 2974 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register() 2975 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp1_resources_kvd_register() 2976 double_size /= profile->kvd_hash_double_parts + in mlxsw_sp1_resources_kvd_register() 2978 double_size = rounddown(double_size, MLXSW_SP_KVD_GRANULARITY); in mlxsw_sp1_resources_kvd_register() 2980 double_size, in mlxsw_sp1_resources_kvd_register() 2987 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register() 3100 u32 double_size; in mlxsw_sp_kvd_sizes_get() local 3124 double_size = MLXSW_CORE_RES_GET(mlxsw_core, KVD_SIZE) - in mlxsw_sp_kvd_sizes_get() 3126 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp_kvd_sizes_get() [all …]
|
D | pci.c | 1078 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local 1082 &single_size, &double_size, in mlxsw_pci_profile_get_kvd_sizes() 1088 MLXSW_RES_SET(res, KVD_DOUBLE_SIZE, double_size); in mlxsw_pci_profile_get_kvd_sizes()
|