Lines Matching refs:pow_10
63 static int pow_10(unsigned power) in pow_10() function
91 *micro_frac = (rem / divisor) * pow_10(6-exp); in simple_div()
97 *val1 = no/pow_10(exp); in split_micro_fraction()
98 *val2 = no%pow_10(exp) * pow_10(6-exp); in split_micro_fraction()
120 *val1 = sign * value * pow_10(exp); in convert_from_vtf_format()
140 value = abs(val1) * pow_10(-exp); in convert_to_vtf_format()
141 value += abs(val2) / pow_10(6+exp); in convert_to_vtf_format()
143 value = abs(val1) / pow_10(exp); in convert_to_vtf_format()
206 value = val1 * pow_10(6) + val2; in hid_sensor_write_samp_freq_value()
209 value = pow_10(9)/value; in hid_sensor_write_samp_freq_value()
211 value = pow_10(6)/value; in hid_sensor_write_samp_freq_value()
286 *val0 = scale0 * pow_10(exp); in adjust_exponent_micro()
293 x = scale1 / pow_10(5 - i); in adjust_exponent_micro()
294 res += (pow_10(exp - 1 - i) * x); in adjust_exponent_micro()
295 scale1 = scale1 % pow_10(5 - i); in adjust_exponent_micro()
298 *val1 = scale1 * pow_10(exp); in adjust_exponent_micro()
305 *val0 = scale0 / pow_10(exp); in adjust_exponent_micro()
306 rem = scale0 % pow_10(exp); in adjust_exponent_micro()
309 x = scale1 / pow_10(5 - i); in adjust_exponent_micro()
310 res += (pow_10(5 - exp - i) * x); in adjust_exponent_micro()
311 scale1 = scale1 % pow_10(5 - i); in adjust_exponent_micro()
313 *val1 = rem * pow_10(6 - exp) + res; in adjust_exponent_micro()