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()
13 u64 tb = mftb() - vc->tb_offset_applied; in __start_timing()23 u64 tb = mftb() - vc->tb_offset_applied; in __accumulate_time()206 hdec = time_limit - mftb(); in kvmhv_vcpu_entry_p9()218 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_vcpu_entry_p9()220 tb = mftb(); in kvmhv_vcpu_entry_p9()499 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmhv_vcpu_entry_p9()501 tb = mftb(); in kvmhv_vcpu_entry_p9()
103 mftb r4573 mftb r6 /* current host timebase */576 mftb r7 /* check if lower 24 bits overflowed */824 mftb r71195 mftb r61458 mftb r6 /* current guest timebase */1461 mftb r7 /* check if lower 24 bits overflowed */2156 mftb r52270 mftb r73018 mftb r5[all …]
71 mftb r7
284 vc->preempt_tb = mftb(); in kvmppc_core_start_stolen()294 vc->stolen_tb += mftb() - vc->preempt_tb; in kvmppc_core_end_stolen()317 vcpu->arch.busy_stolen += mftb() - vcpu->arch.busy_preempt; in kvmppc_core_vcpu_load_hv()333 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv()699 now = mftb(); in kvmppc_create_dtl_entry()2893 now = mftb(); in kvmppc_remove_runnable()3878 tb = mftb(); in kvmhv_p9_guest_entry()3940 mtspr(SPRN_DEC, vcpu->arch.dec_expires - mftb()); in kvmhv_p9_guest_entry()4019 tb = mftb(); in kvmhv_p9_guest_entry()4308 vcpu->arch.stolen_logged = vcore_stolen_time(vc, mftb()); in kvmppc_run_vcpu()[all …]
123 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_start_transfer()224 ms->wcol_ticks += mftb() - ms->wcol_tx_timestamp; in mpc52xx_spi_fsmstate_transfer()225 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer()250 ms->timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer()259 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer()281 if (((int)mftb()) - ms->timestamp < 0) in mpc52xx_spi_fsmstate_wait()
74 unsigned long tb = mftb(); in account_cpu_user_entry()83 unsigned long tb = mftb(); in account_cpu_user_exit()
20 return mftb(); in get_cycles()
28 canary ^= mftb(); in boot_init_stack_canary()
57 unsigned long __start = mftb(); \
81 return mftb() - tstamp; in tb_ticks_since()
94 h->tb_start = mftb(); in probe_hcall_entry()108 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
507 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
232 ts = mftb(); in mpc52xx_lpbfifo_irq()310 req->irq_ticks += mftb() - ts; in mpc52xx_lpbfifo_irq()333 ts = mftb(); in mpc52xx_lpbfifo_bcom_irq()364 req->irq_ticks += mftb() - ts; in mpc52xx_lpbfifo_bcom_irq()
183 mftb r13 /* start */186 mftb r13 /* current */
80 #define MFTBL(dest) mftb dest
195 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K()307 if (mftb() & 0x1) in __hash_page_64K()
99 if (mftb() & 0x1) in __hash_page_4K()
152 if (mftb() & 0x1) in __hash_page_thp()
394 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()419 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
313 now = mftb(); in vtime_delta()466 start = mftb(); in __delay()467 while (mftb() - start < loops) in __delay()
75 mftb r5
85 mftb r5
204 mftb r5
Completed in 37 milliseconds