Home
last modified time | relevance | path

Searched refs:maxadj (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/kernel/time/
Dclocksource.c807 u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) in clocks_calc_max_nsecs() argument
816 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs()
825 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs()
845 cs->maxadj, cs->mask, in clocksource_update_max_deferment()
1052 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale()
1053 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale()
1054 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale()
1057 cs->maxadj = clocksource_max_adjustment(cs); in __clocksource_update_freq_scale()
1064 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale()
Dtimekeeping.c1998 if (unlikely(tk->tkr_mono.clock->maxadj && in timekeeping_adjust()
2000 > tk->tkr_mono.clock->maxadj))) { in timekeeping_adjust()
2004 (long)tk->tkr_mono.clock->mult + tk->tkr_mono.clock->maxadj); in timekeeping_adjust()
/kernel/linux/linux-5.10/include/linux/
Dclocksource.h97 u32 maxadj; member
216 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);