Searched refs:fStepSize (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | ppevvmath.h | 540 static fInt fRoundUpByStepSize(fInt A, fInt fStepSize, bool error_term) in fRoundUpByStepSize() argument 544 solution = fDivide(A, fStepSize); in fRoundUpByStepSize() 550 solution = fMultiply(solution, fStepSize); in fRoundUpByStepSize() 551 solution = fAdd(solution, fStepSize); in fRoundUpByStepSize()
|
D | ppatomctrl.c | 672 fInt fStepSize = GetScaledFraction(625, 100000); in atomctrl_calculate_voltage_evv_on_sclk() local 1026 fEVV_V = fSubtract(fV_max, fStepSize); in atomctrl_calculate_voltage_evv_on_sclk() 1028 fEVV_V = fRoundUpByStepSize(fEVV_V, fStepSize, 0); in atomctrl_calculate_voltage_evv_on_sclk() 1037 while (GreaterThan(fAdd(fV_max, fStepSize), fV_x)) { in atomctrl_calculate_voltage_evv_on_sclk() 1059 fV_NL = fRoundUpByStepSize(fV_NL, fStepSize, 0); in atomctrl_calculate_voltage_evv_on_sclk() 1069 fV_x = fAdd(fV_x, fStepSize); in atomctrl_calculate_voltage_evv_on_sclk()
|