Lines Matching refs:interval
394 static __always_inline int clocksource_bigadjust(s64 error, s64 *interval, in clocksource_bigadjust() argument
424 i = *interval; in clocksource_bigadjust()
428 *interval = -*interval; in clocksource_bigadjust()
435 *interval <<= adj; in clocksource_bigadjust()
447 s64 error, interval = clock->cycle_interval; in clocksource_adjust() local
451 if (error > interval) { in clocksource_adjust()
453 if (likely(error <= interval)) in clocksource_adjust()
456 adj = clocksource_bigadjust(error, &interval, &offset); in clocksource_adjust()
457 } else if (error < -interval) { in clocksource_adjust()
459 if (likely(error >= -interval)) { in clocksource_adjust()
461 interval = -interval; in clocksource_adjust()
464 adj = clocksource_bigadjust(error, &interval, &offset); in clocksource_adjust()
469 clock->xtime_interval += interval; in clocksource_adjust()
471 clock->error -= (interval - offset) << in clocksource_adjust()