Searched refs:get_tb (Results 1 – 19 of 19) sorted by relevance
23 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()
200 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()
41 while (get_tb() < mark) in enter_contest()88 tb = get_tb() + 400; in start_contest()98 while (get_tb() <= tb) in start_contest()
684 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()
1242 timebase = get_tb(); in rtas_give_timebase()
57 #define get_tbl get_tb113 static inline u64 get_tb(void) in get_tb() function118 static inline u64 get_tb(void) in get_tb() function134 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()
142 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()
175 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()
558 tb = get_tb(); in watchdog_next_timeout()1490 u64 tb = get_tb(); in get_sregs_base()
895 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall()
772 vcpu->arch.dec_expires = get_tb(); in kvm_arch_vcpu_init()
2090 now = get_tb(); in kvmppc_set_timer()2533 now = get_tb(); in post_guest_process()
14 return get_tb(); in trace_clock_ppc_tb()
91 val = get_tb(); in mpc8xx_pmu_add()121 val = get_tb(); in mpc8xx_pmu_read()
391 timebase = get_tb(); in smp_psurge_kick_cpu()475 timebase = get_tb(); in smp_core99_give_timebase()
88 timebase = get_tb(); in pas_give_timebase()
88 timebase = get_tb(); in mpc85xx_give_timebase()
2503 p->timebase = get_tb(); in spu_switch_log_notify()