Home
last modified time | relevance | path

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

/Zephyr-latest/modules/nrf_wifi/bus/
Dspi_nor.h42 #define SPI_NOR_SECTOR_SIZE 0x1000U macro
/Zephyr-latest/drivers/flash/
Dflash_mspi_emul_device.c149 const size_t num_sectors = size / SPI_NOR_SECTOR_SIZE; in flash_mspi_emul_erase()
156 if (offset % SPI_NOR_SECTOR_SIZE) { in flash_mspi_emul_erase()
161 if (size % SPI_NOR_SECTOR_SIZE) { in flash_mspi_emul_erase()
179 SPI_NOR_SECTOR_SIZE); in flash_mspi_emul_erase()
180 offset += SPI_NOR_SECTOR_SIZE; in flash_mspi_emul_erase()
Dflash_mcux_flexspi_mx25um51345g.c439 int num_sectors = size / SPI_NOR_SECTOR_SIZE; in flash_flexspi_nor_erase()
447 if (offset % SPI_NOR_SECTOR_SIZE) { in flash_flexspi_nor_erase()
452 if (size % SPI_NOR_SECTOR_SIZE) { in flash_flexspi_nor_erase()
477 offset += SPI_NOR_SECTOR_SIZE; in flash_flexspi_nor_erase()
612 / SPI_NOR_SECTOR_SIZE, \
613 .pages_size = SPI_NOR_SECTOR_SIZE, \
Dspi_nor.h81 #define SPI_NOR_SECTOR_SIZE 0x1000U macro
Dflash_mcux_flexspi_nor.c396 const size_t num_sectors = size / SPI_NOR_SECTOR_SIZE; in flash_flexspi_nor_erase()
406 if (offset % SPI_NOR_SECTOR_SIZE) { in flash_flexspi_nor_erase()
411 if (size % SPI_NOR_SECTOR_SIZE) { in flash_flexspi_nor_erase()
445 offset += SPI_NOR_SECTOR_SIZE; in flash_flexspi_nor_erase()
1362 / SPI_NOR_SECTOR_SIZE, \
1363 .pages_size = SPI_NOR_SECTOR_SIZE, \
Dflash_mspi_atxp032.c482 const size_t num_sectors = size / SPI_NOR_SECTOR_SIZE; in flash_mspi_atxp032_erase()
489 if (offset % SPI_NOR_SECTOR_SIZE) { in flash_mspi_atxp032_erase()
494 if (size % SPI_NOR_SECTOR_SIZE) { in flash_mspi_atxp032_erase()
571 offset += SPI_NOR_SECTOR_SIZE; in flash_mspi_atxp032_erase()
Dflash_stm32_xspi.c1000 if (((size % SPI_NOR_SECTOR_SIZE) != 0) && (size < dev_cfg->flash_size)) { in flash_stm32_xspi_erase()
1129 addr += SPI_NOR_SECTOR_SIZE; in flash_stm32_xspi_erase()
1130 size -= SPI_NOR_SECTOR_SIZE; in flash_stm32_xspi_erase()
1579 erase_size = SPI_NOR_SECTOR_SIZE; in setup_pages_layout()
Dflash_stm32_ospi.c1171 if (((size % SPI_NOR_SECTOR_SIZE) != 0) && (size < dev_cfg->flash_size)) { in flash_stm32_ospi_erase()
1303 addr += SPI_NOR_SECTOR_SIZE; in flash_stm32_ospi_erase()
1304 size -= SPI_NOR_SECTOR_SIZE; in flash_stm32_ospi_erase()
1742 erase_size = SPI_NOR_SECTOR_SIZE; in setup_pages_layout()
Dflash_andes_qspi.c403 if ((size % SPI_NOR_SECTOR_SIZE) != 0) { in flash_andes_qspi_erase()
Dnrf_qspi_nor.c60 #define QSPI_SECTOR_SIZE SPI_NOR_SECTOR_SIZE
Dspi_nor.c952 if ((size % SPI_NOR_SECTOR_SIZE) != 0) { in spi_nor_erase()