Searched refs:GetScaledFraction (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomctrl.c | 672 fInt fStepSize = GetScaledFraction(625, 100000); in atomctrl_calculate_voltage_evv_on_sclk() 698 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 702 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM2), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 706 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM3), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 710 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM4), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 714 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM5), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 718 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM6), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 722 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM7), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 727 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM0), 1000); in atomctrl_calculate_voltage_evv_on_sclk() 752 fMin = GetScaledFraction(le32_to_cpu(sRO_fuse.ulEfuseMin), 1); in atomctrl_calculate_voltage_evv_on_sclk() [all …]
|
D | ppevvmath.h | 55 static fInt GetScaledFraction(int, int); /* Use this to convert an INT to a FINT a… 130 if (GreaterThan(exponent, GetScaledFraction(k_array[i], 10000))) { in fExponential() 131 exponent = fSubtract(exponent, GetScaledFraction(k_array[i], 10000)); in fExponential() 132 solution = fMultiply(solution, GetScaledFraction(expk_array[i], 10000)); in fExponential() 160 if (GreaterThan(value, GetScaledFraction(k_array[i], 10000))) { in fNaturalLog() 161 value = fDivide(value, GetScaledFraction(k_array[i], 10000)); in fNaturalLog() 162 solution = fAdd(solution, GetScaledFraction(logk_array[i], 10000)); in fNaturalLog() 248 static fInt GetScaledFraction(int X, int factor) in GetScaledFraction() function
|