Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/esp32/
Ddport_access.c52 static uint32_t volatile dport_access_ref[portNUM_PROCESSORS]; //dport access reference variable
83 if (dport_access_ref[cpu_id] == 0) { in esp_dport_access_stall_other_cpu_start()
102 dport_access_ref[cpu_id]++; in esp_dport_access_stall_other_cpu_start()
104 if (dport_access_ref[cpu_id] > 1) { in esp_dport_access_stall_other_cpu_start()
122 if (dport_access_ref[cpu_id] == 0) { in esp_dport_access_stall_other_cpu_end()
126 dport_access_ref[cpu_id]--; in esp_dport_access_stall_other_cpu_end()
128 if (dport_access_ref[cpu_id] == 0) { in esp_dport_access_stall_other_cpu_end()
161 dport_access_ref[core_id] = 0; in dport_access_init_core()