Lines Matching refs:clocksource_wdtest_ktime
83 static struct clocksource clocksource_wdtest_ktime = { variable
90 .list = LIST_HEAD_INIT(clocksource_wdtest_ktime.list),
96 if (clocksource_wdtest_ktime.flags & CLOCK_SOURCE_UNSTABLE) { in wdtest_ktime_clocksource_reset()
97 clocksource_unregister(&clocksource_wdtest_ktime); in wdtest_ktime_clocksource_reset()
98 clocksource_wdtest_ktime.flags = KTIME_FLAGS; in wdtest_ktime_clocksource_reset()
100 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_ktime_clocksource_reset()
133 clocksource_register_khz(&clocksource_wdtest_ktime, 1000 * 1000); in wdtest_func()
134 WARN_ON_ONCE(clocksource_wdtest_ktime.uncertainty_margin < NSEC_PER_USEC); in wdtest_func()
136 j1 = clocksource_wdtest_ktime.read(&clocksource_wdtest_ktime); in wdtest_func()
138 j2 = clocksource_wdtest_ktime.read(&clocksource_wdtest_ktime); in wdtest_func()
156 !(clocksource_wdtest_ktime.flags & CLOCK_SOURCE_UNSTABLE)); in wdtest_func()
164 WARN_ON_ONCE(!(clocksource_wdtest_ktime.flags & CLOCK_SOURCE_UNSTABLE)); in wdtest_func()
165 clocksource_verify_percpu(&clocksource_wdtest_ktime); in wdtest_func()
168 clocksource_unregister(&clocksource_wdtest_ktime); in wdtest_func()