Lines Matching refs:FLASH_PAGE_SIZE
175 page = offset / FLASH_PAGE_SIZE; in erase_page()
180 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page()
185 page = offset / FLASH_PAGE_SIZE; in erase_page()
190 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page()
197 page = offset / FLASH_PAGE_SIZE; in erase_page()
233 for (; address <= offset + len - 1 ; address += FLASH_PAGE_SIZE) { in flash_stm32_block_erase_loop()
336 #define PAGES_PER_BANK ((FLASH_SIZE / FLASH_PAGE_SIZE) / 2) in flash_stm32_page_layout()
342 stm32g4_flash_layout[0].pages_size = FLASH_PAGE_SIZE; in flash_stm32_page_layout()
346 - (PAGES_PER_BANK * FLASH_PAGE_SIZE); in flash_stm32_page_layout()
349 stm32g4_flash_layout[2].pages_size = FLASH_PAGE_SIZE; in flash_stm32_page_layout()
356 / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
357 stm32g4_flash_layout[0].pages_size = FLASH_PAGE_SIZE; in flash_stm32_page_layout()