/hal_espressif-latest/components/esp_system/ |
D | esp_ipc.c | 126 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 128 if (cpu_id >= portNUM_PROCESSORS) { in esp_ipc_call_and_wait() 131 if (s_ipc_task_handle[cpu_id] == NULL) { in esp_ipc_call_and_wait() 141 UBaseType_t priority_of_running_ipc_task = uxTaskPriorityGet(s_ipc_task_handle[cpu_id]); in esp_ipc_call_and_wait() 143 vTaskPrioritySet(s_ipc_task_handle[cpu_id], priority_of_current_task); in esp_ipc_call_and_wait() 146 xSemaphoreTake(s_ipc_mutex[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait() 147 vTaskPrioritySet(s_ipc_task_handle[cpu_id], priority_of_current_task); in esp_ipc_call_and_wait() 152 s_func_arg[cpu_id] = arg; in esp_ipc_call_and_wait() 153 s_wait_for[cpu_id] = wait_for; in esp_ipc_call_and_wait() 155 s_func[cpu_id] = func; in esp_ipc_call_and_wait() [all …]
|
/hal_espressif-latest/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-latest/zephyr/port/host_flash/ |
D | cache_utils.c | 83 int cpu_id = esp_cpu_get_core_id(); in spi_flash_disable_interrupts_caches_and_other_cpu() local 85 int cpu_id = PRO_CPU_NUM; in spi_flash_disable_interrupts_caches_and_other_cpu() local 87 spi_flash_disable_cache(cpu_id, &s_flash_op_cache_state[cpu_id]); in spi_flash_disable_interrupts_caches_and_other_cpu() 90 int other_cpu = (cpu_id == PRO_CPU_NUM) ? APP_CPU_NUM : PRO_CPU_NUM; in spi_flash_disable_interrupts_caches_and_other_cpu() 99 int cpu_id = esp_cpu_get_core_id(); in spi_flash_enable_interrupts_caches_and_other_cpu() local 101 int cpu_id = PRO_CPU_NUM; in spi_flash_enable_interrupts_caches_and_other_cpu() 103 spi_flash_restore_cache(cpu_id, s_flash_op_cache_state[cpu_id]); in spi_flash_enable_interrupts_caches_and_other_cpu() 106 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-latest/components/esp_hw_support/include/ |
D | intr_types.h | 23 #define INTR_CPU_CONVERT_ID(cpu_id) ((cpu_id) - 1) argument
|
/hal_espressif-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/components/esp_system/include/esp_private/ |
D | esp_ipc.h | 41 esp_err_t esp_ipc_call_nonblocking(uint32_t cpu_id, esp_ipc_func_t func, void* arg);
|
/hal_espressif-latest/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-latest/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-latest/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);
|
/hal_espressif-latest/components/bt/controller/esp32c3/ |
D | bt.c | 159 …int (* _interrupt_alloc)(int cpu_id, int source, intr_handler_t handler, void *arg, void **ret_han… 290 static int interrupt_alloc_wrapper(int cpu_id, int source, intr_handler_t handler, void *arg, void … 496 static int interrupt_alloc_wrapper(int cpu_id, int source, intr_handler_t handler, void *arg, void … in interrupt_alloc_wrapper() argument 511 esp_ipc_call_blocking(cpu_id, btdm_intr_alloc, &p); in interrupt_alloc_wrapper()
|
/hal_espressif-latest/zephyr/esp32c3/src/bt/ |
D | esp_bt_adapter.c | 124 …int (* _interrupt_alloc)(int cpu_id, int source, isr_handler_t handler, void *arg, void **ret_hand… 240 static int interrupt_alloc_wrapper(int cpu_id, int source, isr_handler_t handler, void *arg, void *… 443 static int interrupt_alloc_wrapper(int cpu_id, int source, isr_handler_t handler, void *arg, void *… in interrupt_alloc_wrapper() argument
|
/hal_espressif-latest/zephyr/esp32s3/src/bt/ |
D | esp_bt_adapter.c | 124 …int (* _interrupt_alloc)(int cpu_id, int source, intr_handler_t handler, void *arg, void **ret_han… 238 static int interrupt_alloc_wrapper(int cpu_id, int source, intr_handler_t handler, void *arg, void … 441 static int interrupt_alloc_wrapper(int cpu_id, int source, intr_handler_t handler, void *arg, void … in interrupt_alloc_wrapper() argument
|