Lines Matching refs:eraseblocks_per_lun
34 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()
1047 nand->memorg.eraseblocks_per_lun); in nanddev_bbt_pos_to_entry()