Home
last modified time | relevance | path

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

/openbmc/linux/drivers/macintosh/
H A Dwindfarm_pm81.c169 u16 scale0; member
184 u16 scale0; member
202 .scale0 = 0x0ccd,
214 .scale0 = 0x0ccd,
226 .scale0 = 0x1000,
294 wf_smu_sys_fans->scale0 = param->scale0; in wf_smu_create_sys_fans()
359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick()
/openbmc/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c355 static void adjust_exponent_nano(int *val0, int *val1, int scale0, in adjust_exponent_nano() argument
365 *val0 = scale0 * int_pow(10, exp); in adjust_exponent_nano()
386 *val0 = scale0 / divisor; in adjust_exponent_nano()
387 rem = scale0 % divisor; in adjust_exponent_nano()
397 *val0 = scale0; in adjust_exponent_nano()