Home
last modified time | relevance | path

Searched refs:uncertainty_margin (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/time/
H A Dclocksource-wdtest.c43 .uncertainty_margin = TICK_NSEC,
62 udelay(cs->uncertainty_margin / 250); in wdtest_ktime_read()
119 WARN_ON_ONCE(clocksource_wdtest_jiffies.uncertainty_margin != TICK_NSEC); in wdtest_func()
134 WARN_ON_ONCE(clocksource_wdtest_ktime.uncertainty_margin < NSEC_PER_USEC); in wdtest_func()
H A Dclocksource.c255 int64_t md = 2 * watchdog->uncertainty_margin; in cs_watchdog_read()
270 if (wd_delay <= md + cs->uncertainty_margin) { in cs_watchdog_read()
519 md = cs->uncertainty_margin + watchdog->uncertainty_margin; in clocksource_watchdog()
1194 if (scale && freq && !cs->uncertainty_margin) { in __clocksource_update_freq_scale()
1195 cs->uncertainty_margin = NSEC_PER_SEC / (scale * freq); in __clocksource_update_freq_scale()
1196 if (cs->uncertainty_margin < 2 * WATCHDOG_MAX_SKEW) in __clocksource_update_freq_scale()
1197 cs->uncertainty_margin = 2 * WATCHDOG_MAX_SKEW; in __clocksource_update_freq_scale()
1198 } else if (!cs->uncertainty_margin) { in __clocksource_update_freq_scale()
1199 cs->uncertainty_margin = WATCHDOG_THRESHOLD; in __clocksource_update_freq_scale()
1201 WARN_ON_ONCE(cs->uncertainty_margin < 2 * WATCHDOG_MAX_SKEW); in __clocksource_update_freq_scale()
H A Djiffies.c35 .uncertainty_margin = 32 * NSEC_PER_MSEC,
/linux/include/linux/
H A Dclocksource.h108 u32 uncertainty_margin; member
/linux/arch/x86/kernel/
H A Dtsc.c1169 .uncertainty_margin = 32 * NSEC_PER_MSEC,