Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h177 fInt f_decoded_value; in fDecodeLinearFuse() local
179 f_decoded_value = fDivide(f_fuse_value, f_bit_max_value); in fDecodeLinearFuse()
180 f_decoded_value = fMultiply(f_decoded_value, f_range); in fDecodeLinearFuse()
181 f_decoded_value = fAdd(f_decoded_value, f_min); in fDecodeLinearFuse()
183 return f_decoded_value; in fDecodeLinearFuse()
195 fInt f_decoded_value; in fDecodeLogisticFuse() local
197 f_decoded_value = fSubtract(fDivide(f_bit_max_value, f_fuse_value), f_CONSTANT1); in fDecodeLogisticFuse()
198 f_decoded_value = fNaturalLog(f_decoded_value); in fDecodeLogisticFuse()
199 f_decoded_value = fMultiply(f_decoded_value, fDivide(f_range, f_CONSTANT_NEG13)); in fDecodeLogisticFuse()
200 f_decoded_value = fAdd(f_decoded_value, f_average); in fDecodeLogisticFuse()
[all …]