Home
last modified time | relevance | path

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

/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
/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()
Dlpar.c773 slot_offset = mftb() & 0x7; in pSeries_lpar_hpte_remove()
/arch/powerpc/boot/
Dppc_asm.h80 #define MFTBL(dest) mftb dest
/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.c1858 if (mftb() & 0x1) in hpte_insert_repeating()
/arch/powerpc/platforms/85xx/
Dsmp.c385 long start = mftb(); in mpc85xx_smp_kexec_cpu_down()
410 now = mftb(); in mpc85xx_smp_kexec_cpu_down()
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S69 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()
711 now = mftb(); in kvmppc_create_dtl_entry()
2481 now = mftb(); in kvmppc_remove_runnable()
3407 hdec = time_limit - mftb(); in kvmhv_load_hv_regs_and_go()
3413 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_load_hv_regs_and_go()
3415 tb = mftb(); in kvmhv_load_hv_regs_and_go()
3505 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
1562 mftb r6
1905 mftb r6 /* current guest timebase */
1908 mftb r7 /* check if lower 24 bits overflowed */
2690 mftb r5
2832 mftb r7
3656 mftb r5
[all …]
Dbook3s_hv_nested.c309 if (mftb() >= hdec_exp) { in kvmhv_enter_nested_guest()
/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S183 mftb r13 /* start */
186 mftb r13 /* current */
/arch/powerpc/platforms/powermac/
Dsleep.S82 mftb r5
/arch/powerpc/kernel/
Dswsusp_32.S75 mftb r5
Dtime.c330 now = mftb(); in vtime_delta()
/arch/powerpc/platforms/83xx/
Dsuspend-asm.S204 mftb r5