Searched refs:maxadj (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/kernel/time/ |
D | clocksource.c | 885 u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) in clocks_calc_max_nsecs() argument 894 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs() 903 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs() 923 cs->maxadj, cs->mask, in clocksource_update_max_deferment() 1122 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 1123 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale() 1124 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale() 1127 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 1134 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale()
|
D | timekeeping.c | 2029 if (unlikely(tk->tkr_mono.clock->maxadj && in timekeeping_adjust() 2031 > tk->tkr_mono.clock->maxadj))) { in timekeeping_adjust() 2035 (long)tk->tkr_mono.clock->mult + tk->tkr_mono.clock->maxadj); in timekeeping_adjust()
|
/linux-6.1.9/include/linux/ |
D | clocksource.h | 102 u32 maxadj; member 222 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);
|