Lines Matching refs:watchdog

132 static struct clocksource *watchdog;  variable
233 *wdnow = watchdog->read(watchdog); in cs_watchdog_read()
235 wd_end = watchdog->read(watchdog); in cs_watchdog_read()
236 wd_end2 = watchdog->read(watchdog); in cs_watchdog_read()
239 wd_delta = clocksource_delta(wd_end, *wdnow, watchdog->mask); in cs_watchdog_read()
240 wd_delay = clocksource_cyc2ns(wd_delta, watchdog->mult, in cs_watchdog_read()
241 watchdog->shift); in cs_watchdog_read()
245 smp_processor_id(), watchdog->name, nretries); in cs_watchdog_read()
259 wd_delta = clocksource_delta(wd_end2, wd_end, watchdog->mask); in cs_watchdog_read()
260 wd_seq_delay = clocksource_cyc2ns(wd_delta, watchdog->mult, watchdog->shift); in cs_watchdog_read()
271 smp_processor_id(), watchdog->name, wd_seq_delay); in cs_watchdog_read()
461 delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); in clocksource_watchdog()
462 wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, in clocksource_watchdog()
463 watchdog->shift); in clocksource_watchdog()
497 md = cs->uncertainty_margin + watchdog->uncertainty_margin; in clocksource_watchdog()
506 watchdog->name, wd_nsec, wdnow, wdlast, watchdog->mask); in clocksource_watchdog()
512 cs->name, cs_nsec - wd_nsec, cs_wd_msec, watchdog->name, wd_nsec, wd_msec); in clocksource_watchdog()
528 (watchdog->flags & CLOCK_SOURCE_IS_CONTINUOUS)) { in clocksource_watchdog()
585 if (watchdog_running || !watchdog || list_empty(&watchdog_list)) in clocksource_start_watchdog()
595 if (!watchdog_running || (watchdog && !list_empty(&watchdog_list))) in clocksource_stop_watchdog()
628 old_wd = watchdog; in clocksource_select_watchdog()
630 watchdog = NULL; in clocksource_select_watchdog()
642 if (!watchdog || cs->rating > watchdog->rating) in clocksource_select_watchdog()
643 watchdog = cs; in clocksource_select_watchdog()
646 if (!watchdog) in clocksource_select_watchdog()
647 watchdog = old_wd; in clocksource_select_watchdog()
650 if (watchdog != old_wd) in clocksource_select_watchdog()
660 if (cs != watchdog) { in clocksource_dequeue_watchdog()
712 return cs == watchdog; in clocksource_is_watchdog()