Home
last modified time | relevance | path

Searched refs:scale2 (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/iio/afe/
H A Diio-rescale.c113 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
219 ret = iio_read_channel_scale(rescale->source, &scale, &scale2); in rescale_read_raw()
220 return rescale_process_offset(rescale, ret, scale, scale2, in rescale_read_raw()
/openbmc/linux/drivers/iio/pressure/
H A Dmprls0025pa.c112 int scale2; /* nano part of scale */ member
304 *val2 = data->scale2; in mpr_read_raw()
389 data->scale = div_s64_rem(scale, NANO, &data->scale2); in mpr_probe()
/openbmc/linux/include/linux/iio/afe/
H A Drescale.h34 int scale, int scale2, int schan_off,
/openbmc/linux/drivers/pci/pcie/
H A Daspm.c442 u32 val1, val2, scale1, scale2; in aspm_calc_l12_info() local
457 scale2 = (child_l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_SCALE) >> 16; in aspm_calc_l12_info()
460 calc_l12_pwron(child, scale2, val2)) { in aspm_calc_l12_info()
464 ctl2 |= scale2 | (val2 << 3); in aspm_calc_l12_info()
465 t_power_on = calc_l12_pwron(child, scale2, val2); in aspm_calc_l12_info()
/openbmc/linux/drivers/iio/light/
H A Drohm-bu27034.c514 int scale1, scale2; in bu27034_try_set_int_time() local
517 _bu27034_get_scale(data, gains[i].chan, &scale1, &scale2); in bu27034_try_set_int_time()
520 gains[i].chan, time_us, scale1, scale2); in bu27034_try_set_int_time()
H A Drohm-bu27008.c901 int scale1, scale2; in bu27008_try_set_int_time() local
904 _bu27008_get_scale(data, false, &scale1, &scale2); in bu27008_try_set_int_time()
907 int_time_new, scale1, scale2); in bu27008_try_set_int_time()
/openbmc/qemu/tests/tcg/i386/
H A Dx86.csv162 # scale1, scale2, scale4, scale8, scale16, scale32, scale64 specify
3381 …2/m16, {k}{z}, xmm1","EVEX.128.66.0F38.W0 79 /r","V","V","AVX512BW+AVX512VL","scale2","w,r,r","",""
3382 …2/m16, {k}{z}, ymm1","EVEX.256.66.0F38.W0 79 /r","V","V","AVX512BW+AVX512VL","scale2","w,r,r","",""
3383 …castw xmm2/m16, {k}{z}, zmm1","EVEX.512.66.0F38.W0 79 /r","V","V","AVX512BW","scale2","w,r,r","",""
3472 …}{z}, xmm2/m128","EVEX.128.66.0F38.W1 63 /r","V","V","AVX512_VBMI2+AVX512VL","scale2","w,r,r","",""
3473 …}{z}, ymm2/m256","EVEX.256.66.0F38.W1 63 /r","V","V","AVX512_VBMI2+AVX512VL","scale2","w,r,r","",""
3474 … zmm1, {k}{z}, zmm2/m512","EVEX.512.66.0F38.W1 63 /r","V","V","AVX512_VBMI2","scale2","w,r,r","",""
3596 …8, {k}{z}, xmm1","EVEX.128.66.0F38.W1 62 /r","V","V","AVX512_VBMI2+AVX512VL","scale2","w,r,r","",""
3597 …6, {k}{z}, ymm1","EVEX.256.66.0F38.W1 62 /r","V","V","AVX512_VBMI2+AVX512VL","scale2","w,r,r","",""
3598 … zmm2/m512, {k}{z}, zmm1","EVEX.512.66.0F38.W1 62 /r","V","V","AVX512_VBMI2","scale2","w,r,r","",""
[all …]
/openbmc/linux/arch/m68k/ifpsp060/src/
H A Dfpsp.S13983 add.l (%sp)+,%d0 # SCALE_FACTOR = scale1 + scale2
14327 neg.l (%sp) # S.F. = scale1 - scale2