Home
last modified time | relevance | path

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

/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c356 int scale1, int exp) in adjust_exponent_nano() argument
373 x = scale1 / divisor; in adjust_exponent_nano()
375 scale1 = scale1 % divisor; in adjust_exponent_nano()
378 *val1 = scale1 * int_pow(10, exp); in adjust_exponent_nano()
391 x = scale1 / divisor; in adjust_exponent_nano()
393 scale1 = scale1 % divisor; in adjust_exponent_nano()
398 *val1 = scale1; in adjust_exponent_nano()
/drivers/macintosh/
Dwindfarm_pm81.c171 u16 scale1; member
186 u16 scale1; member
204 .scale1 = 0x07ae,
216 .scale1 = 0x0000,
228 .scale1 = 0x0bae,
296 wf_smu_sys_fans->scale1 = param->scale1; in wf_smu_create_sys_fans()
364 cputarget = ((((s64)cputarget) * (s64)st->scale1) >> 12) + st->offset1; in wf_smu_sys_fans_tick()
/drivers/pci/pcie/
Daspm.c493 u32 val1, val2, scale1, scale2; in aspm_calc_l1ss_info() local
509 scale1 = (parent_l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_SCALE) >> 16; in aspm_calc_l1ss_info()
513 if (calc_l1ss_pwron(parent, scale1, val1) > in aspm_calc_l1ss_info()
515 ctl2 |= scale1 | (val1 << 3); in aspm_calc_l1ss_info()
516 t_power_on = calc_l1ss_pwron(parent, scale1, val1); in aspm_calc_l1ss_info()