Lines Matching refs:double_size
3654 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local
3688 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register()
3689 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp1_resources_kvd_register()
3690 double_size /= profile->kvd_hash_double_parts + in mlxsw_sp1_resources_kvd_register()
3692 double_size = rounddown(double_size, MLXSW_SP_KVD_GRANULARITY); in mlxsw_sp1_resources_kvd_register()
3694 double_size, in mlxsw_sp1_resources_kvd_register()
3701 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register()
3909 u32 double_size; in mlxsw_sp_kvd_sizes_get() local
3933 double_size = MLXSW_CORE_RES_GET(mlxsw_core, KVD_SIZE) - in mlxsw_sp_kvd_sizes_get()
3935 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp_kvd_sizes_get()
3936 double_size /= profile->kvd_hash_double_parts + in mlxsw_sp_kvd_sizes_get()
3938 *p_double_size = rounddown(double_size, in mlxsw_sp_kvd_sizes_get()