Home
last modified time | relevance | path

Searched refs:mftb (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/arch/powerpc/include/asm/
Dtime.h44 return mftb(); in get_tbl()
61 return mftb(); in get_tb()
65 tblo = mftb(); in get_tb()
110 return mftb() - tstamp; in tb_ticks_since()
Dcputime.h74 unsigned long tb = mftb(); in account_cpu_user_entry()
83 unsigned long tb = mftb(); in account_cpu_user_exit()
Dtimex.h20 return mftb(); in get_cycles()
Dstackprotector.h28 canary ^= mftb(); in boot_init_stack_canary()
Ddelay.h57 unsigned long __start = mftb(); \
Dreg.h1423 #define mftb() ({unsigned long rval; \ macro
1433 #define mftb() ({unsigned long rval; \ macro
1436 #define mftb() ({unsigned long rval; \ macro
Dppc_asm.h397 #define MFTBL(dest) mftb dest
/Linux-v5.10/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c24 static inline unsigned long mftb(void) in mftb() function
138 tb_start = mftb(); in main()
143 tb_now = mftb(); in main()
/Linux-v5.10/arch/powerpc/platforms/pseries/
DhvCall_inst.c94 h->tb_start = mftb(); in probe_hcall_entry()
108 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
Dlparcfg.c507 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
/Linux-v5.10/arch/powerpc/boot/
Dppc_asm.h80 #define MFTBL(dest) mftb dest
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dhash_64k.c195 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K()
307 if (mftb() & 0x1) in __hash_page_64K()
Dhash_4k.c99 if (mftb() & 0x1) in __hash_page_4K()
Dhash_hugepage.c152 if (mftb() & 0x1) in __hash_page_thp()
Dhash_native.c410 slot_offset = mftb() & 0x7; in native_hpte_remove()
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dsmp.c394 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()
419 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
/Linux-v5.10/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S183 mftb r13 /* start */
186 mftb r13 /* current */
/Linux-v5.10/arch/powerpc/kernel/
Dtime.c323 now = mftb(); in vtime_delta()
451 start = mftb(); in __delay()
452 while (mftb() - start < loops) in __delay()
Dswsusp_32.S75 mftb r5
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S72 mftb r7
Dbook3s_hv.c288 vc->preempt_tb = mftb(); in kvmppc_core_start_stolen()
298 vc->stolen_tb += mftb() - vc->preempt_tb; in kvmppc_core_end_stolen()
321 vcpu->arch.busy_stolen += mftb() - vcpu->arch.busy_preempt; in kvmppc_core_vcpu_load_hv()
337 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv()
703 now = mftb(); in kvmppc_create_dtl_entry()
2520 now = mftb(); in kvmppc_remove_runnable()
3452 hdec = time_limit - mftb(); in kvmhv_load_hv_regs_and_go()
3461 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_load_hv_regs_and_go()
3463 tb = mftb(); in kvmhv_load_hv_regs_and_go()
3560 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmhv_load_hv_regs_and_go()
[all …]
Dbook3s_hv_rmhandlers.S126 mftb r4
635 mftb r6 /* current host timebase */
638 mftb r7 /* check if lower 24 bits overflowed */
911 mftb r7
1550 mftb r6
1903 mftb r6 /* current guest timebase */
1906 mftb r7 /* check if lower 24 bits overflowed */
2688 mftb r5
2830 mftb r7
3646 mftb r5
[all …]
/Linux-v5.10/arch/powerpc/platforms/powermac/
Dsleep.S82 mftb r5
/Linux-v5.10/arch/powerpc/platforms/83xx/
Dsuspend-asm.S204 mftb r5
/Linux-v5.10/drivers/misc/cxl/
Dsysfs.c66 delta = abs(mftb() - psl_tb); in psl_timebase_synced_show()

12