Home
last modified time | relevance | path

Searched refs:get_tb (Results 1 – 25 of 26) sorted by relevance

12

/linux/arch/powerpc/kernel/
A Drtas-rtc.c23 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_boot_time()
32 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_boot_time()
55 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_rtc_time()
70 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_rtc_time()
92 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_set_rtc_time()
105 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_set_rtc_time()
A Dwatchdog.c118 u64 tb = get_tb(); in wd_lockup_ipi()
244 u64 tb = get_tb(); in watchdog_timer_interrupt()
268 tb = get_tb(); in DEFINE_INTERRUPT_HANDLER_NMI()
321 u64 tb = get_tb(); in arch_touch_nmi_watchdog()
351 wd_smp_last_reset_tb = get_tb(); in start_watchdog()
355 *this_cpu_ptr(&wd_timer_tb) = get_tb(); in start_watchdog()
383 wd_smp_clear_cpu_pending(cpu, get_tb()); in stop_watchdog()
A Dsmp-tbsync.c41 while (get_tb() < mark) in enter_contest()
88 tb = get_tb() + 400; in start_contest()
98 while (get_tb() <= tb) in start_contest()
A Dtime.c600 now = get_tb(); in DEFINE_INTERRUPT_HANDLER_ASYNC()
674 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock()
825 return (u64)get_tb(); in timebase_read()
845 __this_cpu_write(decrementers_next_tb, get_tb() + evt); in decrementer_set_next_event()
979 boot_tb = get_tb(); in time_init()
A Drtas.c1274 timebase = get_tb(); in rtas_give_timebase()
/linux/arch/powerpc/kvm/
A Demulate.c60 vcpu->arch.dec_jiffies = get_tb(); in kvmppc_emulate_dec()
151 spr_val = get_tb() >> 32; in kvmppc_emulate_mfspr()
154 spr_val = get_tb(); in kvmppc_emulate_mfspr()
173 spr_val = kvmppc_get_dec(vcpu, get_tb()); in kvmppc_emulate_mfspr()
A Dbook3s_hv_builtin.c118 u64 stop = get_tb() + 10 * tb_ticks_per_usec; in kvmppc_rm_h_confer()
122 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer()
508 vcpu->arch.regs.gpr[5] = get_tb(); in kvmppc_rm_h_xirr_x()
A Dbook3s_pr.c216 vcpu->arch.entry_tb = get_tb(); in kvmppc_copy_to_svcpu()
301 vcpu->arch.purr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
302 vcpu->arch.spurr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
A Dbooke.c582 tb = get_tb(); in watchdog_next_timeout()
1504 u64 tb = get_tb(); in get_sregs_base()
A Dbook3s_xics.c890 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall()
A Dbook3s_hv.c2871 now = get_tb(); in kvmppc_set_timer()
3332 now = get_tb(); in post_guest_process()
4553 ((get_tb() < vcpu->arch.dec_expires) || in kvmhv_run_single_vcpu()
A Dbook3s_xive.c2196 kvmppc_set_gpr(vcpu, 5, get_tb() + vc->tb_offset); in kvmppc_xive_xics_hcall()
A Dpowerpc.c752 vcpu->arch.dec_expires = get_tb(); in kvm_arch_vcpu_create()
/linux/arch/powerpc/perf/
A D8xx-pmu.c91 val = get_tb(); in mpc8xx_pmu_add()
131 val = get_tb(); in mpc8xx_pmu_read()
/linux/arch/powerpc/kernel/trace/
A Dtrace_clock.c12 return get_tb(); in trace_clock_ppc_tb()
/linux/drivers/cpuidle/
A Dcpuidle-pseries.c46 snooze_exit_time = get_tb() + snooze_timeout; in snooze_loop()
51 if (likely(snooze_timeout_en) && get_tb() > snooze_exit_time) { in snooze_loop()
A Dcpuidle-powernv.c78 snooze_exit_time = get_tb() + get_snooze_timeout(dev, drv, index); in snooze_loop()
82 if (likely(snooze_timeout_en) && get_tb() > snooze_exit_time) { in snooze_loop()
/linux/arch/powerpc/include/asm/vdso/
A Dtimebase.h46 static __always_inline u64 get_tb(void) in get_tb() function
A Dgettimeofday.h154 return get_tb();
/linux/arch/powerpc/mm/nohash/
A Dkaslr_booke.c303 seed = get_tb() << 32; in kaslr_choose_location()
304 seed ^= get_tb(); in kaslr_choose_location()
/linux/drivers/crypto/nx/
A Dnx-common-pseries.c318 unsigned long start = get_tb(); in nx842_pseries_compress()
400 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_compress()
448 unsigned long start = get_tb(); in nx842_pseries_decompress()
531 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_decompress()
/linux/drivers/ps3/
A Dps3-lpm.c183 bookmark = (get_tb() & 0x00000000FFFFFFFFULL) | in ps3_set_pm_bookmark()
874 ps3_set_bookmark(get_tb() | PS3_PM_BOOKMARK_START); in ps3_enable_pm()
887 ps3_set_bookmark(get_tb() | PS3_PM_BOOKMARK_STOP); in ps3_disable_pm()
/linux/arch/powerpc/platforms/powermac/
A Dsmp.c384 timebase = get_tb(); in smp_psurge_kick_cpu()
466 timebase = get_tb(); in smp_core99_give_timebase()
/linux/arch/powerpc/platforms/85xx/
A Dsmp.c83 timebase = get_tb(); in mpc85xx_give_timebase()
/linux/arch/powerpc/platforms/pasemi/
A Dsetup.c111 timebase = get_tb(); in pas_give_timebase()

Completed in 66 milliseconds

12