Searched refs:s_flash_op_cache_state (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/components/spi_flash/ |
D | cache_utils.c | 72 static uint32_t s_flash_op_cache_state[2]; variable 140 spi_flash_restore_cache(cpuid, s_flash_op_cache_state[cpuid]); in spi_flash_op_block_func() 219 spi_flash_disable_cache(cpuid, &s_flash_op_cache_state[cpuid]); in spi_flash_disable_interrupts_caches_and_other_cpu() 222 spi_flash_disable_cache(other_cpuid, &s_flash_op_cache_state[other_cpuid]); in spi_flash_disable_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() 243 spi_flash_restore_cache(other_cpuid, s_flash_op_cache_state[other_cpuid]); in spi_flash_enable_interrupts_caches_and_other_cpu() 278 spi_flash_disable_cache(other_cpuid, &s_flash_op_cache_state[other_cpuid]); 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() 290 spi_flash_restore_cache(cpuid, s_flash_op_cache_state[cpuid]); in spi_flash_enable_interrupts_caches_no_os() 330 spi_flash_disable_cache(0, &s_flash_op_cache_state[0]); in spi_flash_disable_interrupts_caches_and_other_cpu() [all …]
|
/hal_espressif-latest/zephyr/port/host_flash/ |
D | cache_utils.c | 49 static uint32_t s_flash_op_cache_state[2]; variable 87 spi_flash_disable_cache(cpu_id, &s_flash_op_cache_state[cpu_id]); in spi_flash_disable_interrupts_caches_and_other_cpu() 91 spi_flash_disable_cache(other_cpu, &s_flash_op_cache_state[other_cpu]); in spi_flash_disable_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() 107 spi_flash_restore_cache(other_cpu, s_flash_op_cache_state[other_cpu]); in spi_flash_enable_interrupts_caches_and_other_cpu()
|