Home
last modified time | relevance | path

Searched refs:phys_erase_shift (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/mtd/nand/raw/
Ddiskonchip.c941 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()
Dfsl_elbc_nand.c196 chip->phys_erase_shift, chip->page_shift); in set_addr()
791 chip->phys_erase_shift); in fsl_elbc_attach_chip()
Dnand_base.c105 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()
1830 (chip->phys_erase_shift - chip->page_shift); in nand_erase_op()
4496 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()
4533 (chip->phys_erase_shift - chip->page_shift)); in nand_erase_nand()
4542 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()
5153 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_detect()
Ddenali.c200 iowrite32(1 << (chip->phys_erase_shift - chip->page_shift), in denali_select_target()
1000 chip->phys_erase_shift += 1; in denali_multidev_fixup()
Dfsl_ifc_nand.c749 chip->phys_erase_shift); in fsl_ifc_attach_chip()
/Linux-v6.1/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c2193 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()
2194 page = block << (chip->phys_erase_shift - chip->page_shift); in mx23_boot_init()
2195 byte = block << chip->phys_erase_shift; in mx23_boot_init()
/Linux-v6.1/include/linux/mtd/
Drawnand.h1281 unsigned int phys_erase_shift; member