Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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.h1425 #define mftb() ({unsigned long rval; \ macro
1435 #define mftb() ({unsigned long rval; \ macro
1438 #define mftb() ({unsigned long rval; \ macro
Dppc_asm.h397 #define MFTBL(dest) mftb dest
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dppc_asm.h80 #define MFTBL(dest) mftb dest
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S183 mftb r13 /* start */
186 mftb r13 /* current */
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtime.c324 now = mftb(); in vtime_delta()
452 start = mftb(); in __delay()
453 while (mftb() - start < loops) in __delay()
Dswsusp_32.S75 mftb r5
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S72 mftb r7
Dbook3s_hv.c289 vc->preempt_tb = mftb(); in kvmppc_core_start_stolen()
299 vc->stolen_tb += mftb() - vc->preempt_tb; in kvmppc_core_end_stolen()
322 vcpu->arch.busy_stolen += mftb() - vcpu->arch.busy_preempt; in kvmppc_core_vcpu_load_hv()
338 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv()
704 now = mftb(); in kvmppc_create_dtl_entry()
2523 now = mftb(); in kvmppc_remove_runnable()
3456 hdec = time_limit - mftb(); in kvmhv_load_hv_regs_and_go()
3465 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_load_hv_regs_and_go()
3467 tb = mftb(); in kvmhv_load_hv_regs_and_go()
3564 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmhv_load_hv_regs_and_go()
[all …]
Dbook3s_hv_rmhandlers.S126 mftb r4
641 mftb r6 /* current host timebase */
644 mftb r7 /* check if lower 24 bits overflowed */
917 mftb r7
1556 mftb r6
1909 mftb r6 /* current guest timebase */
1912 mftb r7 /* check if lower 24 bits overflowed */
2694 mftb r5
2836 mftb r7
3684 mftb r5
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dsleep.S85 mftb r5
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dsuspend-asm.S204 mftb r5
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dsysfs.c66 delta = abs(mftb() - psl_tb); in psl_timebase_synced_show()

12