Searched refs:maxadj (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/kernel/time/ |
D | clocksource.c | 659 u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) in clocks_calc_max_nsecs() argument 668 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs() 677 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs() 697 cs->maxadj, cs->mask, in clocksource_update_max_deferment() 884 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 885 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale() 886 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale() 889 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 896 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale()
|
D | timekeeping.c | 1926 if (unlikely(tk->tkr_mono.clock->maxadj && in timekeeping_adjust() 1928 > tk->tkr_mono.clock->maxadj))) { in timekeeping_adjust() 1932 (long)tk->tkr_mono.clock->mult + tk->tkr_mono.clock->maxadj); in timekeeping_adjust()
|
/Linux-v5.4/include/linux/ |
D | clocksource.h | 86 u32 maxadj; member 202 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);
|