Home
last modified time | relevance | path

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

/Zephyr-latest/tests/boards/altera_max10/qspi/src/
Dqspi_flash.c14 #define FLASH_SECTOR_SIZE 65536 macro
29 offset = FLASH_SECTOR_SIZE * i; in ZTEST()
34 offset, FLASH_SECTOR_SIZE), in ZTEST()
/Zephyr-latest/drivers/flash/
Dflash_stm32h7x.c48 #define SECTOR_PER_BANK ((REAL_FLASH_SIZE_KB / FLASH_SECTOR_SIZE) / 2)
293 sector.sector_index = offset / FLASH_SECTOR_SIZE;
299 sector.sector_index -= BANK2_OFFSET / FLASH_SECTOR_SIZE;
308 sector.sector_index -= BANK2_OFFSET / FLASH_SECTOR_SIZE;
320 sector.sector_index = offset / FLASH_SECTOR_SIZE;
373 for (; address <= offset + len - 1; address += FLASH_SECTOR_SIZE) {
547 off_t flush_offset = ROUND_DOWN(offset, FLASH_SECTOR_SIZE);
548 size_t flush_len = ROUND_UP(offset + len - 1, FLASH_SECTOR_SIZE) - flush_offset;
684 stm32h7_flash_layout[0].pages_size = FLASH_SECTOR_SIZE;
691 BANK2_OFFSET - (SECTOR_PER_BANK * FLASH_SECTOR_SIZE);
[all …]
Dflash_stm32.h109 #define FLASH_PAGE_SIZE (FLASH_SECTOR_SIZE)
/Zephyr-latest/tests/boot/mcuboot_data_sharing/src/
Dmain.c16 #define FLASH_SECTOR_SIZE 1024 macro
97 value /= FLASH_SECTOR_SIZE; in ZTEST()