Searched refs:NANO (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/iio/pressure/ |
H A D | mprls0025pa.c | 387 scale = div_s64(((s64)(data->pmax - data->pmin)) * NANO, in mpr_probe() 389 data->scale = div_s64_rem(scale, NANO, &data->scale2); in mpr_probe() 394 offset = ((-1LL) * (s64)data->outmin) * NANO - in mpr_probe() 395 div_s64(div_s64((s64)data->pmin * NANO, scale), NANO); in mpr_probe() 396 data->offset = div_s64_rem(offset, NANO, &data->offset2); in mpr_probe()
|
/openbmc/linux/drivers/iio/ |
H A D | industrialio-gts-helper.c | 83 if (scaler > NANO) in iio_gts_delinearize() 92 *scale_nano = frac * (NANO / scaler); in iio_gts_delinearize() 104 if (scaler > NANO || !scaler) in iio_gts_linearize() 108 (u64)(scale_nano / (NANO / scaler)); in iio_gts_linearize() 135 return iio_gts_delinearize(tmp, NANO, scale_int, scale_nano); in iio_gts_total_gain_to_scale() 574 ret = iio_gts_linearize(max_scale_int, max_scale_nano, NANO, in iio_init_iio_gts() 866 ret = iio_gts_linearize(scale_int, scale_nano, NANO, &scale_linear); in iio_gts_find_gain_for_scale_using_time() 976 return iio_gts_delinearize(lin_scale, NANO, scale_int, scale_nano); in iio_gts_get_scale()
|
/openbmc/u-boot/board/terasic/de10-nano/ |
H A D | MAINTAINERS | 1 DE10-NANO BOARD
|
/openbmc/linux/include/linux/ |
H A D | units.h | 19 #define NANO 1000000000UL macro
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad4130.c | 847 ((u64)val * NANO + val2); in ad4130_freq_to_fs() 848 divisor = (u64)AD4130_MAX_ODR * NANO; in ad4130_freq_to_fs() 873 temp = div_u64((u64)dividend * NANO, divisor); in ad4130_fs_to_freq() 874 *val = div_u64_rem(temp, NANO, val2); in ad4130_fs_to_freq() 1753 nv = (u64)ret * NANO; in ad4130_fill_scale_tbls()
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | tc358768.c | 663 return (u32)div_u64((u64)val * NANO, pclk); in tc358768_dpi_to_ns() 677 u64 m = (u64)val * NANO; in tc358768_dsi_bytes_to_ns()
|
/openbmc/u-boot/board/sunxi/ |
H A D | MAINTAINERS | 257 LINKSPRITE-PCDUINO3-NANO BOARD
|