Searched refs:get_tb (Results 1 – 17 of 17) sorted by relevance
22 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()
40 while (get_tb() < mark) in enter_contest()87 tb = get_tb() + 400; in start_contest()97 while (get_tb() <= tb) in start_contest()
628 return mulhdu(get_tb() - boot_tb, tb_to_ns_scale) << tb_to_ns_shift; in sched_clock()779 return (cycle_t)get_tb(); in timebase_read()
1218 timebase = get_tb(); in rtas_give_timebase()
59 #define get_tbl get_tb115 static inline u64 get_tb(void) in get_tb() function120 static inline u64 get_tb(void) in get_tb() function136 return __USE_RTC() ? get_rtc() : get_tb(); in get_tb_or_rtc()
78 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()
117 u64 stop = get_tb() + 10 * tb_ticks_per_usec; in kvmppc_rm_h_confer()121 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer()
174 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()
547 tb = get_tb(); in watchdog_next_timeout()1478 u64 tb = get_tb(); in get_sregs_base()
860 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall()
1706 now = get_tb(); in kvmppc_set_timer()1924 now = get_tb(); in post_guest_process()
195 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()
390 timebase = get_tb(); in smp_psurge_kick_cpu()473 timebase = get_tb(); in smp_core99_give_timebase()
344 unsigned long start_time = get_tb(); in nx842_compress()491 (get_tb() - start_time) / tb_ticks_per_usec); in nx842_compress()544 unsigned long start_time = get_tb(); in nx842_decompress()691 (get_tb() - start_time) / tb_ticks_per_usec); in nx842_decompress()
88 timebase = get_tb(); in pas_give_timebase()
99 timebase = get_tb(); in mpc85xx_give_timebase()
2614 p->timebase = get_tb(); in spu_switch_log_notify()