Searched refs:MTD_NANDFLASH (Results 1 – 9 of 9) sorted by relevance
88 #define MTD_NANDFLASH 4 /* SLC NAND */ macro271 return mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH; in mtd_type_is_nand_user()
73 bool has_pages = mtd->type == MTD_NANDFLASH || in mtd_dump_device_buf()142 case MTD_NANDFLASH: in mtd_show_device()263 if (mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH) in do_mtd_io()
28 bool has_pages = mtd->type == MTD_NANDFLASH || in mtd_block_op()266 has_pages = mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH; in dfu_fill_entity_mtd()
868 if (mtd_type == MTD_NANDFLASH) { in flash_bad_block()911 if (DEVTYPE(dev) == MTD_NANDFLASH) { in flash_read_buf()1073 if (DEVTYPE(dev) == MTD_NANDFLASH) { in flash_write_buf()1499 } else if (DEVTYPE(dev_current) == MTD_NANDFLASH && in fw_env_open()1500 DEVTYPE(!dev_current) == MTD_NANDFLASH) { in fw_env_open()1662 mtdinfo.type != MTD_NANDFLASH && in check_device_config()
228 MTD_NANDFLASH : MTD_MLCNANDFLASH; in nanddev_init()
497 return mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH; in mtd_type_is_nand()
226 case MTD_NANDFLASH: in mtd_type_show()
2660 mtd->type = ONENAND_IS_MLC(this) ? MTD_MLCNANDFLASH : MTD_NANDFLASH; in onenand_probe()
5268 mtd->type = nand_is_slc(chip) ? MTD_NANDFLASH : MTD_MLCNANDFLASH; in nand_scan_tail()
Completed in 46 milliseconds