Home
last modified time | relevance | path

Searched refs:pages_per_eraseblock (Results 1 – 2 of 2) sorted by relevance

/u-boot/include/linux/mtd/
A Dnand.h30 unsigned int pages_per_eraseblock; member
42 .pages_per_eraseblock = (ppe), \
268 return nand->memorg.pages_per_eraseblock; in nanddev_pages_per_eraseblock()
279 return nand->memorg.pagesize * nand->memorg.pages_per_eraseblock; in nanddev_eraseblock_size()
304 nand->memorg.pages_per_eraseblock * in nanddev_target_size()
329 nand->memorg.pages_per_eraseblock; in nanddev_neraseblocks()
448 pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); in nanddev_offs_to_pos()
505 nand->memorg.pages_per_eraseblock); in nanddev_pos_to_offs()
596 if (pos->page >= nand->memorg.pages_per_eraseblock - 1) in nanddev_pos_next_page()
/u-boot/drivers/mtd/nand/
A Dcore.c215 !memorg->pages_per_eraseblock || !memorg->eraseblocks_per_lun || in nanddev_init()
221 fls(memorg->pages_per_eraseblock - 1); in nanddev_init()
230 mtd->erasesize = memorg->pagesize * memorg->pages_per_eraseblock; in nanddev_init()

Completed in 5 milliseconds