/linux-master/fs/jffs2/ |
H A D | erase.c | 17 #include <linux/mtd/mtd.h> 63 ret = mtd_erase(c->mtd, instr); 319 ret = mtd_point(c->mtd, jeb->offset, c->sector_size, &retlen, 330 mtd_unpoint(c->mtd, jeb->offset, retlen); 339 mtd_unpoint(c->mtd, jeb->offset, c->sector_size); 365 ret = mtd_read(c->mtd, ofs, readlen, &retlen, ebuf);
|
H A D | super.c | 26 #include <linux/mtd/super.h> 266 c->mtd = sb->s_mtd; 269 if (c->mount_opts.rp_size > c->mtd->size) 271 c->mtd->size / 1024); 340 mtd_sync(c->mtd);
|
/linux-master/drivers/mtd/maps/ |
H A D | nettel.c | 17 #include <linux/mtd/mtd.h> 18 #include <linux/mtd/map.h> 19 #include <linux/mtd/partitions.h> 20 #include <linux/mtd/cfi.h>
|
H A D | physmap-gemini.c | 11 #include <linux/mtd/map.h> 12 #include <linux/mtd/xip.h>
|
/linux-master/include/linux/mtd/ |
H A D | spinand.h | 14 #include <linux/mtd/mtd.h> 15 #include <linux/mtd/nand.h> 458 * @mtd: MTD instance 460 * Return: the SPI NAND device attached to @mtd. 462 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) argument 464 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base);
|
H A D | doc2000.h | 14 #include <linux/mtd/mtd.h>
|
H A D | pfow.h | 8 #include <linux/mtd/qinfo.h>
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | stm32_fmc2_nand.c | 17 #include <linux/mtd/rawnand.h> 697 struct mtd_info *mtd = nand_to_mtd(chip); local 711 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps; 737 mtd->ecc_stats.failed++; 739 mtd->ecc_stats.corrected += stat; 746 ret = nand_change_read_column_op(chip, mtd->writesize, 747 chip->oob_poi, mtd->oobsize, 761 struct mtd_info *mtd = nand_to_mtd(chip); local 762 u32 ecc_offset = mtd->writesize + FMC2_BBM_LEN; 986 struct mtd_info *mtd local 1047 struct mtd_info *mtd = nand_to_mtd(chip); local 1106 struct mtd_info *mtd = nand_to_mtd(chip); local 1155 struct mtd_info *mtd = nand_to_mtd(chip); local 1676 stm32_fmc2_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1691 stm32_fmc2_nfc_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1732 struct mtd_info *mtd = nand_to_mtd(chip); local 1913 struct mtd_info *mtd; local [all...] |
H A D | r852.c | 63 static inline struct r852_device *r852_get_dev(struct mtd_info *mtd) argument 65 struct nand_chip *chip = mtd_to_nand(mtd); 520 struct mtd_info *mtd = nand_to_mtd(chip); local 522 return nand_read_oob_op(chip, page, 0, chip->oob_poi, mtd->oobsize); 589 struct mtd_info *mtd = container_of(sys_dev, struct mtd_info, dev); local 590 struct r852_device *dev = r852_get_dev(mtd); 631 struct mtd_info *mtd = nand_to_mtd(dev->chip); local 635 mtd->dev.parent = &dev->pci_dev->dev; 642 if (sm_register_device(mtd, dev->sm)) 645 if (device_create_file(&mtd 667 struct mtd_info *mtd = nand_to_mtd(dev->chip); local [all...] |
H A D | mxic_nand.c | 14 #include <linux/mtd/mtd.h> 15 #include <linux/mtd/nand-ecc-sw-hamming.h> 16 #include <linux/mtd/rawnand.h> 489 struct mtd_info *mtd; local 517 mtd = nand_to_mtd(nand_chip); 518 mtd->dev.parent = &pdev->dev; 544 err = mtd_device_register(mtd, NULL, 0);
|
H A D | r852.h | 10 #include <linux/mtd/rawnand.h> 130 int card_registered; /* card registered with mtd */
|
H A D | nand_onfi.c | 147 struct mtd_info *mtd = nand_to_mtd(chip); local 245 mtd->writesize = memorg->pagesize; 254 mtd->erasesize = memorg->pages_per_eraseblock * memorg->pagesize; 257 mtd->oobsize = memorg->oobsize;
|
/linux-master/drivers/mtd/spi-nor/controllers/ |
H A D | hisi-sfc.c | 12 #include <linux/mtd/mtd.h> 13 #include <linux/mtd/spi-nor.h> 324 * Get spi flash device information and register it as a mtd device. 339 struct mtd_info *mtd; local 375 mtd = &nor->mtd; 376 mtd->name = np->name; 377 ret = mtd_device_register(mtd, NULL, 0); 391 mtd_device_unregister(&host->nor[i]->mtd); [all...] |
H A D | nxp-spifi.c | 16 #include <linux/mtd/mtd.h> 17 #include <linux/mtd/partitions.h> 18 #include <linux/mtd/spi-nor.h> 370 ret = mtd_device_register(&spifi->nor.mtd, NULL, 0); 372 dev_err(spifi->dev, "mtd device parse failed\n"); 438 mtd_device_unregister(&spifi->nor.mtd);
|
/linux-master/drivers/mtd/ubi/ |
H A D | io.c | 35 * @ubi->mtd->writesize field. But as an exception, UBI admits use of another 154 err = mtd_read(ubi->mtd, addr, len, &read, buf); 283 err = mtd_write(ubi->mtd, addr, len, &written, buf); 338 err = mtd_erase(ubi->mtd, &ei); 490 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); 502 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); 557 if (ubi->nor_flash && ubi->mtd->writesize == 1) { 586 struct mtd_info *mtd = ubi->mtd; local 593 ret = mtd_block_isbad(mtd, (loff_ 616 struct mtd_info *mtd = ubi->mtd; local [all...] |
/linux-master/arch/mips/alchemy/ |
H A D | board-gpr.c | 14 #include <linux/mtd/partitions.h> 15 #include <linux/mtd/physmap.h>
|
/linux-master/arch/m68k/coldfire/ |
H A D | stmark2.c | 12 #include <linux/mtd/partitions.h>
|
/linux-master/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.h | 11 #include <linux/mtd/rawnand.h>
|
/linux-master/drivers/mtd/nand/ |
H A D | bbt.c | 12 #include <linux/mtd/nand.h>
|
/linux-master/arch/arm/mach-omap1/ |
H A D | board-osk.c | 40 #include <linux/mtd/mtd.h> 41 #include <linux/mtd/partitions.h> 42 #include <linux/mtd/physmap.h>
|
H A D | board-sx1.c | 21 #include <linux/mtd/mtd.h> 22 #include <linux/mtd/partitions.h> 23 #include <linux/mtd/physmap.h>
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | gigadevice.c | 7 #include <linux/mtd/spi-nor.h>
|
/linux-master/arch/arm/mach-sa1100/ |
H A D | h3xxx.c | 14 #include <linux/mtd/mtd.h> 15 #include <linux/mtd/partitions.h>
|
/linux-master/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 20 #include <linux/mtd/mtd.h> 21 #include <linux/mtd/partitions.h>
|
/linux-master/arch/mips/rb532/ |
H A D | devices.c | 14 #include <linux/mtd/platnand.h> 15 #include <linux/mtd/mtd.h>
|