Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/drivers/timer/
Dxtensa_sys_timer.c35 static uint32_t ccount(void) in ccount() function
48 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()
/Zephyr-Core-3.7.0/drivers/entropy/
Dentropy_esp32.c33 uint32_t ccount; in entropy_esp32_get_u32() local
36 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()
/Zephyr-Core-3.7.0/arch/xtensa/core/
Dtiming.c25 uint32_t ccount; in arch_timing_counter_get() local
27 __asm__ volatile ("rsr %0, CCOUNT" : "=r"(ccount)); in arch_timing_counter_get()
29 return ccount; in arch_timing_counter_get()
/Zephyr-Core-3.7.0/tests/boards/mtk_adsp/src/
Dmain.c15 static uint32_t ccount(void) in ccount() function
25 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()
/Zephyr-Core-3.7.0/tests/boards/intel_adsp/smoke/src/
Dcpus.c70 static inline uint32_t ccount(void) in ccount() function
111 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()