Lines Matching refs:cs_nsec
339 int64_t cs_nsec, cs_nsec_max = 0, cs_nsec_min = LLONG_MAX; in clocksource_verify_percpu() local
372 cs_nsec = clocksource_cyc2ns(delta, cs->mult, cs->shift); in clocksource_verify_percpu()
373 if (cs_nsec > cs_nsec_max) in clocksource_verify_percpu()
374 cs_nsec_max = cs_nsec; in clocksource_verify_percpu()
375 if (cs_nsec < cs_nsec_min) in clocksource_verify_percpu()
376 cs_nsec_min = cs_nsec; in clocksource_verify_percpu()
404 int64_t wd_nsec, cs_nsec, interval; in clocksource_watchdog() local
466 cs_nsec = clocksource_cyc2ns(delta, cs->mult, cs->shift); in clocksource_watchdog()
484 interval = max(cs_nsec, wd_nsec); in clocksource_watchdog()
490 cs_nsec, wd_nsec); in clocksource_watchdog()
498 if (abs(cs_nsec - wd_nsec) > md) { in clocksource_watchdog()
508 cs->name, cs_nsec, csnow, cslast, cs->mask); in clocksource_watchdog()
509 cs_wd_msec = div_s64_rem(cs_nsec - wd_nsec, 1000 * 1000, &wd_rem); in clocksource_watchdog()
512 cs->name, cs_nsec - wd_nsec, cs_wd_msec, watchdog->name, wd_nsec, wd_msec); in clocksource_watchdog()