Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/timers/
Dadjtick.c33 #define MILLION 1000000 macro
110 eppm = (delta1*MILLION)/delta2 - MILLION; in get_ppm_drift()
134 ppm = ((long long)tickval * MILLION)/systick - MILLION; in check_tick_adj()
138 printf("%lld usec, %lld ppm", systick + (systick * eppm / MILLION), eppm); in check_tick_adj()
/Linux-v5.10/drivers/iio/adc/
Dmeson_saradc.c176 #define MILLION 1000000 macro
317 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val()
635 *val = priv->calibscale / MILLION; in meson_sar_adc_iio_info_read_raw()
636 *val2 = priv->calibscale % MILLION; in meson_sar_adc_iio_info_read_raw()
1056 priv->calibscale = div_s64((nominal1 - nominal0) * (s64)MILLION, in meson_sar_adc_calib()
1059 MILLION); in meson_sar_adc_calib()
1271 priv->calibscale = MILLION; in meson_sar_adc_probe()
/Linux-v5.10/block/
Dblk-iocost.c213 MILLION = 1000000, enumerator
256 VRATE_MIN = VTIME_PER_USEC * VRATE_MIN_PPM / MILLION,
793 multi = max_t(u32, (MILLION - ppm) / 50000, 2); in ioc_refresh_period_us()
932 VTIME_PER_USEC, MILLION); in ioc_refresh_params()
934 VTIME_PER_USEC, MILLION); in ioc_refresh_params()
1533 DIV64_U64_ROUND_UP((u64)nr_missed[rw] * MILLION, in ioc_lat_stat()
2082 u32 ppm_rthr = MILLION - ioc->params.qos[QOS_RPPM]; in ioc_timer_fn()
2083 u32 ppm_wthr = MILLION - ioc->params.qos[QOS_WPPM]; in ioc_timer_fn()
2190 if ((ppm_rthr != MILLION || ppm_wthr != MILLION) && in ioc_timer_fn()