Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h53 static fInt ConvertToFraction(int); /* Use this to convert an INT to a FINT */
113 fInt fPositiveOne = ConvertToFraction(1); in fExponential()
114 fInt fZERO = ConvertToFraction(0); in fExponential()
151 fInt fNegativeOne = ConvertToFraction(-1); in fNaturalLog()
152 fInt solution = ConvertToFraction(0); /*Starting off with baseline of 0 */ in fNaturalLog()
192 fInt f_CONSTANT_NEG13 = ConvertToFraction(-13); in fDecodeLogisticFuse()
193 fInt f_CONSTANT1 = ConvertToFraction(1); in fDecodeLogisticFuse()
218 static fInt ConvertToFraction(int X) /*Add all range checking here. Is it possible to make fInt a p… in ConvertToFraction() function
232 fInt CONSTANT_NEGONE = ConvertToFraction(-1); in fNegate()
286 return ConvertToFraction(X); in GetScaledFraction()
[all …]
Dppatomctrl.c867 fRange = fMultiply(fRange, ConvertToFraction(-1)); in atomctrl_calculate_voltage_evv_on_sclk()
930 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()
946 fMargin_RO_a = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_a)); in atomctrl_calculate_voltage_evv_on_sclk()
[all …]