Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dppatomctrl.c668 …LKG_Factor, fT_FT, fV_FT, fV_x, fTDP_Power, fTDP_Power_right, fTDP_Power_left, fTDP_Current, fV_NL; in atomctrl_calculate_voltage_evv_on_sclk() local
1056 fV_NL = fAdd(fV_x, fDivide(fMultiply(fTDP_Current, fRLL_LoadLine), in atomctrl_calculate_voltage_evv_on_sclk()
1059 fV_NL = fRoundUpByStepSize(fV_NL, fStepSize, 0); in atomctrl_calculate_voltage_evv_on_sclk()
1061 if (GreaterThan(fV_max, fV_NL) && in atomctrl_calculate_voltage_evv_on_sclk()
1062 (GreaterThan(fV_NL, fEVV_V) || in atomctrl_calculate_voltage_evv_on_sclk()
1063 Equal(fV_NL, fEVV_V))) { in atomctrl_calculate_voltage_evv_on_sclk()
1064 fV_NL = fMultiply(fV_NL, ConvertToFraction(1000)); in atomctrl_calculate_voltage_evv_on_sclk()
1066 *voltage = (uint16_t)fV_NL.partial.real; in atomctrl_calculate_voltage_evv_on_sclk()