Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/iio/adc/
Dmeson_saradc.c181 #define MILLION 1000000 macro
402 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val()
717 *val = priv->calibscale / MILLION; in meson_sar_adc_iio_info_read_raw()
718 *val2 = priv->calibscale % MILLION; in meson_sar_adc_iio_info_read_raw()
1156 priv->calibscale = div_s64((nominal1 - nominal0) * (s64)MILLION, in meson_sar_adc_calib()
1159 MILLION); in meson_sar_adc_calib()
1397 priv->calibscale = MILLION; in meson_sar_adc_probe()
/linux-6.12.1/block/
Dblk-iocost.c213 MILLION = 1000000, enumerator
258 VRATE_MIN = VTIME_PER_USEC * VRATE_MIN_PPM / MILLION,
789 multi = max_t(u32, (MILLION - ppm) / 50000, 2); in ioc_refresh_period_us()
944 VTIME_PER_USEC, MILLION); in ioc_refresh_params_disk()
946 VTIME_PER_USEC, MILLION); in ioc_refresh_params_disk()
1621 DIV64_U64_ROUND_UP((u64)nr_missed[rw] * MILLION, in ioc_lat_stat()
2256 ppm_rthr = MILLION - ioc->params.qos[QOS_RPPM]; in ioc_timer_fn()
2257 ppm_wthr = MILLION - ioc->params.qos[QOS_WPPM]; in ioc_timer_fn()
2293 if ((ppm_rthr != MILLION || ppm_wthr != MILLION) && in ioc_timer_fn()