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()
304 if (watchdog_running || !watchdog || list_empty(&watchdog_list)) in clocksource_start_watchdog()
314 if (!watchdog_running || (watchdog && !list_empty(&watchdog_list))) in clocksource_stop_watchdog()
355 old_wd = watchdog; in clocksource_select_watchdog()
357 watchdog = NULL; in clocksource_select_watchdog()
369 if (!watchdog || cs->rating > watchdog->rating) in clocksource_select_watchdog()
370 watchdog = cs; in clocksource_select_watchdog()
373 if (!watchdog) in clocksource_select_watchdog()
374 watchdog = old_wd; in clocksource_select_watchdog()
377 if (watchdog != old_wd) in clocksource_select_watchdog()
387 if (cs != watchdog) { in clocksource_dequeue_watchdog()
433 return cs == watchdog; in clocksource_is_watchdog()