Searched refs:pages_per_block (Results 1 – 4 of 4) sorted by relevance
31 static int page_size, oob_size, pages_per_block; variable156 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()
115 mtd->erasesize = le32_to_cpu(p->pages_per_block) * mtd->writesize; in mxs_flash_onfi_ident()
2870 int page, status, pages_per_block, ret, chipnr; in nand_erase_nand() local2889 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()
306 __le32 pages_per_block; member436 __le32 pages_per_block; member