Searched refs:page_nums (Results 1 – 3 of 3) sorted by relevance
67 int page_nums = len / PAGE_SIZE; in flash_b91_erase() local90 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()
67 int page_nums = (len / FMC_FLASH_PAGE_SIZE); in flash_numaker_erase() local92 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()
70 int page_nums = len / RMC_FLASH_PAGE_SIZE; in flash_numaker_erase() local95 while (page_nums) { in flash_numaker_erase()102 page_nums--; in flash_numaker_erase()