Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dwatchdog.c155 tb_to_ns(tb - per_cpu(wd_timer_tb, cpu)) / 1000000); in wd_lockup_ipi()
237 cpu, tb, last_reset, tb_to_ns(tb - last_reset) / 1000000); in watchdog_smp_panic()
414 tb_to_ns(tb - per_cpu(wd_timer_tb, cpu)) / 1000000); in DEFINE_INTERRUPT_HANDLER_NMI()
H A Dtime.c624 unsigned long long tb_to_ns(unsigned long long ticks) in tb_to_ns() function
628 EXPORT_SYMBOL_GPL(tb_to_ns);
/linux/arch/powerpc/include/asm/
H A Dcputime.h25 #define cputime_to_nsecs(cputime) tb_to_ns(cputime)
H A Dtime.h111 unsigned long long tb_to_ns(unsigned long long tb_ticks);
/linux/arch/powerpc/kvm/
H A Demulate.c56 dec_time = tb_to_ns(dec_time); in kvmppc_emulate_dec()
H A Dbook3s_hv.c2907 tb_to_ns(tb.tb_total), in debugfs_timings_read()
2908 tb_to_ns(tb.tb_min), in debugfs_timings_read()
2909 tb_to_ns(tb.tb_max)); in debugfs_timings_read()
3168 dec_nsec = tb_to_ns(kvmppc_dec_expires_host_tb(vcpu) - now); in kvmppc_set_timer()
4161 l1_to_l2_ns = tb_to_ns(be64_to_cpu(lp->l1_to_l2_cs_tb)); in do_trace_nested_cs_time()
4162 l2_to_l1_ns = tb_to_ns(be64_to_cpu(lp->l2_to_l1_cs_tb)); in do_trace_nested_cs_time()
4163 l2_runtime_ns = tb_to_ns(be64_to_cpu(lp->l2_runtime_tb)); in do_trace_nested_cs_time()
4177 return tb_to_ns(be64_to_cpu(get_lppaca()->l1_to_l2_cs_tb)); in kvmhv_get_l1_to_l2_cs_time()
4183 return tb_to_ns(be64_to_cpu(get_lppaca()->l2_to_l1_cs_tb)); in kvmhv_get_l2_to_l1_cs_time()
4189 return tb_to_ns(be64_to_cpu(get_lppaca()->l2_runtime_tb)); in kvmhv_get_l2_runtime_agg()
/linux/drivers/cpuidle/
H A Dcpuidle-pseries.c376 u64 latency_us = DIV_ROUND_UP_ULL(tb_to_ns(latency_tb), NSEC_PER_USEC); in fixup_cede0_latency()
/linux/arch/powerpc/platforms/pseries/
H A Dlpar.c670 return tb_to_ns(be64_to_cpu(READ_ONCE(lppaca->enqueue_dispatch_tb)) + in pseries_paravirt_steal_clock()