| /linux/arch/powerpc/include/asm/vdso/ |
| H A 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/arch/powerpc/kvm/ |
| H A D | book3s_hv_ras.c | 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()
|
| H A D | book3s_hv_interrupts.S | 72 mftb r7
|
| H A D | book3s_hv_p9_entry.c | 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()
|
| H A D | book3s_hv.c | 326 vc->stolen_tb += mftb() - vcpu->arch.busy_preempt; in kvmppc_core_vcpu_load_hv() 332 now = mftb(); in kvmppc_core_vcpu_load_hv() 370 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv() 374 now = mftb(); in kvmppc_core_vcpu_put_hv() 856 now = mftb(); in kvmppc_update_vpa_dispatch() 3474 kvmppc_core_start_stolen(vc, mftb()); in kvmppc_vcore_preempt() 3483 kvmppc_core_end_stolen(vc, mftb()); in kvmppc_vcore_end_preempt() 3610 kvmppc_remove_runnable(vc, vcpu, mftb()); in prepare_threads() 3629 kvmppc_core_end_stolen(pvc, mftb()); in collect_piggybacks() 3638 kvmppc_core_end_stolen(pvc, mftb()); in collect_piggybacks() [all...] |
| /linux/tools/testing/selftests/powerpc/benchmarks/ |
| H A 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/arch/powerpc/include/asm/ |
| H A D | cputime.h | 47 unsigned long tb = mftb(); in account_cpu_user_entry() 56 unsigned long tb = mftb(); in account_cpu_user_exit()
|
| H A D | delay.h | 57 unsigned long __start = mftb(); \
|
| H A D | time.h | 83 return mftb() - tstamp; in tb_ticks_since()
|
| H A D | ppc_asm.h | 456 #define MFTBL(dest) mftb dest
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A 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()
|
| H A D | lparcfg.c | 564 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
|
| /linux/arch/powerpc/kernel/ |
| H A D | time.c | 218 now = mftb(); in vtime_delta() 390 acct->starttime = mftb(); in vtime_reset() 435 start = mftb(); in __delay() 436 while (mftb() - start < loops) in __delay()
|
| H A D | swsusp_32.S | 77 mftb r5
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | hash_64k.c | 197 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K() 312 if (mftb() & 0x1) in __hash_page_64K()
|
| H A D | hash_4k.c | 101 if (mftb() & 0x1) in __hash_page_4K()
|
| /linux/arch/powerpc/boot/ |
| H A D | ppc_asm.h | 80 #define MFTBL(dest) mftb dest
|
| /linux/arch/powerpc/platforms/52xx/ |
| H A D | lite5200_sleep.S | 186 mftb r13 /* start */ 189 mftb r13 /* current */
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | sleep.S | 85 mftb r5
|
| /linux/Documentation/arch/powerpc/ |
| H A D | elf_hwcaps.rst | 111 The timebase facility (mftb instruction) is not available.
|
| /linux/arch/powerpc/platforms/83xx/ |
| H A D | suspend-asm.S | 205 mftb r5
|
| /linux/tools/testing/selftests/powerpc/primitives/asm/ |
| H A D | ppc_asm.h | 456 #define MFTBL(dest) mftb dest
|