Home
last modified time | relevance | path

Searched refs:luns_per_target (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/mtd/
Dnand.h37 unsigned int luns_per_target; member
50 .luns_per_target = (lpt), \
523 nand->memorg.luns_per_target; in nanddev_pages_per_target()
558 return nand->memorg.eraseblocks_per_lun * nand->memorg.luns_per_target; in nanddev_eraseblocks_per_target()
569 return (u64)nand->memorg.luns_per_target * in nanddev_target_size()
594 return nand->memorg.ntargets * nand->memorg.luns_per_target * in nanddev_neraseblocks()
757 pos->lun = do_div(tmp, nand->memorg.luns_per_target); in nanddev_offs_to_pos()
809 (pos->target * nand->memorg.luns_per_target)) * in nanddev_pos_to_offs()
863 if (pos->lun >= nand->memorg.luns_per_target - 1) in nanddev_pos_next_lun()
1047 ((pos->lun + (pos->target * nand->memorg.luns_per_target)) * in nanddev_bbt_pos_to_entry()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_jedec.c109 memorg->luns_per_target = p->lun_count; in nand_jedec_detect()
Dnand_onfi.c260 memorg->luns_per_target = p->lun_count; in nand_onfi_detect()
Dnand_base.c5013 memorg->luns_per_target = 1; in nand_detect()
/linux-6.1.9/drivers/mtd/nand/
Dcore.c366 !memorg->planes_per_lun || !memorg->luns_per_target || in nanddev_init()