Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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()
Dnandsim.c2359 memorg->eraseblocks_per_lun = 1 << overridesize; in ns_init_module()
Dnand_base.c5013 memorg->eraseblocks_per_lun = in find_full_id_nand()
5260 memorg->eraseblocks_per_lun = in nand_detect()