Lines Matching refs:watchdog
101 static struct clocksource *watchdog; variable
211 wdnow = watchdog->read(watchdog); in clocksource_watchdog()
223 delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); in clocksource_watchdog()
224 wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, in clocksource_watchdog()
225 watchdog->shift); in clocksource_watchdog()
242 watchdog->name, wdnow, wdlast, watchdog->mask); in clocksource_watchdog()
254 (watchdog->flags & CLOCK_SOURCE_IS_CONTINUOUS)) { in clocksource_watchdog()
311 if (watchdog_running || !watchdog || list_empty(&watchdog_list)) in clocksource_start_watchdog()
321 if (!watchdog_running || (watchdog && !list_empty(&watchdog_list))) in clocksource_stop_watchdog()
362 old_wd = watchdog; in clocksource_select_watchdog()
364 watchdog = NULL; in clocksource_select_watchdog()
376 if (!watchdog || cs->rating > watchdog->rating) in clocksource_select_watchdog()
377 watchdog = cs; in clocksource_select_watchdog()
380 if (!watchdog) in clocksource_select_watchdog()
381 watchdog = old_wd; in clocksource_select_watchdog()
384 if (watchdog != old_wd) in clocksource_select_watchdog()
394 if (cs != watchdog) { in clocksource_dequeue_watchdog()
440 return cs == watchdog; in clocksource_is_watchdog()