Lines Matching refs:watchdog
123 static struct clocksource *watchdog; variable
228 *wdnow = watchdog->read(watchdog); in cs_watchdog_read()
230 wd_end = watchdog->read(watchdog); in cs_watchdog_read()
231 wd_end2 = watchdog->read(watchdog); in cs_watchdog_read()
234 wd_delta = clocksource_delta(wd_end, *wdnow, watchdog->mask); in cs_watchdog_read()
235 wd_delay = clocksource_cyc2ns(wd_delta, watchdog->mult, in cs_watchdog_read()
236 watchdog->shift); in cs_watchdog_read()
240 smp_processor_id(), watchdog->name, nretries); in cs_watchdog_read()
254 wd_delta = clocksource_delta(wd_end2, wd_end, watchdog->mask); in cs_watchdog_read()
255 wd_seq_delay = clocksource_cyc2ns(wd_delta, watchdog->mult, watchdog->shift); in cs_watchdog_read()
261 smp_processor_id(), watchdog->name, wd_delay, nretries); in cs_watchdog_read()
266 smp_processor_id(), watchdog->name, wd_seq_delay); in cs_watchdog_read()
429 delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); in clocksource_watchdog()
430 wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, in clocksource_watchdog()
431 watchdog->shift); in clocksource_watchdog()
444 md = cs->uncertainty_margin + watchdog->uncertainty_margin; in clocksource_watchdog()
449 watchdog->name, wd_nsec, wdnow, wdlast, watchdog->mask); in clocksource_watchdog()
467 (watchdog->flags & CLOCK_SOURCE_IS_CONTINUOUS)) { in clocksource_watchdog()
524 if (watchdog_running || !watchdog || list_empty(&watchdog_list)) in clocksource_start_watchdog()
534 if (!watchdog_running || (watchdog && !list_empty(&watchdog_list))) in clocksource_stop_watchdog()
575 old_wd = watchdog; in clocksource_select_watchdog()
577 watchdog = NULL; in clocksource_select_watchdog()
589 if (!watchdog || cs->rating > watchdog->rating) in clocksource_select_watchdog()
590 watchdog = cs; in clocksource_select_watchdog()
593 if (!watchdog) in clocksource_select_watchdog()
594 watchdog = old_wd; in clocksource_select_watchdog()
597 if (watchdog != old_wd) in clocksource_select_watchdog()
607 if (cs != watchdog) { in clocksource_dequeue_watchdog()
659 return cs == watchdog; in clocksource_is_watchdog()