Searched refs:MILLION (Results 1 – 2 of 2) sorted by relevance
33 #define MILLION 1000000 macro110 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()
170 #define MILLION 1000000 macro281 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val()574 *val = priv->calibscale / MILLION; in meson_sar_adc_iio_info_read_raw()575 *val2 = priv->calibscale % MILLION; in meson_sar_adc_iio_info_read_raw()876 priv->calibscale = div_s64((nominal1 - nominal0) * (s64)MILLION, in meson_sar_adc_calib()879 MILLION); in meson_sar_adc_calib()1079 priv->calibscale = MILLION; in meson_sar_adc_probe()