Home
last modified time | relevance | path

Searched refs:tb_to_ns (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dwatchdog.c154 tb_to_ns(tb - per_cpu(wd_timer_tb, cpu)) / 1000000); in wd_lockup_ipi()
236 cpu, tb, last_reset, tb_to_ns(tb - last_reset) / 1000000); in watchdog_smp_panic()
411 tb_to_ns(tb - per_cpu(wd_timer_tb, cpu)) / 1000000); in DEFINE_INTERRUPT_HANDLER_NMI()
H A Dtime.c602 unsigned long long tb_to_ns(unsigned long long ticks) in tb_to_ns() function
606 EXPORT_SYMBOL_GPL(tb_to_ns);
/openbmc/linux/arch/powerpc/include/asm/
H A Dcputime.h25 #define cputime_to_nsecs(cputime) tb_to_ns(cputime)
H A Dtime.h115 unsigned long long tb_to_ns(unsigned long long tb_ticks);
/openbmc/linux/drivers/misc/cxl/
H A Dsysfs.c69 adapter->psl_timebase_synced = (tb_to_ns(delta) < 16000) ? true : false; in psl_timebase_synced_show()
71 (tb_to_ns(delta) < 16000) ? "synchronized" : in psl_timebase_synced_show()
72 "not synchronized", tb_to_ns(delta)); in psl_timebase_synced_show()
/openbmc/linux/arch/powerpc/kvm/
H A Demulate.c56 dec_time = tb_to_ns(dec_time); in kvmppc_emulate_dec()
H A Dbook3s_hv.c2848 tb_to_ns(tb.tb_total), in debugfs_timings_read()
2849 tb_to_ns(tb.tb_min), in debugfs_timings_read()
2850 tb_to_ns(tb.tb_max)); in debugfs_timings_read()
3101 dec_nsec = tb_to_ns(kvmppc_dec_expires_host_tb(vcpu) - now); in kvmppc_set_timer()
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-pseries.c375 u64 latency_us = DIV_ROUND_UP_ULL(tb_to_ns(latency_tb), NSEC_PER_USEC); in fixup_cede0_latency()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dlpar.c669 return tb_to_ns(be64_to_cpu(READ_ONCE(lppaca->enqueue_dispatch_tb)) + in pseries_paravirt_steal_clock()