Lines Matching refs:delta
427 u64 tsc, t1, t2, delta;
464 delta = t2 - tsc;
466 if ((unsigned long) delta < tscmin)
467 tscmin = (unsigned int) delta;
468 if ((unsigned long) delta > tscmax)
469 tscmax = (unsigned int) delta;
486 delta = t2 - t1;
487 do_div(delta, ms);
488 return delta;
566 u64 tsc, delta;
600 if (!pit_expect_msb(0xff-i, &delta, &d2))
603 delta -= tsc;
610 d1 + d2 >= (delta * MAX_QUICK_PIT_ITERATIONS) >> 11)
616 if (d1+d2 >= delta >> 11)
648 delta *= PIT_TICK_RATE;
649 do_div(delta, i*256*1000);
651 return delta;
755 u64 tsc1, tsc2, delta, ref1, ref2;
769 * the delta to the previous read. We keep track of the min
770 * and max values of that delta. The delta is mostly defined
825 delta = ((u64) tsc_pit_min) * 100;
826 do_div(delta, tsc_ref_min);
834 if (delta >= 90 && delta <= 110) {
1118 * is slightly behind. This delta is nowhere else observable, but in
1120 * due to the unsigned delta calculation of the time keeping core
1380 u64 tsc_stop, ref_stop, delta;
1415 delta = tsc_stop - tsc_start;
1416 delta *= 1000000LL;
1418 freq = calc_hpet_ref(delta, ref_start, ref_stop);
1420 freq = calc_pmtimer_ref(delta, ref_start, ref_stop);