Home
last modified time | relevance | path

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

/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.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.c582 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock()
702 return (cycle_t)get_tb(); in timebase_read()
Drtas.c1184 timebase = get_tb(); in rtas_give_timebase()
/arch/powerpc/include/asm/
Dtime.h57 #define get_tbl get_tb
104 static inline u64 get_tb(void) in get_tb() function
109 static inline u64 get_tb(void) in get_tb() function
125 return __USE_RTC() ? get_rtc() : get_tb(); in get_tb_or_rtc()
/arch/powerpc/platforms/pseries/
Dprocessor_idle.c74 start_snooze = get_tb() + snooze * tb_ticks_per_usec; in snooze_loop()
78 while ((snooze < 0) || (get_tb() < start_snooze)) { in snooze_loop()
/arch/powerpc/kvm/
Demulate.c110 vcpu->arch.dec_jiffies = get_tb(); in kvmppc_emulate_dec()
270 kvmppc_set_gpr(vcpu, rt, get_tb() >> 32); break; in kvmppc_emulate_instruction()
272 kvmppc_set_gpr(vcpu, rt, get_tb()); break; in kvmppc_emulate_instruction()
292 kvmppc_get_dec(vcpu, get_tb())); in kvmppc_emulate_instruction()
Dbook3s_hv.c529 now = get_tb(); in kvmppc_set_timer()
714 now = get_tb(); in kvmppc_run_core()
Dbooke.c741 u64 tb = get_tb(); in get_sregs_base()
/arch/powerpc/platforms/powermac/
Dsmp.c392 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/cell/spufs/
Dfile.c2618 p->timebase = get_tb(); in spu_switch_log_notify()