Lines Matching refs:clocksource_wdtest_ktime
82 static struct clocksource clocksource_wdtest_ktime = { variable
89 .list = LIST_HEAD_INIT(clocksource_wdtest_ktime.list),
95 if (clocksource_wdtest_ktime.flags & CLOCK_SOURCE_UNSTABLE) { in wdtest_ktime_clocksource_reset()
96 clocksource_unregister(&clocksource_wdtest_ktime); in wdtest_ktime_clocksource_reset()
97 clocksource_wdtest_ktime.flags = KTIME_FLAGS; in wdtest_ktime_clocksource_reset()
99 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_ktime_clocksource_reset()
132 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_func()
133 WARN_ON_ONCE(clocksource_wdtest_ktime.uncertainty_margin < NSEC_PER_USEC); in wdtest_func()
135 j1 = clocksource_wdtest_ktime.read(&clocksource_wdtest_ktime); in wdtest_func()
137 j2 = clocksource_wdtest_ktime.read(&clocksource_wdtest_ktime); in wdtest_func()
154 !(clocksource_wdtest_ktime.flags & CLOCK_SOURCE_UNSTABLE)); in wdtest_func()
162 WARN_ON_ONCE(!(clocksource_wdtest_ktime.flags & CLOCK_SOURCE_UNSTABLE)); in wdtest_func()
163 clocksource_verify_percpu(&clocksource_wdtest_ktime); in wdtest_func()
166 clocksource_unregister(&clocksource_wdtest_ktime); in wdtest_func()