Searched refs:scale0 (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c277 static void adjust_exponent_micro(int *val0, int *val1, int scale0, adjust_exponent_micro() argument
286 *val0 = scale0 * pow_10(exp); adjust_exponent_micro()
305 *val0 = scale0 / pow_10(exp); adjust_exponent_micro()
306 rem = scale0 % pow_10(exp); adjust_exponent_micro()
315 *val0 = scale0; adjust_exponent_micro()
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pm81.c169 u16 scale0; member in struct:wf_smu_sys_fans_param
184 u16 scale0; member in struct:wf_smu_sys_fans_state
202 .scale0 = 0x0ccd,
214 .scale0 = 0x0ccd,
226 .scale0 = 0x1000,
294 wf_smu_sys_fans->scale0 = param->scale0; wf_smu_create_sys_fans()
359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; wf_smu_sys_fans_tick()

Completed in 176 milliseconds