Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/
H A Dppevvmath.h54 static fInt Convert_ULONG_ToFraction(uint32_t); /* Use this to convert an uint32_t to a F…
173 fInt f_fuse_value = Convert_ULONG_ToFraction(fuse_value); in fDecodeLinearFuse()
174 fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); in fDecodeLinearFuse()
188 fInt f_fuse_value = Convert_ULONG_ToFraction(fuse_value); in fDecodeLogisticFuse()
189 fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); in fDecodeLogisticFuse()
207 fInt f_bit_max_value = Convert_ULONG_ToFraction((uPow(2, bitlength)) - 1); in fDecodeLeakageID()
209 fLeakage = fMultiply(ln_max_div_min, Convert_ULONG_ToFraction(leakageID_fuse)); in fDecodeLeakageID()
235 static fInt Convert_ULONG_ToFraction(uint32_t X) in Convert_ULONG_ToFraction() function
H A Dppatomctrl.c698 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm1)); in atomctrl_calculate_voltage_evv_on_sclk()
702 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm2)); in atomctrl_calculate_voltage_evv_on_sclk()
706 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm3)); in atomctrl_calculate_voltage_evv_on_sclk()
710 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm4)); in atomctrl_calculate_voltage_evv_on_sclk()
714 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm5)); in atomctrl_calculate_voltage_evv_on_sclk()
718 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm6)); in atomctrl_calculate_voltage_evv_on_sclk()
722 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm7)); in atomctrl_calculate_voltage_evv_on_sclk()
727 fPowerDPMx = Convert_ULONG_ToFraction(1); in atomctrl_calculate_voltage_evv_on_sclk()