Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c319 int scale1, int exp) in adjust_exponent_nano() argument
334 x = scale1 / pow_10(8 - i); in adjust_exponent_nano()
336 scale1 = scale1 % pow_10(8 - i); in adjust_exponent_nano()
339 *val1 = scale1 * pow_10(exp); in adjust_exponent_nano()
350 x = scale1 / pow_10(8 - i); in adjust_exponent_nano()
352 scale1 = scale1 % pow_10(8 - i); in adjust_exponent_nano()
357 *val1 = scale1; in adjust_exponent_nano()
/Linux-v4.19/drivers/macintosh/
Dwindfarm_pm81.c172 u16 scale1; member
187 u16 scale1; member
205 .scale1 = 0x07ae,
217 .scale1 = 0x0000,
229 .scale1 = 0x0bae,
297 wf_smu_sys_fans->scale1 = param->scale1; in wf_smu_create_sys_fans()
365 cputarget = ((((s64)cputarget) * (s64)st->scale1) >> 12) + st->offset1; in wf_smu_sys_fans_tick()
/Linux-v4.19/drivers/pci/pcie/
Daspm.c484 u32 val1, val2, scale1, scale2; in aspm_calc_l1ss_info() local
501 scale1 = (upreg->l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_SCALE) >> 16; in aspm_calc_l1ss_info()
505 if (calc_l1ss_pwron(link->pdev, scale1, val1) > in aspm_calc_l1ss_info()
507 link->l1ss.ctl2 |= scale1 | (val1 << 3); in aspm_calc_l1ss_info()
508 t_power_on = calc_l1ss_pwron(link->pdev, scale1, val1); in aspm_calc_l1ss_info()
/Linux-v4.19/arch/m68k/ifpsp060/src/
Dfpsp.S13983 add.l (%sp)+,%d0 # SCALE_FACTOR = scale1 + scale2
14327 neg.l (%sp) # S.F. = scale1 - scale2