Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c28 static inline unsigned long long mftb(void) in mftb() function
142 tb_start = mftb(); in main()
147 tb_now = mftb(); in main()
/Linux-v4.19/arch/powerpc/platforms/pseries/
DhvCall_inst.c124 h->tb_start = mftb(); in probe_hcall_entry()
138 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
Dlpar.c200 slot_offset = mftb() & 0x7; in pSeries_lpar_hpte_remove()
/Linux-v4.19/arch/powerpc/include/asm/
Dtimex.h21 return mftb(); in get_cycles()
Dtime.h113 return mftb(); in get_tb()
Dreg.h1369 #define mftb() ({unsigned long rval; \ macro
1389 #define mftb() ({unsigned long rval; \ macro
1409 #define mftb() mftbl() macro
Dppc_asm.h385 #define MFTBL(dest) mftb dest
/Linux-v4.19/arch/powerpc/boot/
Dppc_asm.h84 #define MFTBL(dest) mftb dest
/Linux-v4.19/arch/powerpc/mm/
Dhash64_64k.c195 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K()
307 if (mftb() & 0x1) in __hash_page_64K()
Dhash64_4k.c99 if (mftb() & 0x1) in __hash_page_4K()
Dhugepage-hash64.c146 if (mftb() & 0x1) in __hash_page_thp()
Dhash_native_64.c384 slot_offset = mftb() & 0x7; in native_hpte_remove()
Dhash_utils_64.c1768 if (mftb() & 0x1) in hpte_insert_repeating()
/Linux-v4.19/arch/powerpc/platforms/85xx/
Dsmp.c389 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()
414 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
/Linux-v4.19/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S183 mftb r13 /* start */
186 mftb r13 /* current */
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S125 mftb r7
Dbook3s_hv_rmhandlers.S161 mftb r4
698 mftb r6 /* current host timebase */
701 mftb r7 /* check if lower 24 bits overflowed */
1007 mftb r7
1608 mftb r6
2037 mftb r6 /* current guest timebase */
2040 mftb r7 /* check if lower 24 bits overflowed */
2700 mftb r5
2822 mftb r7
3452 mftb r5
[all …]
Dbook3s_hv.c271 vc->preempt_tb = mftb(); in kvmppc_core_start_stolen()
281 vc->stolen_tb += mftb() - vc->preempt_tb; in kvmppc_core_end_stolen()
304 vcpu->arch.busy_stolen += mftb() - vcpu->arch.busy_preempt; in kvmppc_core_vcpu_load_hv()
320 vcpu->arch.busy_preempt = mftb(); in kvmppc_core_vcpu_put_hv()
695 now = mftb(); in kvmppc_create_dtl_entry()
2188 now = mftb(); in kvmppc_remove_runnable()
3299 vcpu->arch.stolen_logged = vcore_stolen_time(vc, mftb()); in kvmppc_run_vcpu()
/Linux-v4.19/arch/powerpc/kernel/
Dswsusp_32.S67 mftb r5
Dtime.c295 now = mftb(); in vtime_delta()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dsleep.S79 mftb r5
/Linux-v4.19/arch/powerpc/
DMakefile414 if ! /bin/echo mftb 5 | $(AS) -v -mppc -many -o $(TOUT) >/dev/null 2>&1 ; then \
/Linux-v4.19/arch/powerpc/platforms/83xx/
Dsuspend-asm.S197 mftb r5
/Linux-v4.19/drivers/misc/cxl/
Dsysfs.c70 delta = abs(mftb() - psl_tb); in psl_timebase_synced_show()
/Linux-v4.19/tools/testing/selftests/powerpc/primitives/asm/
Dppc_asm.h385 #define MFTBL(dest) mftb dest

12