| /src/sys/arch/bebox/stand/boot/ |
| clock.c | 40 static inline u_quad_t mftb(void); 43 mftb(void) function 48 __asm ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b" 62 tb = mftb(); 67 "mftb %0; cmpw 0, %0,%2; blt 1b; 2:"
|
| /src/sys/arch/prep/stand/boot/ |
| clock.c | 44 static inline u_quad_t mftb(void); 48 mftb(void) function 53 __asm volatile ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b" 98 tb = mftb(); 103 "mftb %0; cmpw %0,%2; blt 1b; 2:"
|
| /src/sys/arch/rs6000/stand/boot/ |
| clock.c | 44 static inline u_quad_t mftb(void); 48 mftb(void) function 53 __asm volatile ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b" 99 tb = mftb(); 104 "mftb %0; cmpw %0,%2; blt 1b; 2:"
|
| /src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/ |
| ppc.h | 77 __asm__ __volatile__ ("mftb %0" : "=r" (rval)); \ 89 #define mftb() \ macro 93 __asm__ __volatile__ ("mftb %0" : "=r" (rval)); \ 104 return (caa_cycles_t) mftb();
|
| /src/sys/arch/powerpc/booke/ |
| e500_timer.c | 100 const uint64_t now = mftb(); 157 ci->ci_lastintr = ci->ci_lasttb = mftb(); 192 tb = mftb();
|
| e500_intr.c | 523 cpu->cpu_spl_tb[ipl][ci->ci_cpl] = mftb(); 931 __func__, tf, mftb(), tf->tf_srr0, tf->tf_srr1,
|
| /src/sys/arch/bebox/bebox/ |
| cpu.c | 127 tb = mftb(); 133 while (tb > mftb())
|
| /src/sys/arch/evbppc/nintendo/ |
| cpu.c | 168 tb = mftb(); 174 while (tb > mftb())
|
| /src/sys/arch/prep/prep/ |
| cpu.c | 121 tb = mftb(); 127 while (tb > mftb())
|
| /src/sys/arch/powerpc/powerpc/ |
| clock.c | 92 .tc_name = "mftb", 115 __asm volatile ("mftb %0" : "=r"(ci->ci_lasttb)); 180 __asm volatile ("mftb %0" : "=r"(tb)); 235 tb = mftb(); 242 __asm volatile ("1: mftb %0; cmpld %0,%1; blt 1b;" 249 "mftb %0; cmplw %0,%2; blt 1b; 2:" 265 tb = (u_int)(mftb() & 0x7fffffff);
|
| fixup.c | 85 cycles = mftb(); 245 cycles = mftb() - cycles;
|
| trap_subr.S | 296 mftb %r28
|
| /src/sys/arch/macppc/macppc/ |
| cpu.c | 289 tb = mftb(); 295 while (tb > mftb())
|
| /src/external/lgpl3/gmp/dist/tune/ |
| powerpc.asm | 44 mftb r5
|
| powerpc64.asm | 42 mftb r5
|
| time.c | 277 /* mftb 278 Enhancement: On 64-bit chips mftb gives a 64-bit value, no need for mftbu 283 #define MFTB(a) \ 288 "mftb %1\n" \ 298 #define MFTB(a) mftb_function (a) 302 #define MFTB(a) \ 306 ASSERT_FAIL (mftb not available); \ 826 FREQ_MEASURE_ONE ("mftb", struct_timeval, 827 call_gettimeofday, MFTB, 858 printf ("mftb_works_p(): SIGILL not supported, assuming mftb works\n") [all...] |
| /src/sys/arch/powerpc/ibm4xx/ |
| clock.c | 237 tb = mftb(); 255 "mftb %0;"
|
| /src/sys/arch/ofppc/ofppc/ |
| cpu.c | 261 tb = mftb();
|
| /src/sys/arch/sandpoint/stand/altboot/ |
| brdsetup.c | 68 static inline uint64_t mftb(void); 1025 uint64_t tb = mftb(); 1039 tb = mftb(); 1048 " mftb %0;" 1138 mftb(void) function 1143 asm ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b"
|
| /src/sys/arch/powerpc/include/ |
| cpu.h | 285 mftb(void) function 290 __asm volatile ("mftb %0" : "=r"(tb)); 305 " mftb %L[tb]" "\n"
|
| /src/sys/arch/powerpc/booke/dev/ |
| pq3etsec.c | 2567 uint64_t now = mftb();
|