Searched refs:tbu1 (Results 1 – 4 of 4) sorted by relevance
87 int64_t tbl, tbu0, tbu1; in Now()90 asm("mftbu %0" : "=r"(tbu1)); in Now()91 tbl &= -static_cast<int64_t>(tbu0 == tbu1); in Now()93 return (tbu1 << 32) | tbl; in Now()
92 uint32_t tbl, tbu0, tbu1; in Now()97 : "=r"(tbu0), "=r"(tbl), "=r"(tbu1)); in Now()98 tbl &= -static_cast<int32_t>(tbu0 == tbu1); in Now()100 return (static_cast<uint64_t>(tbu1) << 32) | tbl; in Now()
153 unsigned long tbl, tbu0, tbu1; in mbedtls_timing_hardclock() local159 asm volatile( "mftbu %0" : "=r" (tbu1) ); in mbedtls_timing_hardclock()161 while( tbu0 != tbu1 ); in mbedtls_timing_hardclock()
873 unsigned long tbu1, tbu2; in get_tbms() local881 tbu1 = mftbu(); in get_tbms()884 } while (tbu1 != tbu2); in get_tbms()887 tmp = (unsigned long long)(tbu1); in get_tbms()