Lines Matching refs:watchdog
119 static struct clocksource *watchdog; variable
229 wdnow = watchdog->read(watchdog); in clocksource_watchdog()
241 delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); in clocksource_watchdog()
242 wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, in clocksource_watchdog()
243 watchdog->shift); in clocksource_watchdog()
260 watchdog->name, wdnow, wdlast, watchdog->mask); in clocksource_watchdog()
272 (watchdog->flags & CLOCK_SOURCE_IS_CONTINUOUS)) { in clocksource_watchdog()
322 if (watchdog_running || !watchdog || list_empty(&watchdog_list)) in clocksource_start_watchdog()
332 if (!watchdog_running || (watchdog && !list_empty(&watchdog_list))) in clocksource_stop_watchdog()
373 old_wd = watchdog; in clocksource_select_watchdog()
375 watchdog = NULL; in clocksource_select_watchdog()
387 if (!watchdog || cs->rating > watchdog->rating) in clocksource_select_watchdog()
388 watchdog = cs; in clocksource_select_watchdog()
391 if (!watchdog) in clocksource_select_watchdog()
392 watchdog = old_wd; in clocksource_select_watchdog()
395 if (watchdog != old_wd) in clocksource_select_watchdog()
405 if (cs != watchdog) { in clocksource_dequeue_watchdog()
451 return cs == watchdog; in clocksource_is_watchdog()