| /Linux-v5.15/arch/powerpc/include/asm/vdso/ |
| D | timebase.h | 16 #define mftb() ({unsigned long rval; \ macro 26 #define mftb() ({unsigned long rval; \ macro 29 #define mftb() ({unsigned long rval; \ macro 55 return mftb(); in get_tb() 59 tblo = mftb(); in get_tb()
|
| /Linux-v5.15/tools/testing/selftests/powerpc/benchmarks/ |
| D | null_syscall.c | 25 static inline unsigned long mftb(void) in mftb() function 139 tb_start = mftb(); in main() 144 tb_now = mftb(); in main()
|
| /Linux-v5.15/arch/powerpc/include/asm/ |
| D | cputime.h | 74 unsigned long tb = mftb(); in account_cpu_user_entry() 83 unsigned long tb = mftb(); in account_cpu_user_exit()
|
| D | timex.h | 20 return mftb(); in get_cycles()
|
| D | stackprotector.h | 28 canary ^= mftb(); in boot_init_stack_canary()
|
| D | delay.h | 57 unsigned long __start = mftb(); \
|
| D | time.h | 81 return mftb() - tstamp; in tb_ticks_since()
|
| /Linux-v5.15/arch/powerpc/kvm/ |
| D | book3s_hv_p9_entry.c | 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()
|
| D | book3s_hv_interrupts.S | 71 mftb r7
|
| D | book3s_hv_rmhandlers.S | 103 mftb r4 573 mftb r6 /* current host timebase */ 576 mftb r7 /* check if lower 24 bits overflowed */ 824 mftb r7 1195 mftb r6 1458 mftb r6 /* current guest timebase */ 1461 mftb r7 /* check if lower 24 bits overflowed */ 2156 mftb r5 2270 mftb r7 3018 mftb r5 [all …]
|
| D | book3s_hv.c | 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() 3865 tb = mftb(); in kvmhv_p9_guest_entry() 3927 mtspr(SPRN_DEC, vcpu->arch.dec_expires - mftb()); in kvmhv_p9_guest_entry() 4006 tb = mftb(); in kvmhv_p9_guest_entry() 4049 mtspr(SPRN_DEC, local_paca->kvm_hstate.dec_expires - mftb()); in kvmhv_p9_guest_entry() [all …]
|
| /Linux-v5.15/drivers/spi/ |
| D | spi-mpc52xx.c | 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()
|
| /Linux-v5.15/arch/powerpc/platforms/pseries/ |
| D | hvCall_inst.c | 94 h->tb_start = mftb(); in probe_hcall_entry() 108 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
|
| D | lparcfg.c | 507 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
|
| /Linux-v5.15/arch/powerpc/platforms/52xx/ |
| D | mpc52xx_lpbfifo.c | 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()
|
| D | lite5200_sleep.S | 183 mftb r13 /* start */ 186 mftb r13 /* current */
|
| /Linux-v5.15/arch/powerpc/boot/ |
| D | ppc_asm.h | 80 #define MFTBL(dest) mftb dest
|
| /Linux-v5.15/arch/powerpc/mm/book3s64/ |
| D | hash_64k.c | 195 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K() 307 if (mftb() & 0x1) in __hash_page_64K()
|
| D | hash_4k.c | 99 if (mftb() & 0x1) in __hash_page_4K()
|
| D | hash_hugepage.c | 152 if (mftb() & 0x1) in __hash_page_thp()
|
| /Linux-v5.15/arch/powerpc/platforms/85xx/ |
| D | smp.c | 394 long start = mftb(); in mpc85xx_smp_kexec_cpu_down() 419 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
|
| /Linux-v5.15/arch/powerpc/kernel/ |
| D | time.c | 313 now = mftb(); in vtime_delta() 466 start = mftb(); in __delay() 467 while (mftb() - start < loops) in __delay()
|
| D | swsusp_32.S | 75 mftb r5
|
| /Linux-v5.15/arch/powerpc/platforms/powermac/ |
| D | sleep.S | 85 mftb r5
|
| /Linux-v5.15/arch/powerpc/platforms/83xx/ |
| D | suspend-asm.S | 204 mftb r5
|