Home
last modified time | relevance | path

Searched refs:fStepSize (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h540 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()
Dppatomctrl.c711 fInt fStepSize = GetScaledFraction(625, 100000); in atomctrl_calculate_voltage_evv_on_sclk() local
1057 fEVV_V = fSubtract(fV_max, fStepSize); in atomctrl_calculate_voltage_evv_on_sclk()
1059 fEVV_V = fRoundUpByStepSize(fEVV_V, fStepSize, 0); in atomctrl_calculate_voltage_evv_on_sclk()
1068 while (GreaterThan(fAdd(fV_max, fStepSize), fV_x)) { in atomctrl_calculate_voltage_evv_on_sclk()
1090 fV_NL = fRoundUpByStepSize(fV_NL, fStepSize, 0); in atomctrl_calculate_voltage_evv_on_sclk()
1100 fV_x = fAdd(fV_x, fStepSize); in atomctrl_calculate_voltage_evv_on_sclk()