Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_hw_support/
Dhw_random.c60 uint32_t ccount; in esp_random() local
65 ccount = esp_cpu_get_cycle_count(); in esp_random()
67 } while (ccount - last_ccount < cpu_to_apb_freq_ratio * APB_CYCLE_WAIT_NUM); in esp_random()
73 ccount = esp_cpu_get_cycle_count(); in esp_random()
75 } while (ccount - last_ccount < cpu_to_apb_freq_ratio * APB_CYCLE_WAIT_NUM); in esp_random()
77 last_ccount = ccount; in esp_random()
/hal_espressif-latest/components/heap/include/
Dheap_trace.inc21 /* Encode the CPU ID in the LSB of the ccount value */
24 uint32_t ccount = esp_cpu_get_cycle_count() & ~3;
26 ccount |= xPortGetCoreID();
28 return ccount;
91 uint32_t ccount = get_ccount();
102 .ccount = ccount,
128 uint32_t ccount = get_ccount();
144 .ccount = ccount,
Desp_heap_trace.h34 …uint32_t ccount; ///< CCOUNT of the CPU when the allocation was made. LSB (bit value 1) is the CPU… member
/hal_espressif-latest/components/xtensa/include/
Dxt_utils.h69 uint32_t ccount; in xt_utils_get_cycle_count() local
70 RSR(CCOUNT, ccount); in xt_utils_get_cycle_count()
71 return ccount; in xt_utils_get_cycle_count()
74 static inline void xt_utils_set_cycle_count(uint32_t ccount) in xt_utils_set_cycle_count() argument
76 WSR(CCOUNT, ccount); in xt_utils_set_cycle_count()
/hal_espressif-latest/components/riscv/include/riscv/
Drv_utils.h63 FORCE_INLINE_ATTR void __attribute__((always_inline)) rv_utils_set_cycle_count(uint32_t ccount) in rv_utils_set_cycle_count() argument
65 RV_WRITE_CSR(CSR_PCCR_MACHINE, ccount); in rv_utils_set_cycle_count()
/hal_espressif-latest/components/esp_pm/
Dpm_impl.c488 uint32_t ccount = esp_cpu_get_cycle_count(); in update_ccompare() local
490 if ((ccompare - CCOMPARE_MIN_CYCLES_IN_FUTURE) - ccount < UINT32_MAX / 2) { in update_ccompare()
491 uint32_t diff = ccompare - ccount; in update_ccompare()
494 uint32_t new_ccompare = ccount + diff_scaled; in update_ccompare()
/hal_espressif-latest/components/heap/
Dheap_trace_standalone.c330 r_cur->size, r_cur->address, label, r_cur->ccount & 1, r_cur->ccount & ~3); in heap_trace_dump_base()
521 r_dest->ccount = r_src->ccount; in record_deep_copy()
/hal_espressif-latest/components/esp_system/port/soc/esp32/
Dhighint_hdl.S310 rsr.ccount a2
429 1: rsr.ccount a2
455 2: rsr.ccount a4 /* delay_us(N) */
/hal_espressif-latest/components/xtensa/include/xtensa/
Dxtruntime-core-state.h98 STRUCT_FIELD (long,4,CS_SA_,ccount)
/hal_espressif-latest/components/bt/controller/esp32/
Dhli_vectors.S55 rsr.ccount a0