Searched refs:maxadj (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/kernel/time/ |
D | clocksource.c | 938 u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) in clocks_calc_max_nsecs() argument 947 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs() 956 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs() 976 cs->maxadj, cs->mask, in clocksource_update_max_deferment() 1175 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 1176 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale() 1177 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale() 1180 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 1187 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.6.21/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);
|