Lines Matching refs:cpuid

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()
219 spi_flash_disable_cache(cpuid, &s_flash_op_cache_state[cpuid]); in spi_flash_disable_interrupts_caches_and_other_cpu()
228 const int cpuid = xPortGetCoreID(); in spi_flash_enable_interrupts_caches_and_other_cpu() local
232 assert(cpuid == s_flash_op_cpu); in spi_flash_enable_interrupts_caches_and_other_cpu()
234 assert(!(xTaskGetSchedulerState() == taskSCHEDULER_NOT_STARTED && cpuid != 0)); in spi_flash_enable_interrupts_caches_and_other_cpu()
239 spi_flash_restore_cache(cpuid, s_flash_op_cache_state[cpuid]); in spi_flash_enable_interrupts_caches_and_other_cpu()
242 const uint32_t other_cpuid = (cpuid == 0) ? 1 : 0; in spi_flash_enable_interrupts_caches_and_other_cpu()
274 const uint32_t cpuid = xPortGetCoreID(); in spi_flash_disable_interrupts_caches_and_other_cpu_no_os() local
275 const uint32_t other_cpuid = (cpuid == 0) ? 1 : 0; in spi_flash_disable_interrupts_caches_and_other_cpu_no_os()
282 spi_flash_disable_cache(cpuid, &s_flash_op_cache_state[cpuid]); in spi_flash_disable_interrupts_caches_and_other_cpu_no_os()
287 const uint32_t cpuid = xPortGetCoreID(); in spi_flash_enable_interrupts_caches_no_os() local
290 spi_flash_restore_cache(cpuid, s_flash_op_cache_state[cpuid]); in spi_flash_enable_interrupts_caches_no_os()
359 void IRAM_ATTR spi_flash_enable_cache(uint32_t cpuid) in spi_flash_enable_cache() argument
362 uint32_t cache_value = cache_ll_l1_get_enabled_bus(cpuid); in spi_flash_enable_cache()
365 spi_flash_restore_cache(cpuid, cache_value); in spi_flash_enable_cache()
376 void IRAM_ATTR spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state) in spi_flash_disable_cache() argument
381 void IRAM_ATTR spi_flash_restore_cache(uint32_t cpuid, uint32_t saved_state) in spi_flash_restore_cache() argument