Searched refs:cpuid (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-latest/components/esp_system/ |
D | freertos_hooks.c | 65 …rr_t esp_register_freertos_idle_hook_for_cpu(esp_freertos_idle_cb_t new_idle_cb, UBaseType_t cpuid) in esp_register_freertos_idle_hook_for_cpu() argument 67 if(cpuid >= portNUM_PROCESSORS){ in esp_register_freertos_idle_hook_for_cpu() 72 if (idle_cb[cpuid][n]==NULL) { in esp_register_freertos_idle_hook_for_cpu() 73 idle_cb[cpuid][n]=new_idle_cb; in esp_register_freertos_idle_hook_for_cpu() 87 …rr_t esp_register_freertos_tick_hook_for_cpu(esp_freertos_tick_cb_t new_tick_cb, UBaseType_t cpuid) in esp_register_freertos_tick_hook_for_cpu() argument 89 if(cpuid >= portNUM_PROCESSORS){ in esp_register_freertos_tick_hook_for_cpu() 94 if (tick_cb[cpuid][n]==NULL) { in esp_register_freertos_tick_hook_for_cpu() 95 tick_cb[cpuid][n]=new_tick_cb; in esp_register_freertos_tick_hook_for_cpu() 109 …id esp_deregister_freertos_idle_hook_for_cpu(esp_freertos_idle_cb_t old_idle_cb, UBaseType_t cpuid) in esp_deregister_freertos_idle_hook_for_cpu() argument 111 if(cpuid >= portNUM_PROCESSORS){ in esp_deregister_freertos_idle_hook_for_cpu() [all …]
|
D | esp_ipc.c | 53 const int cpuid = (int) arg; in ipc_task() local 55 assert(cpuid == xPortGetCoreID()); in ipc_task() 63 if (s_no_block_func_and_arg_are_ready[cpuid] && s_no_block_func[cpuid]) { in ipc_task() 64 (*s_no_block_func[cpuid])(s_no_block_func_arg[cpuid]); in ipc_task() 65 s_no_block_func_and_arg_are_ready[cpuid] = false; in ipc_task() 66 s_no_block_func[cpuid] = NULL; in ipc_task() 70 if (s_func[cpuid]) { in ipc_task() 73 esp_ipc_func_t func = s_func[cpuid]; in ipc_task() 74 void* func_arg = s_func_arg[cpuid]; in ipc_task() 75 esp_ipc_wait_t ipc_wait = s_wait_for[cpuid]; in ipc_task() [all …]
|
/hal_espressif-latest/components/spi_flash/ |
D | cache_utils.c | 68 void spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state); 69 void spi_flash_restore_cache(uint32_t cpuid, uint32_t saved_state); 130 uint32_t cpuid = (uint32_t) arg; in spi_flash_op_block_func() local 140 spi_flash_restore_cache(cpuid, s_flash_op_cache_state[cpuid]); in spi_flash_op_block_func() 158 int cpuid = xPortGetCoreID(); in spi_flash_disable_interrupts_caches_and_other_cpu() local 159 uint32_t other_cpuid = (cpuid == 0) ? 1 : 0; in spi_flash_disable_interrupts_caches_and_other_cpu() 163 s_flash_op_cpu = cpuid; in spi_flash_disable_interrupts_caches_and_other_cpu() 184 cpuid = xPortGetCoreID(); in spi_flash_disable_interrupts_caches_and_other_cpu() 185 other_cpuid = (cpuid == 0) ? 1 : 0; in spi_flash_disable_interrupts_caches_and_other_cpu() 187 s_flash_op_cpu = cpuid; in spi_flash_disable_interrupts_caches_and_other_cpu() [all …]
|
/hal_espressif-latest/components/esp_system/include/ |
D | esp_freertos_hooks.h | 52 …r_t esp_register_freertos_idle_hook_for_cpu(esp_freertos_idle_cb_t new_idle_cb, UBaseType_t cpuid); 82 …r_t esp_register_freertos_tick_hook_for_cpu(esp_freertos_tick_cb_t new_tick_cb, UBaseType_t cpuid); 101 …d esp_deregister_freertos_idle_hook_for_cpu(esp_freertos_idle_cb_t old_idle_cb, UBaseType_t cpuid); 118 …d esp_deregister_freertos_tick_hook_for_cpu(esp_freertos_tick_cb_t old_tick_cb, UBaseType_t cpuid);
|
/hal_espressif-latest/components/esp_timer/src/ |
D | esp_timer_impl_systimer.c | 141 for (unsigned cpuid = 0; cpuid < SOC_CPU_CORES_NUM; ++cpuid) { in esp_timer_impl_early_init() local 142 …al_counter_can_stall_by_cpu(&systimer_hal, SYSTIMER_COUNTER_ESPTIMER, cpuid, (cpuid < CONFIG_MP_MA… in esp_timer_impl_early_init()
|
/hal_espressif-latest/components/esp_system/port/arch/xtensa/ |
D | esp_ipc_isr.c | 63 const uint32_t cpuid = xPortGetCoreID(); in esp_ipc_isr_init() local 64 …uint32_t intr_source = ETS_FROM_CPU_INTR2_SOURCE + cpuid; // ETS_FROM_CPU_INTR2_SOURCE and ETS_FRO… in esp_ipc_isr_init() 66 esp_rom_route_intr_matrix(cpuid, intr_source, ETS_IPC_ISR_INUM); in esp_ipc_isr_init() 69 if (cpuid != 0) { in esp_ipc_isr_init()
|
/hal_espressif-latest/zephyr/port/host_flash/ |
D | cache_utils.c | 46 static void spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state); 47 static void spi_flash_restore_cache(uint32_t cpuid, uint32_t saved_state); 117 void IRAM_ATTR spi_flash_enable_cache(uint32_t cpuid) in spi_flash_enable_cache() argument 120 uint32_t cache_value = cache_ll_l1_get_enabled_bus(cpuid); in spi_flash_enable_cache() 123 spi_flash_restore_cache(cpuid, cache_value); in spi_flash_enable_cache() 134 static void IRAM_ATTR spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state) in spi_flash_disable_cache() argument 139 static void IRAM_ATTR spi_flash_restore_cache(uint32_t cpuid, uint32_t saved_state) in spi_flash_restore_cache() argument
|
/hal_espressif-latest/components/riscv/include/riscv/ |
D | rv_utils.h | 45 uint32_t cpuid; in rv_utils_get_core_id() 46 cpuid = RV_READ_CSR(mhartid); in rv_utils_get_core_id() 47 return cpuid; in rv_utils_get_core_id()
|
/hal_espressif-latest/components/spi_flash/include/esp_private/ |
D | cache_utils.h | 82 void spi_flash_enable_cache(uint32_t cpuid);
|