Searched refs:SPI_NOR_SECTOR_SIZE (Results 1 – 11 of 11) sorted by relevance
42 #define SPI_NOR_SECTOR_SIZE 0x1000U macro
149 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()
439 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, \
81 #define SPI_NOR_SECTOR_SIZE 0x1000U macro
396 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, \
482 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()
1000 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()
1171 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()
403 if ((size % SPI_NOR_SECTOR_SIZE) != 0) { in flash_andes_qspi_erase()
60 #define QSPI_SECTOR_SIZE SPI_NOR_SECTOR_SIZE
952 if ((size % SPI_NOR_SECTOR_SIZE) != 0) { in spi_nor_erase()