Lines Matching refs:page
229 int page; in erase_page() local
252 page = offset / FLASH_PAGE_SIZE; in erase_page()
253 LOG_DBG("Erase page %d on bank 1", page); in erase_page()
257 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page()
258 LOG_DBG("Erase page %d on bank 1", page); in erase_page()
262 page = offset / FLASH_PAGE_SIZE; in erase_page()
263 LOG_DBG("Erase page %d on bank 2", page); in erase_page()
267 page = (offset - BANK2_OFFSET) / FLASH_PAGE_SIZE; in erase_page()
268 LOG_DBG("Erase page %d on bank 2", page); in erase_page()
274 page = offset / FLASH_PAGE_SIZE_128_BITS; in erase_page()
275 LOG_DBG("Erase page %d\n", page); in erase_page()
281 regs->NSCR |= (page << FLASH_STM32_NSPNB_POS); in erase_page()