Searched refs:max_cycles (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/kernel/time/ |
D | clocksource.c | 661 u64 max_nsecs, max_cycles; in clocks_calc_max_nsecs() local 667 max_cycles = ULLONG_MAX; in clocks_calc_max_nsecs() 668 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs() 676 max_cycles = min(max_cycles, mask); in clocks_calc_max_nsecs() 677 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs() 681 *max_cyc = max_cycles; in clocks_calc_max_nsecs() 698 &cs->max_cycles); in clocksource_update_max_deferment() 903 cs->name, cs->mask, cs->max_cycles, cs->max_idle_ns); in __clocksource_update_freq_scale()
|
D | jiffies.c | 58 .max_cycles = 10,
|
D | timekeeping.c | 182 u64 max_cycles = tk->tkr_mono.clock->max_cycles; in timekeeping_check_update() local 185 if (offset > max_cycles) { in timekeeping_check_update() 187 offset, name, max_cycles); in timekeeping_check_update() 190 if (offset > (max_cycles >> 1)) { in timekeeping_check_update() 192 offset, name, max_cycles >> 1); in timekeeping_check_update() 236 max = tkr->clock->max_cycles; in timekeeping_get_delta() 253 delta = tkr->clock->max_cycles; in timekeeping_get_delta()
|
/Linux-v5.4/include/linux/ |
D | clocksource.h | 90 u64 max_cycles; member 202 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);
|