Searched refs:FLASH_SECTOR_SIZE (Results 1 – 4 of 4) sorted by relevance
14 #define FLASH_SECTOR_SIZE 65536 macro29 offset = FLASH_SECTOR_SIZE * i; in ZTEST()34 offset, FLASH_SECTOR_SIZE), in ZTEST()
48 #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 …]
109 #define FLASH_PAGE_SIZE (FLASH_SECTOR_SIZE)
16 #define FLASH_SECTOR_SIZE 1024 macro97 value /= FLASH_SECTOR_SIZE; in ZTEST()