Home
last modified time | relevance | path

Searched refs:targetsize (Results 1 – 4 of 4) sorted by relevance

/drivers/mtd/nand/raw/
Dnand_bbt.c263 u64 targetsize = nanddev_target_size(&this->base); in read_abs_bbt() local
271 targetsize >> this->bbt_erase_shift, in read_abs_bbt()
275 offs += targetsize >> this->bbt_erase_shift; in read_abs_bbt()
464 u64 targetsize = nanddev_target_size(&this->base); in create_bbt() local
481 numblocks = targetsize >> this->bbt_erase_shift; in create_bbt()
526 u64 targetsize = nanddev_target_size(&this->base); in search_bbt() local
546 bbtblocks = targetsize >> this->bbt_erase_shift; in search_bbt()
574 startblock += targetsize >> this->bbt_erase_shift; in search_bbt()
624 u64 targetsize = nanddev_target_size(&this->base); in get_bbt_block() local
636 numblocks = (int)(targetsize >> this->bbt_erase_shift); in get_bbt_block()
[all …]
Dsh_flctl.c989 u64 targetsize = nanddev_target_size(&chip->base); in flctl_chip_attach_chip() local
1002 if (targetsize > (32 << 20)) { in flctl_chip_attach_chip()
1006 } else if (targetsize > (2 << 16)) { in flctl_chip_attach_chip()
1016 if (targetsize > (128 << 20)) { in flctl_chip_attach_chip()
1020 } else if (targetsize > (8 << 16)) { in flctl_chip_attach_chip()
Dnand_base.c4696 u64 targetsize; in nand_detect() local
4841 targetsize = nanddev_target_size(&chip->base); in nand_detect()
4842 chip->pagemask = (targetsize >> chip->page_shift) - 1; in nand_detect()
4846 if (targetsize & 0xffffffff) in nand_detect()
4847 chip->chip_shift = ffs((unsigned)targetsize) - 1; in nand_detect()
4849 chip->chip_shift = ffs((unsigned)(targetsize >> 32)); in nand_detect()
4865 (int)(targetsize >> 20), nand_is_slc(chip) ? "SLC" : "MLC", in nand_detect()
Dnandsim.c2344 u64 targetsize; in ns_init_module() local
2357 targetsize = nanddev_target_size(&chip->base); in ns_init_module()
2359 chip->pagemask = (targetsize >> chip->page_shift) - 1; in ns_init_module()