Searched refs:pages_per_eraseblock (Results 1 – 10 of 10) sorted by relevance
29 memorg->pages_per_eraseblock = 256; in amd_nand_decode_id()30 memorg->pages_per_eraseblock <<= ((chip->id.data[3] & 0x03) << 1); in amd_nand_decode_id()31 mtd->erasesize = memorg->pages_per_eraseblock * in amd_nand_decode_id()
102 memorg->pages_per_eraseblock = in nand_jedec_detect()104 mtd->erasesize = memorg->pages_per_eraseblock * memorg->pagesize; in nand_jedec_detect()
643 memorg->pages_per_eraseblock = (SZ_1M << tmp) / in hynix_nand_decode_id()647 memorg->pages_per_eraseblock = (SZ_512K + SZ_256K) / in hynix_nand_decode_id()651 memorg->pages_per_eraseblock = (SZ_128K << tmp) / in hynix_nand_decode_id()
66 memorg->pages_per_eraseblock = (128 * 1024) << in samsung_nand_decode_id()
253 memorg->pages_per_eraseblock = in nand_onfi_detect()255 mtd->erasesize = memorg->pages_per_eraseblock * memorg->pagesize; in nand_onfi_detect()
4532 memorg->pages_per_eraseblock = ((64 * 1024) << (extid & 0x03)) / in nand_decode_ext_id()4554 memorg->pages_per_eraseblock = type->erasesize / type->pagesize; in nand_decode_id()4600 memorg->pages_per_eraseblock = type->erasesize / in find_full_id_nand()4610 memorg->pages_per_eraseblock); in find_full_id_nand()4811 memorg->pages_per_eraseblock); in nand_detect()
966 memorg->pages_per_eraseblock <<= (0xff - mh->UnitSizeFactor); in nftl_partscan()
33 unsigned int pages_per_eraseblock; member46 .pages_per_eraseblock = (ppe), \411 return nand->memorg.pages_per_eraseblock; in nanddev_pages_per_eraseblock()423 return nand->memorg.pages_per_eraseblock * in nanddev_pages_per_target()436 return nand->memorg.pagesize * nand->memorg.pages_per_eraseblock; in nanddev_eraseblock_size()473 nand->memorg.pages_per_eraseblock * in nanddev_target_size()636 pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); in nanddev_offs_to_pos()693 nand->memorg.pages_per_eraseblock); in nanddev_pos_to_offs()784 if (pos->page >= nand->memorg.pages_per_eraseblock - 1) in nanddev_pos_next_page()
234 !memorg->pages_per_eraseblock || !memorg->eraseblocks_per_lun || in nanddev_init()240 fls(memorg->pages_per_eraseblock - 1); in nanddev_init()249 mtd->erasesize = memorg->pagesize * memorg->pages_per_eraseblock; in nanddev_init()
40341 memorg->pages_per_eraseblock);