Home
last modified time | relevance | path

Searched refs:cycles (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Ddelay.c46 uint64_t cycles = 0; in udelay() local
49 cycles = (uint64_t)us * ((uint64_t)plat_get_freq() / 1000000ULL); in udelay()
51 while (cycles) { in udelay()
52 cycles_to_wait = MIN(cycles, UINT32_MAX); in udelay()
54 cycles -= cycles_to_wait; in udelay()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dtiming.c395 cycles, ratio, millisecs, secs, hardfail, \
413 unsigned long cycles = 0, ratio = 0; in mbedtls_timing_self_test() local
495 cycles = mbedtls_timing_hardclock(); in mbedtls_timing_self_test()
497 cycles = mbedtls_timing_hardclock() - cycles; in mbedtls_timing_self_test()
498 ratio = cycles / millisecs; in mbedtls_timing_self_test()
503 cycles = mbedtls_timing_hardclock(); in mbedtls_timing_self_test()
505 cycles = mbedtls_timing_hardclock() - cycles; in mbedtls_timing_self_test()
508 if( cycles / millisecs < ratio - ratio / 5 || in mbedtls_timing_self_test()
509 cycles / millisecs > ratio + ratio / 5 ) in mbedtls_timing_self_test()
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dmisc_arch.h18 void wait_cycles(unsigned long cycles);

Completed in 3 milliseconds