/linux-master/include/linux/mtd/ |
H A D | spi-nor.h | 10 #include <linux/mtd/mtd.h> 344 * @mtd: an mtd_info structure 383 struct mtd_info mtd; member in struct:spi_nor 428 mtd_set_of_node(&nor->mtd, np); 433 return mtd_get_of_node(&nor->mtd);
|
/linux-master/drivers/mtd/nand/spi/ |
H A D | winbond.c | 12 #include <linux/mtd/spinand.h> 36 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, argument 48 static int w25m02gv_ooblayout_free(struct mtd_info *mtd, int section, argument 79 static int w25n02kv_ooblayout_ecc(struct mtd_info *mtd, int section, argument 91 static int w25n02kv_ooblayout_free(struct mtd_info *mtd, int section, argument
|
H A D | macronix.c | 10 #include <linux/mtd/spinand.h> 29 static int mx35lfxge4ab_ooblayout_ecc(struct mtd_info *mtd, int section, argument 35 static int mx35lfxge4ab_ooblayout_free(struct mtd_info *mtd, int section, argument 42 region->length = mtd->oobsize - 2;
|
/linux-master/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 13 * Derived from drivers/mtd/nand/autcpu12.c (removed in v3.8) 16 * Derived from drivers/mtd/spia.c (removed in v3.8) 58 #include <linux/mtd/rawnand.h> 553 struct mtd_info *mtd = nand_to_mtd(&nand->base); local 555 u32 cfg = ATMEL_HSMC_NFC_CFG_PAGESIZE(mtd->writesize) | 556 ATMEL_HSMC_NFC_CFG_SPARESIZE(mtd->oobsize) | 720 struct mtd_info *mtd = nand_to_mtd(chip); local 728 nc->sram.dma, mtd->writesize, 733 memcpy_toio(nc->sram.virt, buf, mtd->writesize); 736 memcpy_toio(nc->sram.virt + mtd 743 struct mtd_info *mtd = nand_to_mtd(chip); local 764 struct mtd_info *mtd = nand_to_mtd(chip); local 818 struct mtd_info *mtd = nand_to_mtd(chip); local 853 struct mtd_info *mtd = nand_to_mtd(chip); local 904 struct mtd_info *mtd = nand_to_mtd(chip); local 945 struct mtd_info *mtd = nand_to_mtd(chip); local 986 struct mtd_info *mtd = nand_to_mtd(chip); local 1047 struct mtd_info *mtd = nand_to_mtd(chip); local 1114 struct mtd_info *mtd = nand_to_mtd(chip); local 1560 struct mtd_info *mtd = nand_to_mtd(chip); local 1609 struct mtd_info *mtd = nand_to_mtd(chip); local 1730 struct mtd_info *mtd = nand_to_mtd(chip); local 1981 struct mtd_info *mtd = nand_to_mtd(chip); local [all...] |
/linux-master/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 21 #include <linux/mtd/map.h> 22 #include <linux/mtd/mtd.h> 465 struct mtd_info *mtd = NULL; local 567 mtd = do_map_probe("map_ram", &dev->pcmcia_map); 569 mtd = do_map_probe("map_rom", &dev->pcmcia_map); 573 mtd = do_map_probe(probes[i], &dev->pcmcia_map); 574 if(mtd) 581 if(!mtd) { 587 dev->mtd_info = mtd; [all...] |
H A D | physmap-bt1-rom.c | 13 #include <linux/mtd/map.h> 14 #include <linux/mtd/xip.h> 108 if (!of_device_is_compatible(np, "mtd-rom")) { 109 dev_info(dev, "No mtd-rom compatible string\n");
|
H A D | dc21285.c | 15 #include <linux/mtd/mtd.h> 16 #include <linux/mtd/map.h> 17 #include <linux/mtd/partitions.h>
|
H A D | sc520cdp.c | 17 #include <linux/mtd/mtd.h> 18 #include <linux/mtd/map.h> 19 #include <linux/mtd/concat.h>
|
/linux-master/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 20 #include <linux/mtd/mtd.h> 21 #include <linux/mtd/partitions.h> 95 struct mtd_info mtd; member in struct:dataflash 154 static int dataflash_erase(struct mtd_info *mtd, struct erase_info *instr) argument 156 struct dataflash *priv = mtd->priv; 235 static int dataflash_read(struct mtd_info *mtd, loff_t from, size_t len, argument 238 struct dataflash *priv = mtd->priv; 299 static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len, argument 302 struct dataflash *priv = mtd 442 dataflash_get_otp_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *info) argument 501 dataflash_read_fact_otp(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 518 dataflash_read_user_otp(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 535 dataflash_write_user_otp(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, const u_char *buf) argument [all...] |
H A D | st_spi_fsm.c | 9 * JEDEC probe based on drivers/mtd/devices/m25p80.c 16 #include <linux/mtd/mtd.h> 17 #include <linux/mtd/partitions.h> 18 #include <linux/mtd/spi-nor.h> 258 struct mtd_info mtd; member in struct:stfsm 1669 static int stfsm_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, argument 1672 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); 1745 static int stfsm_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, argument 1748 struct stfsm *fsm = dev_get_drvdata(mtd 1791 stfsm_mtd_erase(struct mtd_info *mtd, struct erase_info *instr) argument [all...] |
/linux-master/include/uapi/mtd/ |
H A D | mtd-abi.h | 337 static inline int mtd_type_is_nand_user(const struct mtd_info_user *mtd) argument 339 return mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH;
|
/linux-master/drivers/mtd/parsers/ |
H A D | bcm63xxpart.c | 21 #include <linux/mtd/mtd.h> 22 #include <linux/mtd/partitions.h>
|
H A D | ofpart_core.c | 15 #include <linux/mtd/mtd.h> 17 #include <linux/mtd/partitions.h> 23 int (*post_parse)(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
|
/linux-master/arch/arm/mach-pxa/ |
H A D | gumstix.c | 21 #include <linux/mtd/mtd.h> 22 #include <linux/mtd/partitions.h>
|
/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 85 static void bcm47xxnflash_ops_bcm4706_read(struct mtd_info *mtd, uint8_t *buf, argument 88 struct nand_chip *nand_chip = mtd_to_nand(mtd); 135 static void bcm47xxnflash_ops_bcm4706_write(struct mtd_info *mtd, argument 138 struct nand_chip *nand_chip = mtd_to_nand(mtd); 213 struct mtd_info *mtd = nand_to_mtd(nand_chip); local 268 b47n->curr_column += mtd->writesize; 309 struct mtd_info *mtd = nand_to_mtd(nand_chip); local 327 bcm47xxnflash_ops_bcm4706_read(mtd, (u8 *)&tmp, 4);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | Makefile | 11 sfc-$(CONFIG_SFC_MTD) += mtd.o
|
/linux-master/arch/sh/boards/mach-r2d/ |
H A D | setup.c | 10 #include <linux/mtd/mtd.h> 11 #include <linux/mtd/partitions.h> 12 #include <linux/mtd/physmap.h>
|
/linux-master/arch/sh/boards/ |
H A D | board-espt.c | 11 #include <linux/mtd/physmap.h>
|
/linux-master/arch/mips/alchemy/ |
H A D | board-mtx1.c | 17 #include <linux/mtd/partitions.h> 18 #include <linux/mtd/physmap.h> 19 #include <mtd/mtd-abi.h>
|
/linux-master/arch/mips/alchemy/devboards/ |
H A D | platform.c | 7 #include <linux/mtd/mtd.h> 8 #include <linux/mtd/map.h> 9 #include <linux/mtd/physmap.h>
|
/linux-master/drivers/mtd/hyperbus/ |
H A D | hbmc-am654.c | 13 #include <linux/mtd/cfi.h> 14 #include <linux/mtd/hyperbus.h> 15 #include <linux/mtd/mtd.h>
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | eon.c | 7 #include <linux/mtd/spi-nor.h>
|
H A D | sst.c | 7 #include <linux/mtd/spi-nor.h> 170 static int sst_nor_write(struct mtd_info *mtd, loff_t to, size_t len, argument 173 struct spi_nor *nor = mtd_to_spi_nor(mtd); 259 nor->mtd._write = sst_nor_write;
|
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_core.h | 11 #include <linux/mtd/partitions.h>
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.h | 110 #define to_efx_mcdi_mtd_partition(mtd) \ 111 container_of(mtd, struct efx_mcdi_mtd_partition, common.mtd) 377 int efx_siena_mcdi_mtd_read(struct mtd_info *mtd, loff_t start, size_t len, 379 int efx_siena_mcdi_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len); 380 int efx_siena_mcdi_mtd_write(struct mtd_info *mtd, loff_t start, size_t len, 382 int efx_siena_mcdi_mtd_sync(struct mtd_info *mtd);
|