Searched refs:maxadj (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/kernel/time/ |
D | clocksource.c | 948 u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) in clocks_calc_max_nsecs() argument 957 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs() 966 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs() 986 cs->maxadj, cs->mask, in clocksource_update_max_deferment() 1190 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 1191 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale() 1192 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale() 1195 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale() 1202 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale()
|
D | timekeeping.c | 2158 if (unlikely(tk->tkr_mono.clock->maxadj && in timekeeping_adjust() 2160 > tk->tkr_mono.clock->maxadj))) { in timekeeping_adjust() 2164 (long)tk->tkr_mono.clock->mult + tk->tkr_mono.clock->maxadj); in timekeeping_adjust()
|
/linux-6.12.1/include/linux/ |
D | clocksource.h | 106 u32 maxadj; member 228 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);
|