Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.4/arch/powerpc/platforms/pseries/
DhvCall_inst.c111 h->tb_start = mftb(); in probe_hcall_entry()
125 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
Dlparcfg.c474 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
/Linux-v5.4/arch/powerpc/include/asm/
Dtimex.h23 return mftb(); in get_cycles()
Dstackprotector.h28 canary ^= mftb(); in boot_init_stack_canary()
Dtime.h107 return mftb(); in get_tb()
Dreg.h1384 #define mftb() ({unsigned long rval; \ macro
1404 #define mftb() ({unsigned long rval; \ macro
1424 #define mftb() mftbl() macro
Dppc_asm.h407 #define MFTBL(dest) mftb dest
/Linux-v5.4/arch/powerpc/boot/
Dppc_asm.h80 #define MFTBL(dest) mftb dest
/Linux-v5.4/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.c403 slot_offset = mftb() & 0x7; in native_hpte_remove()
Dhash_utils.c1850 if (mftb() & 0x1) in hpte_insert_repeating()
/Linux-v5.4/arch/powerpc/platforms/85xx/
Dsmp.c385 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()
410 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S183 mftb r13 /* start */
186 mftb r13 /* current */
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S69 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()
710 now = mftb(); in kvmppc_create_dtl_entry()
2476 now = mftb(); in kvmppc_remove_runnable()
3401 hdec = time_limit - mftb(); in kvmhv_load_hv_regs_and_go()
3407 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_load_hv_regs_and_go()
3409 tb = mftb(); in kvmhv_load_hv_regs_and_go()
3499 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmhv_load_hv_regs_and_go()
[all …]
Dbook3s_hv_rmhandlers.S125 mftb r4
634 mftb r6 /* current host timebase */
637 mftb r7 /* check if lower 24 bits overflowed */
910 mftb r7
1548 mftb r6
1891 mftb r6 /* current guest timebase */
1894 mftb r7 /* check if lower 24 bits overflowed */
2654 mftb r5
2796 mftb r7
3588 mftb r5
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dswsusp_32.S75 mftb r5
Dtime.c330 now = mftb(); in vtime_delta()
/Linux-v5.4/arch/powerpc/platforms/powermac/
Dsleep.S82 mftb r5
/Linux-v5.4/arch/powerpc/platforms/83xx/
Dsuspend-asm.S204 mftb r5
/Linux-v5.4/drivers/misc/cxl/
Dsysfs.c66 delta = abs(mftb() - psl_tb); in psl_timebase_synced_show()
/Linux-v5.4/tools/testing/selftests/powerpc/primitives/asm/
Dppc_asm.h407 #define MFTBL(dest) mftb dest

12