Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A 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()
H A Dcputime.h74 unsigned long tb = mftb(); in account_cpu_user_entry()
83 unsigned long tb = mftb(); in account_cpu_user_exit()
H A Dtimex.h20 return mftb(); in get_cycles()
H A Dstackprotector.h28 canary ^= mftb(); in boot_init_stack_canary()
H A Ddelay.h57 unsigned long __start = mftb(); \
H A Dreg.h1425 #define mftb() ({unsigned long rval; \ macro
1435 #define mftb() ({unsigned long rval; \ macro
1438 #define mftb() ({unsigned long rval; \ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c24 static inline unsigned long mftb(void) in mftb() function
138 tb_start = mftb(); in main()
143 tb_now = mftb(); in main()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A DhvCall_inst.c94 h->tb_start = mftb(); in probe_hcall_entry()
108 h->tb_total += mftb() - h->tb_start; in probe_hcall_exit()
H A Dlparcfg.c507 seq_printf(m, "tbr=%ld\n", mftb()); in pseries_lparcfg_data()
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dppc_asm.h80 #define MFTBL(dest) mftb dest
/OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/
H A Dhash_64k.c195 if (soft_invalid || (mftb() & 0x1)) in __hash_page_4K()
307 if (mftb() & 0x1) in __hash_page_64K()
H A Dhash_4k.c99 if (mftb() & 0x1) in __hash_page_4K()
H A Dhash_hugepage.c152 if (mftb() & 0x1) in __hash_page_thp()
H A Dhash_native.c410 slot_offset = mftb() & 0x7; in native_hpte_remove()
/OK3568_Linux_fs/u-boot/arch/powerpc/lib/
H A Dticks.S23 mftb r4
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/
H A Dsmp.c394 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()
419 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/52xx/
H A Dlite5200_sleep.S183 mftb r13 /* start */
186 mftb r13 /* current */
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dtime.c324 now = mftb(); in vtime_delta()
452 start = mftb(); in __delay()
453 while (mftb() - start < loops) in __delay()
H A Dswsusp_32.S75 mftb r5
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A 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()
3470 hdec = time_limit - mftb(); in kvmhv_load_hv_regs_and_go()
3479 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_load_hv_regs_and_go()
3481 tb = mftb(); in kvmhv_load_hv_regs_and_go()
3578 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmhv_load_hv_regs_and_go()
[all …]
H A Dbook3s_hv_interrupts.S72 mftb r7
H A 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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dsleep.S85 mftb r5
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/83xx/
H A Dsuspend-asm.S204 mftb r5
/OK3568_Linux_fs/kernel/drivers/misc/cxl/
H A Dsysfs.c66 delta = abs(mftb() - psl_tb); in psl_timebase_synced_show()

12