Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/mtd/
Dnand.h31 unsigned int eraseblocks_per_lun; member
43 .eraseblocks_per_lun = (epl), \
291 return nand->memorg.eraseblocks_per_lun; in nanddev_eraseblocks_per_lun()
303 nand->memorg.eraseblocks_per_lun * in nanddev_target_size()
328 nand->memorg.eraseblocks_per_lun * in nanddev_neraseblocks()
435 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
490 nand->memorg.eraseblocks_per_lun) * in nanddev_pos_to_offs()
563 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()
717 nand->memorg.eraseblocks_per_lun); in nanddev_bbt_pos_to_entry()
/Linux-v4.19/drivers/mtd/nand/
Dcore.c200 !memorg->pages_per_eraseblock || !memorg->eraseblocks_per_lun || in nanddev_init()
207 nand->rowconv.lun_addr_shift = fls(memorg->eraseblocks_per_lun - 1) + in nanddev_init()