Searched refs:phys_erase_shift (Results 1 – 5 of 5) sorted by relevance
171 page_addr >> (chip->phys_erase_shift - chip->page_shift)); in set_addr()197 chip->phys_erase_shift, chip->page_shift); in set_addr()686 chip->phys_erase_shift); in fsl_elbc_chip_init_tail()
118 if (ofs & ((1 << chip->phys_erase_shift) - 1)) { in check_offs_len()124 if (len & ((1 << chip->phys_erase_shift) - 1)) { in check_offs_len()1458 int blkcheck = (1 << (chip->phys_erase_shift - chip->page_shift)) - 1; in nand_do_read_ops()1773 int blkcheck = (1 << (chip->phys_erase_shift - chip->page_shift)) - 1; in nand_do_read_oob()2206 blockmask = (1 << (chip->phys_erase_shift - chip->page_shift)) - 1; in nand_do_write_ops()2550 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()2629 len -= (1 << chip->phys_erase_shift); in nand_erase_nand()3106 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_get_flash_type()
1142 blocks = mtd->size >> this->phys_erase_shift; in nftl_partscan()1226 end -= (INFTL_BBT_RESERVED_BLOCKS << this->phys_erase_shift); in inftl_partscan()1264 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()1272 blocks = doc->chips_per_floor << (this->chip_shift - this->phys_erase_shift); in inftl_partscan()
1583 denali->nand.phys_erase_shift = denali->nand.bbt_erase_shift; in denali_pci_probe()1642 denali->nand.phys_erase_shift; in denali_pci_probe()
514 int phys_erase_shift; member