Home
last modified time | relevance | path

Searched refs:eraseblocks_per_lun (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/linux/mtd/
Dnand.h34 unsigned int eraseblocks_per_lun; member
47 .eraseblocks_per_lun = (epl), \
522 nand->memorg.eraseblocks_per_lun * in nanddev_pages_per_target()
546 return nand->memorg.eraseblocks_per_lun; in nanddev_eraseblocks_per_lun()
558 return nand->memorg.eraseblocks_per_lun * nand->memorg.luns_per_target; in nanddev_eraseblocks_per_target()
570 nand->memorg.eraseblocks_per_lun * in nanddev_target_size()
595 nand->memorg.eraseblocks_per_lun; in nanddev_neraseblocks()
755 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
810 nand->memorg.eraseblocks_per_lun) * in nanddev_pos_to_offs()
883 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()
[all …]
/linux-6.6.21/drivers/mtd/nand/
Dcore.c364 !memorg->pages_per_eraseblock || !memorg->eraseblocks_per_lun || in nanddev_init()
371 nand->rowconv.lun_addr_shift = fls(memorg->eraseblocks_per_lun - 1) + in nanddev_init()
/linux-6.6.21/drivers/mtd/nand/raw/
Dnand_jedec.c115 memorg->eraseblocks_per_lun = in nand_jedec_detect()
Dnand_onfi.c263 memorg->eraseblocks_per_lun = in nand_onfi_detect()
Dnand_base.c1217 pages_per_lun = memorg->pages_per_eraseblock * memorg->eraseblocks_per_lun; in rawnand_cap_cont_reads()
5066 memorg->eraseblocks_per_lun = in find_full_id_nand()
5321 memorg->eraseblocks_per_lun = in nand_detect()
Dnandsim.c2359 memorg->eraseblocks_per_lun = 1 << overridesize; in ns_init_module()