Searched refs:scale2 (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/iio/afe/ |
D | iio-rescale.c | 113 int scale, int scale2, int schan_off, in rescale_process_offset() argument 120 tmp = (s64)rescale->offset * scale2; in rescale_process_offset() 127 tmp = (s64)rescale->offset * (1 << scale2); in rescale_process_offset() 132 tmp2 = ((s64)scale * 1000000000LL) + scale2; in rescale_process_offset() 137 tmp2 = ((s64)scale * 1000000LL) + scale2; in rescale_process_offset() 151 int scale, scale2; in rescale_read_raw() local 217 ret = iio_read_channel_scale(rescale->source, &scale, &scale2); in rescale_read_raw() 218 return rescale_process_offset(rescale, ret, scale, scale2, in rescale_read_raw()
|
/Linux-v6.1/include/linux/iio/afe/ |
D | rescale.h | 34 int scale, int scale2, int schan_off,
|
/Linux-v6.1/drivers/pci/pcie/ |
D | aspm.c | 503 u32 val1, val2, scale1, scale2; in aspm_calc_l1ss_info() local 520 scale2 = (child_l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_SCALE) >> 16; in aspm_calc_l1ss_info() 523 calc_l1ss_pwron(child, scale2, val2)) { in aspm_calc_l1ss_info() 527 ctl2 |= scale2 | (val2 << 3); in aspm_calc_l1ss_info() 528 t_power_on = calc_l1ss_pwron(child, scale2, val2); in aspm_calc_l1ss_info()
|
/Linux-v6.1/arch/m68k/ifpsp060/src/ |
D | fpsp.S | 13983 add.l (%sp)+,%d0 # SCALE_FACTOR = scale1 + scale2 14327 neg.l (%sp) # S.F. = scale1 - scale2
|