Searched refs:ccount (Results 1 – 5 of 5) sorted by relevance
35 static uint32_t ccount(void) in ccount() function48 uint32_t curr = ccount(); in ccompare_isr()75 uint32_t curr = ccount(), cyc, adj; in sys_clock_set_timeout()104 uint32_t ret = (ccount() - last_count) / CYC_PER_TICK; in sys_clock_elapsed()112 return ccount(); in sys_clock_cycle_get_32()118 set_ccompare(ccount() + CYC_PER_TICK); in smp_timer_init()127 set_ccompare(ccount() + CYC_PER_TICK); in sys_clock_driver_init()
33 uint32_t ccount; in entropy_esp32_get_u32() local36 ccount = esp_cpu_get_cycle_count(); in entropy_esp32_get_u32()37 } while (ccount - last_ccount < cpu_to_apb_freq_ratio * 16); in entropy_esp32_get_u32()38 last_ccount = ccount; in entropy_esp32_get_u32()
25 uint32_t ccount; in arch_timing_counter_get() local27 __asm__ volatile ("rsr %0, CCOUNT" : "=r"(ccount)); in arch_timing_counter_get()29 return ccount; in arch_timing_counter_get()
15 static uint32_t ccount(void) in ccount() function25 uint32_t t0 = k_cycle_get_32(), cc0 = ccount(); in cpu_hz()29 uint32_t t1 = k_cycle_get_32(), cc1 = ccount(); in cpu_hz()
70 static inline uint32_t ccount(void) in ccount() function111 uint32_t cc1, cc0 = ccount(); in core_smoke()115 cc1 = ccount(); in core_smoke()133 cyc0 = ccount(); in core_smoke()135 cyc1 = ccount(); in core_smoke()