Searched refs:phys_erase_shift (Results 1 – 10 of 10) sorted by relevance
941 blocks = mtd->size >> this->phys_erase_shift; in nftl_partscan()1026 end -= (INFTL_BBT_RESERVED_BLOCKS << this->phys_erase_shift); in inftl_partscan()1063 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()1071 blocks = doc->chips_per_floor << (this->chip_shift - this->phys_erase_shift); in inftl_partscan()
197 chip->phys_erase_shift, chip->page_shift); in set_addr()792 chip->phys_erase_shift); in fsl_elbc_attach_chip()
104 if (ofs & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()110 if (len & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()533 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()1668 (chip->phys_erase_shift - chip->page_shift); in nand_erase_op()4188 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()4223 (chip->phys_erase_shift - chip->page_shift)); in nand_erase_nand()4233 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()4844 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_detect()
200 iowrite32(1 << (chip->phys_erase_shift - chip->page_shift), in denali_select_target()1000 chip->phys_erase_shift += 1; in denali_multidev_fixup()
750 chip->phys_erase_shift); in fsl_ifc_attach_chip()
1969 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()1970 page = block << (chip->phys_erase_shift - chip->page_shift); in mx23_boot_init()1971 byte = block << chip->phys_erase_shift; in mx23_boot_init()
1243 unsigned int phys_erase_shift; member
16794 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift);16795 page = block << (chip->phys_erase_shift - chip->page_shift);16796 - byte = block << chip->phys_erase_shift;16797 + byte = (loff_t)block << chip->phys_erase_shift;
31404 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;31532 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;
322351 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;322479 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;