Searched refs:mftb (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/arch/powerpc/include/asm/vdso/
H A Dtimebase.h16 #define mftb() ({unsigned long rval; \ macro
26 #define mftb() ({unsigned long rval; \ macro
29 #define mftb() ({unsigned long rval; \ macro
55 return mftb();
59 tblo = mftb();
/linux-master/arch/powerpc/include/asm/
H A Dtimex.h20 return mftb();
H A Ddelay.h57 unsigned long __start = mftb(); \
H A Dcputime.h47 unsigned long tb = mftb();
56 unsigned long tb = mftb();
H A Dtime.h84 return mftb() - tstamp;
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c25 static inline unsigned long mftb(void) function
29 asm volatile("mftb %0" : "=r" (low));
139 tb_start = mftb();
144 tb_now = mftb();
/linux-master/arch/powerpc/platforms/pseries/
H A DhvCall_inst.c22 unsigned long tb_total; /* total wall time (mftb) of calls. */
94 h->tb_start = mftb();
108 h->tb_total += mftb() - h->tb_start;
H A Dlparcfg.c552 seq_printf(m, "tbr=%ld\n", mftb());
/linux-master/arch/powerpc/boot/
H A Dppc_asm.h80 #define MFTBL(dest) mftb dest
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_ras.c157 u64 new_tb = mftb() - vc->tb_offset_applied;
159 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) {
178 u64 new_tb = mftb() + vc->tb_offset;
180 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) {
H A Dbook3s_hv_interrupts.S72 mftb r7
H A Dbook3s_hv_p9_entry.c224 u64 tb = mftb() - vc->tb_offset_applied;
599 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) {
848 *tb = mftb();
854 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) {
H A Dbook3s_hv.c327 vc->stolen_tb += mftb() - vcpu->arch.busy_preempt;
333 now = mftb();
371 vcpu->arch.busy_preempt = mftb();
375 now = mftb();
836 now = mftb();
3457 kvmppc_core_start_stolen(vc, mftb());
3466 kvmppc_core_end_stolen(vc, mftb());
3593 kvmppc_remove_runnable(vc, vcpu, mftb());
3612 kvmppc_core_end_stolen(pvc, mftb());
3621 kvmppc_core_end_stolen(pvc, mftb());
[all...]
H A Dbook3s_hv_rmhandlers.S113 mftb r4
582 mftb r6 /* current host timebase */
585 mftb r7 /* check if lower 24 bits overflowed */
826 mftb r7
1198 mftb r6
1458 mftb r6 /* current guest timebase */
1461 mftb r7 /* check if lower 24 bits overflowed */
2148 mftb r5
2254 mftb r7
2983 mftb r
[all...]
/linux-master/drivers/spi/
H A Dspi-mpc52xx.c129 ms->wcol_tx_timestamp = mftb();
230 ms->wcol_ticks += mftb() - ms->wcol_tx_timestamp;
231 ms->wcol_tx_timestamp = mftb();
256 ms->timestamp = mftb();
265 ms->wcol_tx_timestamp = mftb();
287 if (((int)mftb()) - ms->timestamp < 0)
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_4k.c101 if (mftb() & 0x1)
H A Dhash_hugepage.c149 if (mftb() & 0x1)
H A Dhash_64k.c197 if (soft_invalid || (mftb() & 0x1))
312 if (mftb() & 0x1)
H A Dhash_native.c341 slot_offset = mftb() & 0x7;
/linux-master/arch/powerpc/kernel/
H A Dsyscall.c186 choose_random_kstack_offset(mftb());
H A Dtime.c218 now = mftb();
394 start = mftb();
395 while (mftb() - start < loops)
H A Dswsusp_32.S77 mftb r5
/linux-master/arch/powerpc/platforms/85xx/
H A Dsmp.c67 * do that for the main mftb implementation, because it requires
394 long start = mftb();
422 now = mftb();
/linux-master/arch/powerpc/platforms/52xx/
H A Dlite5200_sleep.S186 mftb r13 /* start */
189 mftb r13 /* current */
/linux-master/arch/powerpc/platforms/powermac/
H A Dsleep.S85 mftb r5

Completed in 229 milliseconds

12