Searched refs:cyc_to_ns (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/kernel/time/ |
D | sched_clock.c | 67 static inline u64 notrace cyc_to_ns(u64 cyc, u32 mult, u32 shift) in cyc_to_ns() function 94 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift); in sched_clock() 137 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in update_sched_clock() 183 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in sched_clock_register() 213 res = cyc_to_ns(1ULL, new_mult, new_shift); in sched_clock_register()
|
/linux-5.19.10/arch/arm/lib/ |
D | delay.c | 40 static inline u64 cyc_to_ns(u64 cyc, u32 mult, u32 shift) in cyc_to_ns() function 72 res = cyc_to_ns(1ULL, new_mult, new_shift); in register_current_timer_delay()
|