Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/kernel/
Drtas-rtc.c22 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_boot_time()
31 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_boot_time()
54 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_get_rtc_time()
69 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_rtc_time()
91 max_wait_tb = get_tb() + tb_ticks_per_usec * 1000 * MAX_RTC_WAIT; in rtas_set_rtc_time()
104 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_set_rtc_time()
Dsmp-tbsync.c40 while (get_tb() < mark) in enter_contest()
87 tb = get_tb() + 400; in start_contest()
97 while (get_tb() <= tb) in start_contest()
Dtrace_clock.c14 return get_tb(); in trace_clock_ppc_tb()
Dtime.c629 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock()
780 return (cycle_t)get_tb(); in timebase_read()
Drtas.c1220 timebase = get_tb(); in rtas_give_timebase()
/linux-4.4.14/arch/powerpc/include/asm/
Dtime.h59 #define get_tbl get_tb
115 static inline u64 get_tb(void) in get_tb() function
120 static inline u64 get_tb(void) in get_tb() function
136 return __USE_RTC() ? get_rtc() : get_tb(); in get_tb_or_rtc()
/linux-4.4.14/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.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()
Dbook3s_pr.c174 vcpu->arch.entry_tb = get_tb(); in kvmppc_copy_to_svcpu()
227 vcpu->arch.purr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
228 vcpu->arch.spurr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
Dbooke.c548 tb = get_tb(); in watchdog_next_timeout()
1480 u64 tb = get_tb(); in get_sregs_base()
Dbook3s_xics.c860 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall()
Dbook3s_hv.c1716 now = get_tb(); in kvmppc_set_timer()
2219 now = get_tb(); in post_guest_process()
/linux-4.4.14/drivers/cpuidle/
Dcpuidle-pseries.c68 snooze_exit_time = get_tb() + snooze_timeout; in snooze_loop()
73 if (snooze_timeout_en && get_tb() > snooze_exit_time) in snooze_loop()
Dcpuidle-powernv.c44 snooze_exit_time = get_tb() + snooze_timeout; in snooze_loop()
49 if (snooze_timeout_en && get_tb() > snooze_exit_time) in snooze_loop()
/linux-4.4.14/drivers/crypto/nx/
Dnx-842-pseries.c306 unsigned long start = get_tb(); in nx842_pseries_compress()
389 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_compress()
437 unsigned long start = get_tb(); in nx842_pseries_decompress()
521 (get_tb() - start) / tb_ticks_per_usec); in nx842_pseries_decompress()
/linux-4.4.14/drivers/ps3/
Dps3-lpm.c195 bookmark = (get_tb() & 0x00000000FFFFFFFFULL) | in ps3_set_pm_bookmark()
886 ps3_set_bookmark(get_tb() | PS3_PM_BOOKMARK_START); in ps3_enable_pm()
899 ps3_set_bookmark(get_tb() | PS3_PM_BOOKMARK_STOP); in ps3_disable_pm()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dsmp.c390 timebase = get_tb(); in smp_psurge_kick_cpu()
473 timebase = get_tb(); in smp_core99_give_timebase()
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dsetup.c88 timebase = get_tb(); in pas_give_timebase()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dsmp.c99 timebase = get_tb(); in mpc85xx_give_timebase()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dfile.c2559 p->timebase = get_tb(); in spu_switch_log_notify()