Searched refs:phys_erase_shift (Results 1 – 8 of 8) sorted by relevance
1763 block_count = chip->chipsize >> chip->phys_erase_shift; in mx23_boot_init()1774 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()1775 page = block << (chip->phys_erase_shift - chip->page_shift); in mx23_boot_init()1776 byte = block << chip->phys_erase_shift; in mx23_boot_init()
1084 blocks = mtd->size >> this->phys_erase_shift; in nftl_partscan()1168 end -= (INFTL_BBT_RESERVED_BLOCKS << this->phys_erase_shift); in inftl_partscan()1205 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()1213 blocks = doc->chips_per_floor << (this->chip_shift - this->phys_erase_shift); in inftl_partscan()
190 chip->phys_erase_shift, chip->page_shift); in set_addr()652 chip->phys_erase_shift); in fsl_elbc_chip_init_tail()
113 if (ofs & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()119 if (len & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()443 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()2571 blockmask = (1 << (chip->phys_erase_shift - chip->page_shift)) - 1; in nand_do_write_ops()2900 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()2957 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()3905 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_get_flash_type()
1522 denali->nand.phys_erase_shift = denali->nand.bbt_erase_shift; in denali_init()1589 denali->totalblks = denali->mtd.size >> denali->nand.phys_erase_shift; in denali_init()
803 chip->phys_erase_shift); in fsl_ifc_chip_init_tail()
1215 nand->bbt_erase_shift = nand->phys_erase_shift = DOCG4_ERASE_SHIFT; in init_mtd_structs()
679 int phys_erase_shift; member