/linux-6.3-rc2/arch/powerpc/include/asm/vdso/ |
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-6.3-rc2/tools/testing/selftests/powerpc/benchmarks/ |
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-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_hv_ras.c | 156 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmppc_p9_realmode_hmi_handler() 158 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler() 177 u64 new_tb = mftb() + vc->tb_offset; in kvmppc_p9_realmode_hmi_handler() 179 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()
|
A D | book3s_hv_interrupts.S | 72 mftb r7
|
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()
|
A D | book3s_hv_rmhandlers.S | 113 mftb r4 583 mftb r6 /* current host timebase */ 586 mftb r7 /* check if lower 24 bits overflowed */ 827 mftb r7 1198 mftb r6 1458 mftb r6 /* current guest timebase */ 1461 mftb r7 /* check if lower 24 bits overflowed */ 2148 mftb r5 2254 mftb r7 2983 mftb r5 [all …]
|
A D | book3s_hv.c | 330 now = mftb(); in kvmppc_core_vcpu_load_hv() 368 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv() 372 now = mftb(); in kvmppc_core_vcpu_put_hv() 782 now = mftb(); in kvmppc_update_vpa_dispatch() 3364 kvmppc_core_start_stolen(vc, mftb()); in kvmppc_vcore_preempt() 3373 kvmppc_core_end_stolen(vc, mftb()); in kvmppc_vcore_end_preempt() 3519 kvmppc_core_end_stolen(pvc, mftb()); in collect_piggybacks() 3528 kvmppc_core_end_stolen(pvc, mftb()); in collect_piggybacks() 3604 kvmppc_core_start_stolen(vc, mftb()); in post_guest_process() 4100 *tb = mftb(); in kvmhv_vcpu_entry_p9_nested() [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | cputime.h | 60 unsigned long tb = mftb(); in account_cpu_user_entry() 69 unsigned long tb = mftb(); in account_cpu_user_exit()
|
A D | timex.h | 20 return mftb(); in get_cycles()
|
A D | delay.h | 57 unsigned long __start = mftb(); \
|
A D | time.h | 84 return mftb() - tstamp; in tb_ticks_since()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-mpc52xx.c | 128 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_start_transfer() 229 ms->wcol_ticks += mftb() - ms->wcol_tx_timestamp; in mpc52xx_spi_fsmstate_transfer() 230 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer() 255 ms->timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer() 264 ms->wcol_tx_timestamp = mftb(); in mpc52xx_spi_fsmstate_transfer() 286 if (((int)mftb()) - ms->timestamp < 0) in mpc52xx_spi_fsmstate_wait()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
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()
|
A D | lparcfg.c | 538 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
|
/linux-6.3-rc2/arch/powerpc/platforms/52xx/ |
A D | mpc52xx_lpbfifo.c | 239 ts = mftb(); in mpc52xx_lpbfifo_irq() 317 req->irq_ticks += mftb() - ts; in mpc52xx_lpbfifo_irq() 344 ts = mftb(); in mpc52xx_lpbfifo_bcom_irq() 375 req->irq_ticks += mftb() - ts; in mpc52xx_lpbfifo_bcom_irq()
|
A D | lite5200_sleep.S | 186 mftb r13 /* start */ 189 mftb r13 /* current */
|
/linux-6.3-rc2/arch/powerpc/boot/ |
A D | ppc_asm.h | 80 #define MFTBL(dest) mftb dest
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
A D | hash_64k.c | 197 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K() 312 if (mftb() & 0x1) in __hash_page_64K()
|
A D | hash_4k.c | 101 if (mftb() & 0x1) in __hash_page_4K()
|
A D | hash_hugepage.c | 152 if (mftb() & 0x1) in __hash_page_thp()
|
/linux-6.3-rc2/arch/powerpc/platforms/85xx/ |
A D | smp.c | 394 long start = mftb(); in mpc85xx_smp_kexec_cpu_down() 419 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | syscall.c | 186 choose_random_kstack_offset(mftb()); in system_call_exception()
|
A D | time.c | 218 now = mftb(); in vtime_delta() 372 start = mftb(); in __delay() 373 while (mftb() - start < loops) in __delay()
|
A D | swsusp_32.S | 77 mftb r5
|
/linux-6.3-rc2/arch/powerpc/platforms/powermac/ |
A D | sleep.S | 85 mftb r5
|