Searched refs:cyc_to_ns (Results 1 – 2 of 2) sorted by relevance
| /linux-4.4.14/kernel/time/ |
| D | sched_clock.c | 91 static inline u64 notrace cyc_to_ns(u64 cyc, u32 mult, u32 shift) in cyc_to_ns() function 108 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift); in sched_clock() 151 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in update_sched_clock() 196 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in sched_clock_register() 222 res = cyc_to_ns(1ULL, new_mult, new_shift); in sched_clock_register()
|
| /linux-4.4.14/arch/arm/lib/ |
| D | delay.c | 52 static inline u64 cyc_to_ns(u64 cyc, u32 mult, u32 shift) in cyc_to_ns() function 84 res = cyc_to_ns(1ULL, new_mult, new_shift); in register_current_timer_delay()
|