Searched refs:cpuid (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-3.7.0/zephyr/port/host_flash/ |
D | cache_utils.c | 30 #define DPORT_CACHE_BIT(cpuid, regid) DPORT_ ## cpuid ## regid argument 32 #define DPORT_CACHE_MASK(cpuid) (DPORT_CACHE_BIT(cpuid, _CACHE_MASK_OPSDRAM) | DPORT_CACHE_BIT(cpui… argument 33 … DPORT_CACHE_BIT(cpuid, _CACHE_MASK_DRAM1) | DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IROM0) | \ 34 … DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IRAM1) | DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IRAM0) ) 36 #define DPORT_CACHE_VAL(cpuid) (~(DPORT_CACHE_BIT(cpuid, _CACHE_MASK_DROM0) | \ argument 37 DPORT_CACHE_BIT(cpuid, _CACHE_MASK_DRAM1) | \ 38 DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IRAM0))) 40 #define DPORT_CACHE_GET_VAL(cpuid) (cpuid == 0) ? DPORT_CACHE_VAL(PRO) : DPORT_CACHE_VAL(APP) argument 41 #define DPORT_CACHE_GET_MASK(cpuid) (cpuid == 0) ? DPORT_CACHE_MASK(PRO) : DPORT_CACHE_MASK(APP) argument 43 static void spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state); [all …]
|
/hal_espressif-3.7.0/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 | 49 const int cpuid = (int) arg; in ipc_task() local 51 assert(cpuid == xPortGetCoreID()); in ipc_task() 73 if (s_func[cpuid]) { in ipc_task() 76 esp_ipc_func_t func = s_func[cpuid]; in ipc_task() 77 s_func[cpuid] = NULL; in ipc_task() 78 void* func_arg = s_func_arg[cpuid]; in ipc_task() 79 SemaphoreHandle_t ipc_ack = s_ipc_ack[cpuid]; in ipc_task()
|
/hal_espressif-3.7.0/components/spi_flash/ |
D | cache_utils.c | 61 #define DPORT_CACHE_BIT(cpuid, regid) DPORT_ ## cpuid ## regid argument 63 #define DPORT_CACHE_MASK(cpuid) (DPORT_CACHE_BIT(cpuid, _CACHE_MASK_OPSDRAM) | DPORT_CACHE_BIT(cpui… argument 64 … DPORT_CACHE_BIT(cpuid, _CACHE_MASK_DRAM1) | DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IROM0) | \ 65 … DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IRAM1) | DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IRAM0) ) 67 #define DPORT_CACHE_VAL(cpuid) (~(DPORT_CACHE_BIT(cpuid, _CACHE_MASK_DROM0) | \ argument 68 DPORT_CACHE_BIT(cpuid, _CACHE_MASK_DRAM1) | \ 69 DPORT_CACHE_BIT(cpuid, _CACHE_MASK_IRAM0))) 71 #define DPORT_CACHE_GET_VAL(cpuid) (cpuid == 0) ? DPORT_CACHE_VAL(PRO) : DPORT_CACHE_VAL(APP) argument 72 #define DPORT_CACHE_GET_MASK(cpuid) (cpuid == 0) ? DPORT_CACHE_MASK(PRO) : DPORT_CACHE_MASK(APP) argument 78 void spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state); [all …]
|
/hal_espressif-3.7.0/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-3.7.0/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-3.7.0/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-3.7.0/components/spi_flash/include/esp_private/ |
D | cache_utils.h | 82 void spi_flash_enable_cache(uint32_t cpuid);
|