fInt 661 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fSM_A0, fSM_A1, fSM_A2, fSM_A3, fSM_A4, fSM_A5, fSM_A6, fSM_A7; fInt 662 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fMargin_RO_a, fMargin_RO_b, fMargin_RO_c, fMargin_fixed, fMargin_FMAX_mean, fMargin_Plat_mean, fMargin_FMAX_sigma, fMargin_Plat_sigma, fMargin_DC_sigma; fInt 663 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fLkg_FT, repeat; fInt 664 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fMicro_FMAX, fMicro_CR, fSigma_FMAX, fSigma_CR, fSigma_DC, fDC_SCLK, fSquared_Sigma_DC, fSquared_Sigma_CR, fSquared_Sigma_FMAX; fInt 665 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fRLL_LoadLine, fPowerDPMx, fDerateTDP, fVDDC_base, fA_Term, fC_Term, fB_Term, fRO_DC_margin; fInt 666 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fRO_fused, fCACm_fused, fCACb_fused, fKv_m_fused, fKv_b_fused, fKt_Beta_fused, fFT_Lkg_V0NORM; fInt 667 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fSclk_margin, fSclk, fEVV_V; fInt 668 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fV_min, fV_max, fT_prod, fLKG_Factor, fT_FT, fV_FT, fV_x, fTDP_Power, fTDP_Power_right, fTDP_Power_left, fTDP_Current, fV_NL; fInt 670 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fLn_MaxDivMin, fMin, fAverage, fRange; fInt 671 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fRoots[2]; fInt 672 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c fInt fStepSize = GetScaledFraction(625, 100000); fInt 53 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt ConvertToFraction(int); /* Use this to convert an INT to a FINT */ fInt 54 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt Convert_ULONG_ToFraction(uint32_t); /* Use this to convert an uint32_t to a FINT */ fInt 55 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt GetScaledFraction(int, int); /* Use this to convert an INT to a FINT after scaling it by a factor */ fInt 56 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int ConvertBackToInteger(fInt); /* Convert a FINT back to an INT that is scaled by 1000 (i.e. last 3 digits are the decimal digits) */ fInt 58 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fNegate(fInt); /* Returns -1 * input fInt value */ fInt 59 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fAdd (fInt, fInt); /* Returns the sum of two fInt numbers */ fInt 60 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fSubtract (fInt A, fInt B); /* Returns A-B - Sometimes easier than Adding negative numbers */ fInt 61 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fMultiply (fInt, fInt); /* Returns the product of two fInt numbers */ fInt 62 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDivide (fInt A, fInt B); /* Returns A/B */ fInt 63 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fGetSquare(fInt); /* Returns the square of a fInt number */ fInt 64 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fSqrt(fInt); /* Returns the Square Root of a fInt number */ fInt 69 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static void SolveQuadracticEqn(fInt, fInt, fInt, fInt[]); /* Returns the 2 roots via the array */ fInt 70 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static bool Equal(fInt, fInt); /* Returns true if two fInts are equal to each other */ fInt 71 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static bool GreaterThan(fInt A, fInt B); /* Returns true if A > B */ fInt 73 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fExponential(fInt exponent); /* Can be used to calculate e^exponent */ fInt 74 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fNaturalLog(fInt value); /* Can be used to calculate ln(value) */ fInt 79 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDecodeLinearFuse(uint32_t fuse_value, fInt f_min, fInt f_range, uint32_t bitlength); fInt 80 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDecodeLogisticFuse(uint32_t fuse_value, fInt f_average, fInt f_range, uint32_t bitlength); fInt 81 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDecodeLeakageID (uint32_t leakageID_fuse, fInt ln_max_div_min, fInt f_min, uint32_t bitlength); fInt 87 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt Divide (int, int); /* Divide two INTs and return result as FINT */ fInt 88 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fNegate(fInt); fInt 90 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int uGetScaledDecimal (fInt); /* Internal function */ fInt 91 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int GetReal (fInt A); /* Internal function */ fInt 108 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fExponential(fInt exponent) /*Can be used to calculate e^exponent*/ fInt 113 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fPositiveOne = ConvertToFraction(1); fInt 114 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fZERO = ConvertToFraction(0); fInt 116 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt lower_bound = Divide(78, 10000); fInt 117 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt solution = fPositiveOne; /*Starting off with baseline of 1 */ fInt 118 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt error_term; fInt 147 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fNaturalLog(fInt value) fInt 150 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt upper_bound = Divide(8, 1000); fInt 151 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fNegativeOne = ConvertToFraction(-1); fInt 152 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt solution = ConvertToFraction(0); /*Starting off with baseline of 0 */ fInt 153 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt error_term; fInt 172 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDecodeLinearFuse(uint32_t fuse_value, fInt f_min, fInt f_range, uint32_t bitlength) fInt 174 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_fuse_value = Convert_ULONG_ToFraction(fuse_value); fInt 175 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); fInt 177 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_decoded_value; fInt 187 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDecodeLogisticFuse(uint32_t fuse_value, fInt f_average, fInt f_range, uint32_t bitlength) fInt 189 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_fuse_value = Convert_ULONG_ToFraction(fuse_value); fInt 190 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); fInt 192 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_CONSTANT_NEG13 = ConvertToFraction(-13); fInt 193 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_CONSTANT1 = ConvertToFraction(1); fInt 195 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_decoded_value; fInt 205 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDecodeLeakageID (uint32_t leakageID_fuse, fInt ln_max_div_min, fInt f_min, uint32_t bitlength) fInt 207 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fLeakage; fInt 208 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); fInt 218 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt ConvertToFraction(int X) /*Add all range checking here. Is it possible to make fInt a private declaration? */ fInt 220 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt temp; fInt 230 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fNegate(fInt X) fInt 232 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt CONSTANT_NEGONE = ConvertToFraction(-1); fInt 236 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt Convert_ULONG_ToFraction(uint32_t X) fInt 238 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt temp; fInt 248 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt GetScaledFraction(int X, int factor) fInt 252 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fValue; fInt 297 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fAdd (fInt X, fInt Y) fInt 299 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt Sum; fInt 307 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fSubtract (fInt X, fInt Y) fInt 309 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt Difference; fInt 316 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static bool Equal(fInt A, fInt B) fInt 324 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static bool GreaterThan(fInt A, fInt B) fInt 332 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fMultiply (fInt X, fInt Y) /* Uses 64-bit integers (int64_t) */ fInt 334 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt Product; fInt 356 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fDivide (fInt X, fInt Y) fInt 358 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fZERO, fQuotient; fInt 377 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int ConvertBackToInteger (fInt A) /*THIS is the function that will be used to check with the Golden settings table*/ fInt 379 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fullNumber, scaledDecimal, scaledReal; fInt 390 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fGetSquare(fInt A) fInt 396 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fSqrt(fInt num) fInt 398 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt F_divide_Fprime, Fprime; fInt 399 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt test; fInt 400 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt twoShifted; fInt 402 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt x_new, x_old, C, y; fInt 404 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt fZERO = ConvertToFraction(0); fInt 453 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static void SolveQuadracticEqn(fInt A, fInt B, fInt C, fInt Roots[]) fInt 455 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt *pRoots = &Roots[0]; fInt 456 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt temp, root_first, root_second; fInt 457 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt f_CONSTANT10, f_CONSTANT100; fInt 492 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int GetReal (fInt A) fInt 497 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt Divide (int X, int Y) fInt 499 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt A, B, Quotient; fInt 509 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int uGetScaledDecimal (fInt A) /*Converts the fractional portion to whole integers - Costly function */ fInt 540 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fRoundUpByStepSize(fInt A, fInt fStepSize, bool error_term) fInt 542 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt solution;