Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dsoc_flash_nios2_qspi.c82 uint32_t flag_status; in flash_nios2_qspi_erase() local
145 flag_status = IORD_32DIRECT(qspi_dev->csr_base, in flash_nios2_qspi_erase()
148 if (flag_status & FLAG_STATUS_CONTROLLER_READY) { in flash_nios2_qspi_erase()
155 if ((flag_status & FLAG_STATUS_ERASE_ERROR) || in flash_nios2_qspi_erase()
156 (flag_status & FLAG_STATUS_PROTECTION_ERROR)) { in flash_nios2_qspi_erase()
158 flag_status); in flash_nios2_qspi_erase()
191 uint32_t flag_status; in flash_nios2_qspi_write_block() local
258 flag_status = IORD_32DIRECT(qspi_dev->csr_base, in flash_nios2_qspi_write_block()
261 if ((flag_status & FLAG_STATUS_PROGRAM_ERROR) || in flash_nios2_qspi_write_block()
262 (flag_status & FLAG_STATUS_PROTECTION_ERROR)) { in flash_nios2_qspi_write_block()
[all …]