Home
last modified time | relevance | path

Searched refs:page_nums (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/flash/
Dsoc_flash_b91.c67 int page_nums = len / PAGE_SIZE; in flash_b91_erase() local
90 while (page_nums) { in flash_b91_erase()
92 if ((page_nums >= BLOCK_64K_PAGES) && ((offset % BLOCK_64K_SIZE) == 0)) { in flash_b91_erase()
95 page_nums -= BLOCK_64K_PAGES; in flash_b91_erase()
97 } else if ((page_nums >= BLOCK_32K_PAGES) && ((offset % BLOCK_32K_SIZE) == 0)) { in flash_b91_erase()
100 page_nums -= BLOCK_32K_PAGES; in flash_b91_erase()
102 } else if ((page_nums >= SECTOR_PAGES) && ((offset % SECTOR_SIZE) == 0)) { in flash_b91_erase()
105 page_nums -= SECTOR_PAGES; in flash_b91_erase()
110 page_nums--; in flash_b91_erase()
Dsoc_flash_numaker.c67 int page_nums = (len / FMC_FLASH_PAGE_SIZE); in flash_numaker_erase() local
92 while (page_nums) { in flash_numaker_erase()
99 page_nums -= (FMC_BANK_SIZE / FMC_FLASH_PAGE_SIZE); in flash_numaker_erase()
108 page_nums--; in flash_numaker_erase()
Dsoc_flash_numaker_rmc.c70 int page_nums = len / RMC_FLASH_PAGE_SIZE; in flash_numaker_erase() local
95 while (page_nums) { in flash_numaker_erase()
102 page_nums--; in flash_numaker_erase()