Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h67 static int uPow(int base, int exponent); /* Returns base^exponent an INT */
175 fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); in fDecodeLinearFuse()
190 fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); in fDecodeLogisticFuse()
208 fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); in fDecodeLeakageID()
288 fValue = fDivide(ConvertToFraction(X * uPow(-1, bNEGATED)), ConvertToFraction(factor)); in GetScaledFraction()
381 scaledReal.full = GetReal(A) * uPow(10, PRECISION-1); /* DOUBLE CHECK THISSSS!!! */ in ConvertBackToInteger()
518 scaledDecimal = scaledDecimal + dec[i]*uPow(10, PRECISION - 1 -i); in uGetScaledDecimal()
524 static int uPow(int base, int power) in uPow() function
529 return (base)*uPow(base, power - 1); in uPow()
Dppatomctrl.c930 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A0_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
932 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A1_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
934 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A2_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
936 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A3_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
938 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A4_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
940 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A5_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
942 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A6_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
944 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A7_sign))); in atomctrl_calculate_voltage_evv_on_sclk()