Searched refs:luns_per_target (Results 1 – 5 of 5) sorted by relevance
37 unsigned int luns_per_target; member50 .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()1046 ((pos->lun + (pos->target * nand->memorg.luns_per_target)) * in nanddev_bbt_pos_to_entry()
111 memorg->luns_per_target = p->lun_count; in nand_jedec_detect()
259 memorg->luns_per_target = p->lun_count; in nand_onfi_detect()
5154 memorg->luns_per_target = 1; in nand_detect()
365 !memorg->planes_per_lun || !memorg->luns_per_target || in nanddev_init()