Searched refs:eraseblocks_per_lun (Results 1 – 6 of 6) sorted by relevance
34 unsigned int eraseblocks_per_lun; member47 .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 …]
364 !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()
115 memorg->eraseblocks_per_lun = in nand_jedec_detect()
263 memorg->eraseblocks_per_lun = in nand_onfi_detect()
2359 memorg->eraseblocks_per_lun = 1 << overridesize; in ns_init_module()
5013 memorg->eraseblocks_per_lun = in find_full_id_nand()5260 memorg->eraseblocks_per_lun = in nand_detect()