Searched refs:phys_erase_shift (Results 1 – 8 of 8) sorted by relevance
1758 block_count = chip->chipsize >> chip->phys_erase_shift; in mx23_boot_init()1769 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()1770 page = block << (chip->phys_erase_shift - chip->page_shift); in mx23_boot_init()1771 byte = block << chip->phys_erase_shift; in mx23_boot_init()
1078 blocks = mtd->size >> this->phys_erase_shift; in nftl_partscan()1162 end -= (INFTL_BBT_RESERVED_BLOCKS << this->phys_erase_shift); in inftl_partscan()1199 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()1207 blocks = doc->chips_per_floor << (this->chip_shift - this->phys_erase_shift); in inftl_partscan()
210 chip->phys_erase_shift, chip->page_shift); in set_addr()672 chip->phys_erase_shift); in fsl_elbc_attach_chip()
223 if (ofs & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()229 if (len & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()531 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()2114 (chip->phys_erase_shift - chip->page_shift); in nand_erase_op()4670 eraseblock = page >> (chip->phys_erase_shift - chip->page_shift); in single_erase()4717 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()4764 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()5773 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_detect()
737 chip->phys_erase_shift); in fsl_ifc_attach_chip()
1246 nand->bbt_erase_shift = nand->phys_erase_shift = DOCG4_ERASE_SHIFT; in init_mtd_structs()
1202 chip->phys_erase_shift += 1; in denali_multidev_fixup()
1319 int phys_erase_shift; member