Searched refs:phys_erase_shift (Results 1 – 13 of 13) sorted by relevance
121 chip->phys_erase_shift = ffs(mtd->erasesize) - 1; in mxs_flash_onfi_ident()126 debug("erasesize=%d (>>%d)\n", mtd->erasesize, chip->phys_erase_shift); in mxs_flash_onfi_ident()164 unsigned int block = offs >> chip->phys_erase_shift; in is_badblock()
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()457 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()2837 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()2888 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()3829 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_get_flash_type()
188 chip->phys_erase_shift, chip->page_shift); in set_addr()
665 int pg2blk_shift = nand_chip->phys_erase_shift -
1222 chip->phys_erase_shift += 1; in denali_multidev_fixup()
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()
196 chip->phys_erase_shift, chip->page_shift); in set_addr()799 chip->phys_erase_shift); in fsl_elbc_attach_chip()
105 if (ofs & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()111 if (len & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()576 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()1941 (chip->phys_erase_shift - chip->page_shift); in nand_erase_op()4660 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()4697 (chip->phys_erase_shift - chip->page_shift)); in nand_erase_nand()4706 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()5380 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()
2191 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()2192 page = block << (chip->phys_erase_shift - chip->page_shift); in mx23_boot_init()2193 byte = block << chip->phys_erase_shift; in mx23_boot_init()
919 int phys_erase_shift; member
1300 unsigned int phys_erase_shift; member