Searched refs:mtd (Results 276 - 300 of 423) sorted by relevance

<<11121314151617

/linux-master/fs/jffs2/
H A Derase.c17 #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 Dsuper.c26 #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 Dnettel.c17 #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 Dphysmap-gemini.c11 #include <linux/mtd/map.h>
12 #include <linux/mtd/xip.h>
/linux-master/include/linux/mtd/
H A Dspinand.h14 #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 Ddoc2000.h14 #include <linux/mtd/mtd.h>
H A Dpfow.h8 #include <linux/mtd/qinfo.h>
/linux-master/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c17 #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 Dr852.c63 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 Dmxic_nand.c14 #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 Dr852.h10 #include <linux/mtd/rawnand.h>
130 int card_registered; /* card registered with mtd */
H A Dnand_onfi.c147 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 Dhisi-sfc.c12 #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 Dnxp-spifi.c16 #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 Dio.c35 * @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 Dboard-gpr.c14 #include <linux/mtd/partitions.h>
15 #include <linux/mtd/physmap.h>
/linux-master/arch/m68k/coldfire/
H A Dstmark2.c12 #include <linux/mtd/partitions.h>
/linux-master/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.h11 #include <linux/mtd/rawnand.h>
/linux-master/drivers/mtd/nand/
H A Dbbt.c12 #include <linux/mtd/nand.h>
/linux-master/arch/arm/mach-omap1/
H A Dboard-osk.c40 #include <linux/mtd/mtd.h>
41 #include <linux/mtd/partitions.h>
42 #include <linux/mtd/physmap.h>
H A Dboard-sx1.c21 #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 Dgigadevice.c7 #include <linux/mtd/spi-nor.h>
/linux-master/arch/arm/mach-sa1100/
H A Dh3xxx.c14 #include <linux/mtd/mtd.h>
15 #include <linux/mtd/partitions.h>
/linux-master/drivers/mtd/parsers/
H A Dparser_imagetag.c20 #include <linux/mtd/mtd.h>
21 #include <linux/mtd/partitions.h>
/linux-master/arch/mips/rb532/
H A Ddevices.c14 #include <linux/mtd/platnand.h>
15 #include <linux/mtd/mtd.h>

Completed in 331 milliseconds

<<11121314151617