Home
last modified time | relevance | path

Searched refs:pages_per_block (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Ddenali_spl.c31 static int page_size, oob_size, pages_per_block; variable
156 ret = nand_read_oob(buf, block * pages_per_block); in nand_block_isbad()
175 pages_per_block = readl(denali_flash_reg + PAGES_PER_BLOCK); in nand_init()
187 block = page / pages_per_block; in nand_spl_load_image()
188 page = page % pages_per_block; in nand_spl_load_image()
204 ret = nand_read_page(dst, block * pages_per_block + page); in nand_spl_load_image()
219 if (page == pages_per_block) { in nand_spl_load_image()
Dmxs_nand_spl.c115 mtd->erasesize = le32_to_cpu(p->pages_per_block) * mtd->writesize; in mxs_flash_onfi_ident()
Dnand_base.c2870 int page, status, pages_per_block, ret, chipnr; in nand_erase_nand() local
2889 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()
2924 (page + pages_per_block)) in nand_erase_nand()
2941 page += pages_per_block; in nand_erase_nand()
3321 mtd->erasesize = 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_flash_detect_onfi()
3424 mtd->erasesize = 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_flash_detect_jedec()
/external/u-boot/include/linux/mtd/
Drawnand.h306 __le32 pages_per_block; member
436 __le32 pages_per_block; member