Searched refs:pages_per_block (Results 1 – 7 of 7) sorted by relevance
45 __le32 pages_per_block; member
78 __le32 pages_per_block; member
103 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_jedec_detect()
254 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_onfi_detect()
1229 uint16_t pages_per_block = mtd->erasesize / mtd->writesize; in preset_v2() local1238 config1 |= NFC_V2_CONFIG1_PPB(ffs(pages_per_block) - 6); in preset_v2()
4173 int page, pages_per_block, ret, chipnr; in nand_erase_nand() local4193 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()4224 (page + pages_per_block)) in nand_erase_nand()4239 page += pages_per_block; in nand_erase_nand()
420 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store() local426 if (phys_addr & ((pages_per_block << PAGE_SHIFT) - 1)) in probe_store()