Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
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()
Dwatchdog.c200 u64 tb = get_tb(); in watchdog_timer_interrupt()
223 tb = get_tb(); in soft_nmi_interrupt()
279 u64 tb = get_tb(); in arch_touch_nmi_watchdog()
292 per_cpu(wd_timer_tb, cpu) = get_tb(); in start_watchdog_timer_on()
324 wd_smp_last_reset_tb = get_tb(); in start_wd_on_cpu()
346 wd_smp_clear_cpu_pending(cpu, get_tb()); in stop_wd_on_cpu()
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()
Dtime.c684 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock()
843 return (u64)get_tb(); in timebase_read()
Drtas.c1242 timebase = get_tb(); in rtas_give_timebase()
/arch/powerpc/include/asm/
Dtime.h57 #define get_tbl get_tb
113 static inline u64 get_tb(void) in get_tb() function
118 static inline u64 get_tb(void) in get_tb() function
134 return __USE_RTC() ? get_rtc() : get_tb(); in get_tb_or_rtc()
/arch/powerpc/kvm/
Demulate.c78 vcpu->arch.dec_jiffies = get_tb(); in kvmppc_emulate_dec()
169 spr_val = get_tb() >> 32; in kvmppc_emulate_mfspr()
172 spr_val = get_tb(); in kvmppc_emulate_mfspr()
191 spr_val = kvmppc_get_dec(vcpu, get_tb()); in kvmppc_emulate_mfspr()
Dbook3s_hv_builtin.c142 u64 stop = get_tb() + 10 * tb_ticks_per_usec; in kvmppc_rm_h_confer()
146 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer()
548 vcpu->arch.gpr[5] = get_tb(); in kvmppc_rm_h_xirr_x()
Dbook3s_pr.c175 vcpu->arch.entry_tb = get_tb(); in kvmppc_copy_to_svcpu()
228 vcpu->arch.purr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
229 vcpu->arch.spurr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
Dbooke.c558 tb = get_tb(); in watchdog_next_timeout()
1490 u64 tb = get_tb(); in get_sregs_base()
Dbook3s_xics.c895 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall()
Dpowerpc.c772 vcpu->arch.dec_expires = get_tb(); in kvm_arch_vcpu_init()
Dbook3s_hv.c2090 now = get_tb(); in kvmppc_set_timer()
2533 now = get_tb(); in post_guest_process()
/arch/powerpc/kernel/trace/
Dtrace_clock.c14 return get_tb(); in trace_clock_ppc_tb()
/arch/powerpc/perf/
D8xx-pmu.c91 val = get_tb(); in mpc8xx_pmu_add()
121 val = get_tb(); in mpc8xx_pmu_read()
/arch/powerpc/platforms/powermac/
Dsmp.c391 timebase = get_tb(); in smp_psurge_kick_cpu()
475 timebase = get_tb(); in smp_core99_give_timebase()
/arch/powerpc/platforms/pasemi/
Dsetup.c88 timebase = get_tb(); in pas_give_timebase()
/arch/powerpc/platforms/85xx/
Dsmp.c88 timebase = get_tb(); in mpc85xx_give_timebase()
/arch/powerpc/platforms/cell/spufs/
Dfile.c2503 p->timebase = get_tb(); in spu_switch_log_notify()