Home
last modified time | relevance | path

Searched refs:cyc_to_ns (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/time/
H A Dsched_clock.c67 static __always_inline u64 cyc_to_ns(u64 cyc, u32 mult, u32 shift) in cyc_to_ns() function
95 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift); in sched_clock_noinstr()
147 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in update_sched_clock()
193 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in sched_clock_register()
223 res = cyc_to_ns(1ULL, new_mult, new_shift); in sched_clock_register()
/openbmc/linux/arch/arm/lib/
H A Ddelay.c40 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()