Searched refs:targetsize (Results 1 – 4 of 4) sorted by relevance
263 u64 targetsize = nanddev_target_size(&this->base); in read_abs_bbt() local271 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() local481 numblocks = targetsize >> this->bbt_erase_shift; in create_bbt()526 u64 targetsize = nanddev_target_size(&this->base); in search_bbt() local546 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() local636 numblocks = (int)(targetsize >> this->bbt_erase_shift); in get_bbt_block()[all …]
989 u64 targetsize = nanddev_target_size(&chip->base); in flctl_chip_attach_chip() local1002 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()
4696 u64 targetsize; in nand_detect() local4841 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()
2344 u64 targetsize; in ns_init_module() local2357 targetsize = nanddev_target_size(&chip->base); in ns_init_module()2359 chip->pagemask = (targetsize >> chip->page_shift) - 1; in ns_init_module()