/hal_espressif-3.7.0/components/esp_system/ |
D | esp_ipc.c | 128 static esp_err_t esp_ipc_call_and_wait(uint32_t cpu_id, esp_ipc_func_t func, void* arg, esp_ipc_wai… in esp_ipc_call_and_wait() argument 130 if (cpu_id >= portNUM_PROCESSORS) { in esp_ipc_call_and_wait() 133 if (s_ipc_task_handle[cpu_id] == NULL) { in esp_ipc_call_and_wait() 143 UBaseType_t priority_of_running_ipc_task = uxTaskPriorityGet(s_ipc_task_handle[cpu_id]); in esp_ipc_call_and_wait() 145 vTaskPrioritySet(s_ipc_task_handle[cpu_id], priority_of_current_task); in esp_ipc_call_and_wait() 148 xSemaphoreTake(s_ipc_mutex[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait() 149 vTaskPrioritySet(s_ipc_task_handle[cpu_id], priority_of_current_task); in esp_ipc_call_and_wait() 154 s_func[cpu_id] = func; in esp_ipc_call_and_wait() 155 s_func_arg[cpu_id] = arg; in esp_ipc_call_and_wait() 156 xTaskNotify(s_ipc_task_handle[cpu_id], wait_for, eSetValueWithOverwrite); in esp_ipc_call_and_wait() [all …]
|
/hal_espressif-3.7.0/zephyr/port/host_flash/ |
D | cache_utils.c | 141 int cpu_id = arch_curr_cpu()->id; in spi_flash_disable_interrupts_caches_and_other_cpu() local 143 int cpu_id = PRO_CPU_NUM; in spi_flash_disable_interrupts_caches_and_other_cpu() local 145 spi_flash_disable_cache(cpu_id, &s_cache_ops_saved_state[cpu_id]); in spi_flash_disable_interrupts_caches_and_other_cpu() 148 int other_cpu = (cpu_id == PRO_CPU_NUM) ? APP_CPU_NUM : PRO_CPU_NUM; in spi_flash_disable_interrupts_caches_and_other_cpu() 156 int cpu_id = arch_curr_cpu()->id; in spi_flash_enable_interrupts_caches_and_other_cpu() local 158 int cpu_id = PRO_CPU_NUM; in spi_flash_enable_interrupts_caches_and_other_cpu() 160 spi_flash_restore_cache(cpu_id, s_cache_ops_saved_state[cpu_id]); in spi_flash_enable_interrupts_caches_and_other_cpu() 163 int other_cpu = (cpu_id == PRO_CPU_NUM) ? APP_CPU_NUM : PRO_CPU_NUM; in spi_flash_enable_interrupts_caches_and_other_cpu()
|
/hal_espressif-3.7.0/components/esp_system/port/arch/xtensa/ |
D | esp_ipc_isr.c | 121 const uint32_t cpu_id = xPortGetCoreID(); in esp_ipc_isr_stall_other_cpu() local 122 if (s_count_of_nested_calls[cpu_id]++ == 0) { in esp_ipc_isr_stall_other_cpu() 142 const uint32_t cpu_id = xPortGetCoreID(); in esp_ipc_isr_release_other_cpu() local 143 if (--s_count_of_nested_calls[cpu_id] == 0) { in esp_ipc_isr_release_other_cpu() 153 } else if (s_count_of_nested_calls[cpu_id] < 0) { in esp_ipc_isr_release_other_cpu() 193 const uint32_t cpu_id = xPortGetCoreID(); in esp_ipc_isr_call_and_wait() local 204 if (cpu_id == 0) { in esp_ipc_isr_call_and_wait()
|
/hal_espressif-3.7.0/components/esp_hw_support/include/ |
D | intr_types.h | 23 #define INTR_CPU_CONVERT_ID(cpu_id) ((cpu_id) - 1) argument
|
/hal_espressif-3.7.0/components/esp_system/include/ |
D | esp_ipc.h | 53 esp_err_t esp_ipc_call(uint32_t cpu_id, esp_ipc_func_t func, void* arg); 73 esp_err_t esp_ipc_call_blocking(uint32_t cpu_id, esp_ipc_func_t func, void* arg);
|
/hal_espressif-3.7.0/components/hal/esp32s3/include/hal/ |
D | systimer_ll.h | 49 …er_ll_counter_can_stall_by_cpu(systimer_dev_t *dev, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_ll_counter_can_stall_by_cpu() argument 52 dev->conf.val |= 1 << ((28 - counter_id * 2) - cpu_id); in systimer_ll_counter_can_stall_by_cpu() 54 dev->conf.val &= ~(1 << ((28 - counter_id * 2) - cpu_id)); in systimer_ll_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/esp32c3/include/hal/ |
D | systimer_ll.h | 49 …er_ll_counter_can_stall_by_cpu(systimer_dev_t *dev, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_ll_counter_can_stall_by_cpu() argument 52 dev->conf.val |= 1 << ((28 - counter_id * 2) - cpu_id); in systimer_ll_counter_can_stall_by_cpu() 54 dev->conf.val &= ~(1 << ((28 - counter_id * 2) - cpu_id)); in systimer_ll_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/esp32c2/include/hal/ |
D | systimer_ll.h | 49 …er_ll_counter_can_stall_by_cpu(systimer_dev_t *dev, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_ll_counter_can_stall_by_cpu() argument 52 dev->conf.val |= 1 << ((28 - counter_id * 2) - cpu_id); in systimer_ll_counter_can_stall_by_cpu() 54 dev->conf.val &= ~(1 << ((28 - counter_id * 2) - cpu_id)); in systimer_ll_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/ |
D | systimer_ll.h | 58 …er_ll_counter_can_stall_by_cpu(systimer_dev_t *dev, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_ll_counter_can_stall_by_cpu() argument 61 dev->conf.val |= 1 << ((28 - counter_id * 2) - cpu_id); in systimer_ll_counter_can_stall_by_cpu() 63 dev->conf.val &= ~(1 << ((28 - counter_id * 2) - cpu_id)); in systimer_ll_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/esp32h2/include/hal/ |
D | systimer_ll.h | 58 …er_ll_counter_can_stall_by_cpu(systimer_dev_t *dev, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_ll_counter_can_stall_by_cpu() argument 61 dev->conf.val |= 1 << ((28 - counter_id * 2) - cpu_id); in systimer_ll_counter_can_stall_by_cpu() 63 dev->conf.val &= ~(1 << ((28 - counter_id * 2) - cpu_id)); in systimer_ll_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/ |
D | systimer_ll.h | 47 …er_ll_counter_can_stall_by_cpu(systimer_dev_t *dev, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_ll_counter_can_stall_by_cpu() argument 51 (void)cpu_id; in systimer_ll_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/ |
D | systimer_hal.c | 170 …unter_can_stall_by_cpu(systimer_hal_context_t *hal, uint32_t counter_id, uint32_t cpu_id, bool can) in systimer_hal_counter_can_stall_by_cpu() argument 172 systimer_ll_counter_can_stall_by_cpu(hal->dev, counter_id, cpu_id, can); in systimer_hal_counter_can_stall_by_cpu()
|
/hal_espressif-3.7.0/components/hal/include/hal/ |
D | systimer_hal.h | 120 …nter_can_stall_by_cpu(systimer_hal_context_t *hal, uint32_t counter_id, uint32_t cpu_id, bool can);
|