Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_system/
Desp_ipc.c126 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/
Desp_ipc_isr.c121 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/
Dcache_utils.c83 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/
Dintr_types.h23 #define INTR_CPU_CONVERT_ID(cpu_id) ((cpu_id) - 1) argument
/hal_espressif-latest/components/esp_system/include/
Desp_ipc.h53 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/
Dsystimer_ll.h49 …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/
Dsystimer_ll.h49 …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/
Dsystimer_ll.h49 …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/
Dsystimer_ll.h58 …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/
Dsystimer_ll.h58 …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/
Desp_ipc.h41 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/
Dsystimer_ll.h47 …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/
Dsystimer_hal.c170 …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/
Dsystimer_hal.h120 …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/
Dbt.c159 …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/
Desp_bt_adapter.c124 …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/
Desp_bt_adapter.c124 …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