Searched refs:mftb (Results 1 – 25 of 33) sorted by relevance
12
16 #define mftb() ({unsigned long rval; \ macro26 #define mftb() ({unsigned long rval; \ macro29 #define mftb() ({unsigned long rval; \ macro55 return mftb(); in get_tb()59 tblo = mftb(); in get_tb()
25 static inline unsigned long mftb(void) in mftb() function139 tb_start = mftb(); in main()144 tb_now = mftb(); in main()
157 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmppc_p9_realmode_hmi_handler()159 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()178 u64 new_tb = mftb() + vc->tb_offset; in kvmppc_p9_realmode_hmi_handler()180 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()
72 mftb r7
224 u64 tb = mftb() - vc->tb_offset_applied; in accumulate_time()599 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmhv_vcpu_entry_p9()848 *tb = mftb(); in kvmhv_vcpu_entry_p9()854 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmhv_vcpu_entry_p9()
113 mftb r4582 mftb r6 /* current host timebase */585 mftb r7 /* check if lower 24 bits overflowed */826 mftb r71198 mftb r61458 mftb r6 /* current guest timebase */1461 mftb r7 /* check if lower 24 bits overflowed */2148 mftb r52254 mftb r72983 mftb r5[all …]
333 now = mftb(); in kvmppc_core_vcpu_load_hv()371 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv()375 now = mftb(); in kvmppc_core_vcpu_put_hv()836 now = mftb(); in kvmppc_update_vpa_dispatch()3483 kvmppc_core_start_stolen(vc, mftb()); in kvmppc_vcore_preempt()3492 kvmppc_core_end_stolen(vc, mftb()); in kvmppc_vcore_end_preempt()3638 kvmppc_core_end_stolen(pvc, mftb()); in collect_piggybacks()3647 kvmppc_core_end_stolen(pvc, mftb()); in collect_piggybacks()4248 *tb = mftb(); in kvmhv_vcpu_entry_nestedv2()4347 *tb = mftb(); in kvmhv_vcpu_entry_p9_nested()[all …]
47 unsigned long tb = mftb(); in account_cpu_user_entry()56 unsigned long tb = mftb(); in account_cpu_user_exit()
20 return mftb(); in get_cycles()
57 unsigned long __start = mftb(); \
79 return mftb() - tstamp; in tb_ticks_since()
129 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_start_transfer()230 ms->wcol_ticks += mftb() - ms->wcol_tx_timestamp; in mpc52xx_spi_fsmstate_transfer()231 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer()256 ms->timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer()265 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer()287 if (((int)mftb()) - ms->timestamp < 0) in mpc52xx_spi_fsmstate_wait()
94 h->tb_start = mftb(); in probe_hcall_entry()108 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
552 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
80 #define MFTBL(dest) mftb dest
197 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K()312 if (mftb() & 0x1) in __hash_page_64K()
101 if (mftb() & 0x1) in __hash_page_4K()
149 if (mftb() & 0x1) in __hash_page_thp()
394 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()422 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
186 choose_random_kstack_offset(mftb()); in system_call_exception()
218 now = mftb(); in vtime_delta()394 start = mftb(); in __delay()395 while (mftb() - start < loops) in __delay()
77 mftb r5
186 mftb r13 /* start */189 mftb r13 /* current */
85 mftb r5
111 The timebase facility (mftb instruction) is not available.
Completed in 43 milliseconds