Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c197 chip->phys_erase_shift, chip->page_shift); in set_addr()
792 chip->phys_erase_shift); in fsl_elbc_attach_chip()
Dnand_base.c104 if (ofs & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()
110 if (len & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len()
533 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()
1668 (chip->phys_erase_shift - chip->page_shift); in nand_erase_op()
4188 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()
4223 (chip->phys_erase_shift - chip->page_shift)); in nand_erase_nand()
4233 len -= (1ULL << chip->phys_erase_shift); in nand_erase_nand()
4844 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.c750 chip->phys_erase_shift); in fsl_ifc_attach_chip()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1969 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()
1970 page = block << (chip->phys_erase_shift - chip->page_shift); in mx23_boot_init()
1971 byte = block << chip->phys_erase_shift; in mx23_boot_init()
/kernel/linux/linux-5.10/include/linux/mtd/
Drawnand.h1243 unsigned int phys_erase_shift; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch16794 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift);
16795 page = block << (chip->phys_erase_shift - chip->page_shift);
16796 - byte = block << chip->phys_erase_shift;
16797 + byte = (loff_t)block << chip->phys_erase_shift;
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch31404 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;
31532 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch322351 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;
322479 + pages_per_block_shift = chip->phys_erase_shift - chip->page_shift;