Searched refs:fV_NL (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomctrl.c | 707 …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 1087 fV_NL = fAdd(fV_x, fDivide(fMultiply(fTDP_Current, fRLL_LoadLine), in atomctrl_calculate_voltage_evv_on_sclk() 1090 fV_NL = fRoundUpByStepSize(fV_NL, fStepSize, 0); in atomctrl_calculate_voltage_evv_on_sclk() 1092 if (GreaterThan(fV_max, fV_NL) && in atomctrl_calculate_voltage_evv_on_sclk() 1093 (GreaterThan(fV_NL, fEVV_V) || in atomctrl_calculate_voltage_evv_on_sclk() 1094 Equal(fV_NL, fEVV_V))) { in atomctrl_calculate_voltage_evv_on_sclk() 1095 fV_NL = fMultiply(fV_NL, ConvertToFraction(1000)); in atomctrl_calculate_voltage_evv_on_sclk() 1097 *voltage = (uint16_t)fV_NL.partial.real; in atomctrl_calculate_voltage_evv_on_sclk()
|