Searched refs:pages_per_eraseblock (Results 1 – 9 of 9) 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()
253 memorg->pages_per_eraseblock = in nand_onfi_detect()255 mtd->erasesize = memorg->pages_per_eraseblock * memorg->pagesize; in nand_onfi_detect()
66 memorg->pages_per_eraseblock = (128 * 1024) << in samsung_nand_decode_id()
4767 memorg->pages_per_eraseblock = ((64 * 1024) << (extid & 0x03)) / in nand_decode_ext_id()4789 memorg->pages_per_eraseblock = type->erasesize / type->pagesize; in nand_decode_id()4835 memorg->pages_per_eraseblock = type->erasesize / in find_full_id_nand()4845 memorg->pages_per_eraseblock); in find_full_id_nand()5046 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), \465 return nand->memorg.pages_per_eraseblock; in nanddev_pages_per_eraseblock()477 return nand->memorg.pages_per_eraseblock * in nanddev_pages_per_target()490 return nand->memorg.pagesize * nand->memorg.pages_per_eraseblock; in nanddev_eraseblock_size()527 nand->memorg.pages_per_eraseblock * in nanddev_target_size()710 pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); in nanddev_offs_to_pos()767 nand->memorg.pages_per_eraseblock); in nanddev_pos_to_offs()858 if (pos->page >= nand->memorg.pages_per_eraseblock - 1) in nanddev_pos_next_page()
358 !memorg->pages_per_eraseblock || !memorg->eraseblocks_per_lun || in nanddev_init()364 fls(memorg->pages_per_eraseblock - 1); in nanddev_init()373 mtd->erasesize = memorg->pagesize * memorg->pages_per_eraseblock; in nanddev_init()
Completed in 23 milliseconds