/linux-master/include/linux/mtd/ |
H A D | ubi.h | 14 #include <mtd/ubi-user.h>
|
/linux-master/fs/jffs2/ |
H A D | read.c | 18 #include <linux/mtd/mtd.h>
|
H A D | acl.c | 23 #include <linux/mtd/mtd.h>
|
H A D | fs.c | 22 #include <linux/mtd/mtd.h> 222 buf->f_fsid.val[1] = c->mtd->index; 524 if (c->mtd->type == MTD_MLCNANDFLASH) 528 if (c->mtd->type == MTD_NANDFLASH) { 532 if (c->mtd->type == MTD_DATAFLASH) { 538 c->flash_size = c->mtd->size; 539 c->sector_size = c->mtd->erasesize;
|
H A D | scan.c | 17 #include <linux/mtd/mtd.h> 101 ret = mtd_point(c->mtd, 0, c->mtd->size, &pointlen, 103 if (!ret && pointlen < c->mtd->size) { 107 mtd_unpoint(c->mtd, 0, pointlen); 124 flashbuf = mtd_kmalloc_up_to(c->mtd, &try_size); 285 mtd_unpoint(c->mtd, 0, c->mtd->size); 298 jffs2_dbg(1, "mtd [all...] |
/linux-master/drivers/mtd/devices/ |
H A D | docg3.h | 11 #include <linux/mtd/mtd.h>
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | ts209-setup.c | 13 #include <linux/mtd/physmap.h> 14 #include <linux/mtd/rawnand.h>
|
H A D | ts409-setup.c | 17 #include <linux/mtd/physmap.h>
|
H A D | mv2120-setup.c | 16 #include <linux/mtd/physmap.h>
|
/linux-master/drivers/soc/microchip/ |
H A D | mpfs-sys-controller.c | 15 #include <linux/mtd/mtd.h>
|
/linux-master/drivers/mtd/ubi/ |
H A D | ubi.h | 27 #include <linux/mtd/mtd.h> 28 #include <linux/mtd/ubi.h> 547 * @mtd: MTD device descriptor 649 struct mtd_info *mtd; member in struct:ubi_device 940 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num,
|
H A D | cdev.c | 33 #include <mtd/ubi-user.h> 1017 struct mtd_info *mtd; local 1032 mtd = get_mtd_device(NULL, req.mtd_num); 1033 if (IS_ERR(mtd)) { 1034 err = PTR_ERR(mtd); 1043 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, 1048 put_mtd_device(mtd);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi.c | 2375 int efx_mcdi_mtd_read(struct mtd_info *mtd, loff_t start, argument 2378 struct efx_mcdi_mtd_partition *part = to_efx_mcdi_mtd_partition(mtd); 2379 struct efx_nic *efx = mtd->priv; 2381 loff_t end = min_t(loff_t, start + len, mtd->size); 2399 int efx_mcdi_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len) argument 2401 struct efx_mcdi_mtd_partition *part = to_efx_mcdi_mtd_partition(mtd); 2402 struct efx_nic *efx = mtd->priv; 2403 loff_t offset = start & ~((loff_t)(mtd->erasesize - 1)); 2404 loff_t end = min_t(loff_t, start + len, mtd->size); 2405 size_t chunk = part->common.mtd 2429 efx_mcdi_mtd_write(struct mtd_info *mtd, loff_t start, size_t len, size_t *retlen, const u8 *buffer) argument 2460 efx_mcdi_mtd_sync(struct mtd_info *mtd) argument [all...] |
H A D | net_driver.h | 27 #include <linux/mtd/mtd.h> 1193 struct mtd_info mtd; member in struct:efx_mtd_partition 1466 int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len, 1468 int (*mtd_erase)(struct mtd_info *mtd, loff_t start, size_t len); 1469 int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len, 1471 int (*mtd_sync)(struct mtd_info *mtd);
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 27 #include <linux/mtd/mtd.h> 1137 struct mtd_info mtd; member in struct:efx_mtd_partition 1417 int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len, 1419 int (*mtd_erase)(struct mtd_info *mtd, loff_t start, size_t len); 1420 int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len, 1422 int (*mtd_sync)(struct mtd_info *mtd);
|
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | eeprom.c | 8 #include <linux/mtd/mtd.h> 9 #include <linux/mtd/partitions.h>
|
/linux-master/arch/arm/mach-sa1100/ |
H A D | assabet.c | 24 #include <linux/mtd/mtd.h> 25 #include <linux/mtd/partitions.h>
|
/linux-master/arch/mips/alchemy/devboards/ |
H A D | db1550.c | 15 #include <linux/mtd/mtd.h> 16 #include <linux/mtd/platnand.h>
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | core.h | 688 static inline struct spi_nor *mtd_to_spi_nor(struct mtd_info *mtd) argument 690 return container_of(mtd, struct spi_nor, mtd);
|
H A D | issi.c | 7 #include <linux/mtd/spi-nor.h>
|
H A D | sysfs.c | 3 #include <linux/mtd/spi-nor.h>
|
/linux-master/arch/sh/boards/ |
H A D | board-urquell.c | 15 #include <linux/mtd/physmap.h>
|
/linux-master/arch/sh/boards/mach-sh7763rdp/ |
H A D | setup.c | 14 #include <linux/mtd/physmap.h>
|
/linux-master/drivers/mtd/maps/ |
H A D | physmap-versatile.c | 12 #include <linux/mtd/map.h>
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | internals.h | 14 #include <linux/mtd/rawnand.h>
|