Searched refs:fDivide (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppevvmath.h | 62 static fInt fDivide (fInt A, fInt B); /* Returns A/B */ 142 solution = fDivide(fPositiveOne, solution); in fExponential() 161 value = fDivide(value, GetScaledFraction(k_array[i], 10000)); in fNaturalLog() 179 f_decoded_value = fDivide(f_fuse_value, f_bit_max_value); in fDecodeLinearFuse() 197 f_decoded_value = fSubtract(fDivide(f_bit_max_value, f_fuse_value), f_CONSTANT1); in fDecodeLogisticFuse() 199 f_decoded_value = fMultiply(f_decoded_value, fDivide(f_range, f_CONSTANT_NEG13)); in fDecodeLogisticFuse() 211 fLeakage = fDivide(fLeakage, f_bit_max_value); in fDecodeLeakageID() 288 fValue = fDivide(ConvertToFraction(X * uPow(-1, bNEGATED)), ConvertToFraction(factor)); in GetScaledFraction() 356 static fInt fDivide (fInt X, fInt Y) in fDivide() function 439 F_divide_Fprime = fDivide(y, Fprime); in fSqrt() [all …]
|
D | ppatomctrl.c | 963 fMargin_DC_sigma = fDivide(fMargin_DC_sigma, ConvertToFraction(1000)); in atomctrl_calculate_voltage_evv_on_sclk() 965 fCACm_fused = fDivide(fCACm_fused, ConvertToFraction(100)); in atomctrl_calculate_voltage_evv_on_sclk() 966 fCACb_fused = fDivide(fCACb_fused, ConvertToFraction(100)); in atomctrl_calculate_voltage_evv_on_sclk() 967 fKt_Beta_fused = fDivide(fKt_Beta_fused, ConvertToFraction(100)); in atomctrl_calculate_voltage_evv_on_sclk() 968 fKv_m_fused = fNegate(fDivide(fKv_m_fused, ConvertToFraction(100))); in atomctrl_calculate_voltage_evv_on_sclk() 969 fKv_b_fused = fDivide(fKv_b_fused, ConvertToFraction(10)); in atomctrl_calculate_voltage_evv_on_sclk() 973 fV_max = fDivide(GetScaledFraction( in atomctrl_calculate_voltage_evv_on_sclk() 978 fV_FT = fDivide(GetScaledFraction( in atomctrl_calculate_voltage_evv_on_sclk() 980 fV_min = fDivide(GetScaledFraction( in atomctrl_calculate_voltage_evv_on_sclk() 999 fVDDC_base = fDivide(fVDDC_base, fAdd(fMultiply(fSM_A0, fSclk), fSM_A2)); in atomctrl_calculate_voltage_evv_on_sclk() [all …]
|