/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mtd/ |
H A D | bbm.h | 141 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt); 150 extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd); 151 extern int onenand_default_bbt(struct mtd_info *mtd);
|
H A D | blktrans.h | 28 struct mtd_info; 36 struct mtd_info *mtd; 76 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
|
H A D | inftl.h | 56 int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, 58 int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
|
H A D | nftl.h | 59 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, 61 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/ |
H A D | edb7312.c | 33 static struct mtd_info *ep7312_mtd = NULL; 79 static void ep7312_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) 99 static int ep7312_device_ready(struct mtd_info *mtd) 120 ep7312_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); 138 memset(ep7312_mtd, 0, sizeof(struct mtd_info));
|
H A D | au1550nd.c | 27 static struct mtd_info *au1550_mtd = NULL; 30 static void (*au1550_write_byte)(struct mtd_info *, u_char); 52 static u_char au_read_byte(struct mtd_info *mtd) 67 static void au_write_byte(struct mtd_info *mtd, u_char byte) 81 static u_char au_read_byte16(struct mtd_info *mtd) 97 static void au_write_byte16(struct mtd_info *mtd, u_char byte) 111 static u16 au_read_word(struct mtd_info *mtd) 127 static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) 146 static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) 165 static int au_verify_buf(struct mtd_info *mt [all...] |
H A D | socrates_nand.c | 32 struct mtd_info mtd; 43 static void socrates_nand_write_buf(struct mtd_info *mtd, 63 static void socrates_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 83 static uint8_t socrates_nand_read_byte(struct mtd_info *mtd) 94 static uint16_t socrates_nand_read_word(struct mtd_info *mtd) 107 static int socrates_nand_verify_buf(struct mtd_info *mtd, const u8 *buf, 122 static void socrates_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, 148 static int socrates_nand_device_ready(struct mtd_info *mtd) 169 struct mtd_info *mtd; 282 struct mtd_info *mt [all...] |
H A D | cs553x_nand.c | 98 static void cs553x_read_buf(struct mtd_info *mtd, u_char *buf, int len) 110 static void cs553x_write_buf(struct mtd_info *mtd, const u_char *buf, int len) 122 static unsigned char cs553x_read_byte(struct mtd_info *mtd) 128 static void cs553x_write_byte(struct mtd_info *mtd, u_char byte) 140 static void cs553x_hwcontrol(struct mtd_info *mtd, int cmd, 153 static int cs553x_device_ready(struct mtd_info *mtd) 162 static void cs_enable_hwecc(struct mtd_info *mtd, int mode) 170 static int cs_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code) 184 static struct mtd_info *cs553x_mtd[4]; 190 struct mtd_info *new_mt [all...] |
H A D | gpio.c | 33 struct mtd_info mtd_info; member in struct:gpiomtd 38 #define gpio_nand_getpriv(x) container_of(x, struct gpiomtd, mtd_info) 67 static void gpio_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 86 static void gpio_nand_writebuf(struct mtd_info *mtd, const u_char *buf, int len) 93 static void gpio_nand_readbuf(struct mtd_info *mtd, u_char *buf, int len) 100 static int gpio_nand_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) 117 static void gpio_nand_writebuf16(struct mtd_info *mtd, const u_char *buf, 133 static void gpio_nand_readbuf16(struct mtd_info *mtd, u_char *buf, int len) 148 static int gpio_nand_verifybuf16(struct mtd_info *mt [all...] |
H A D | orion_nand.c | 28 static void orion_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 50 static void orion_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 75 struct mtd_info *mtd; 86 nc = kzalloc(sizeof(struct nand_chip) + sizeof(struct mtd_info), GFP_KERNEL); 92 mtd = (struct mtd_info *)(nc + 1); 171 struct mtd_info *mtd = platform_get_drvdata(pdev);
|
H A D | pasemi_nand.c | 42 static struct mtd_info *pasemi_nand_mtd; 45 static void pasemi_read_buf(struct mtd_info *mtd, u_char *buf, int len) 57 static void pasemi_write_buf(struct mtd_info *mtd, const u_char *buf, int len) 69 static void pasemi_hwcontrol(struct mtd_info *mtd, int cmd, 87 int pasemi_device_ready(struct mtd_info *mtd) 113 pasemi_nand_mtd = kzalloc(sizeof(struct mtd_info) +
|
H A D | h1910.c | 35 static struct mtd_info *h1910_nand_mtd = NULL; 62 static void h1910_hwcontrol(struct mtd_info *mtd, int cmd, 96 h1910_nand_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); 107 memset(h1910_nand_mtd, 0, sizeof(struct mtd_info));
|
H A D | txx9ndfmc.c | 65 struct mtd_info mtd; 72 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV]; 82 static struct platform_device *mtd_to_platdev(struct mtd_info *mtd) 108 static uint8_t txx9ndfmc_read_byte(struct mtd_info *mtd) 115 static void txx9ndfmc_write_buf(struct mtd_info *mtd, const uint8_t *buf, 128 static void txx9ndfmc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 137 static int txx9ndfmc_verify_buf(struct mtd_info *mtd, const uint8_t *buf, 149 static void txx9ndfmc_cmd_ctrl(struct mtd_info *mtd, int cmd, 181 static int txx9ndfmc_dev_ready(struct mtd_info *mtd) 188 static int txx9ndfmc_calculate_ecc(struct mtd_info *mt [all...] |
H A D | ppchameleonevb.c | 59 static struct mtd_info *ppchameleon_mtd = NULL; 60 static struct mtd_info *ppchameleonevb_mtd = NULL; 103 extern int parse_cmdline_partitions(struct mtd_info *master, struct mtd_partition **pparts, const char *mtd_id); 109 static void ppchameleon_hwcontrol(struct mtd_info *mtdinfo, int cmd, 141 static void ppchameleonevb_hwcontrol(struct mtd_info *mtdinfo, int cmd, 177 static int ppchameleon_device_ready(struct mtd_info *minfo) 184 static int ppchameleonevb_device_ready(struct mtd_info *minfo) 213 ppchameleon_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); 231 memset(ppchameleon_mtd, 0, sizeof(struct mtd_info)); 313 ppchameleonevb_mtd = kmalloc(sizeof(struct mtd_info) [all...] |
H A D | bf5xx_nand.c | 155 struct mtd_info mtd; 171 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) 195 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, 216 static int bf5xx_nand_devready(struct mtd_info *mtd) 235 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, 314 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, 333 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) 338 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, 378 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 407 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mt [all...] |
H A D | autcpu12.c | 42 static struct mtd_info *autcpu12_mtd = NULL; 96 static void autcpu12_hwcontrol(struct mtd_info *mtd, int cmd, 121 int autcpu12_device_ready(struct mtd_info *mtd) 137 autcpu12_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), 157 memset(autcpu12_mtd, 0, sizeof(struct mtd_info));
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v10/drivers/ |
H A D | axisflashmap.c | 51 struct mtd_info* axisflash_mtd = NULL; 193 static struct mtd_info *probe_cs(struct map_info *map_cs) 195 struct mtd_info *mtd_cs = NULL; 214 * both cse0 and cse1, the mtd_info structs will be concatenated to one struct 222 static struct mtd_info *flash_probe(void) 224 struct mtd_info *mtd_cse0; 225 struct mtd_info *mtd_cse1; 226 struct mtd_info *mtd_cse; 238 struct mtd_info *mtds[] = { mtd_cse0, mtd_cse1 }; 277 struct mtd_info *mymt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/shared/ |
H A D | wapi_utils.c | 100 mtd_info_t mtd_info; local 114 ioctl(mtd_fd, MEMGETINFO, &mtd_info) != 0) { 128 if ((tmp_stat.st_size + sizeof(wapi_mtd_hdr_t)) > mtd_info.size || tmp_stat.st_size == 0) { 151 erase_info.length = mtd_info.size; 195 mtd_info_t mtd_info; local 207 ioctl(mtd_fd, MEMGETINFO, &mtd_info) != 0) { 219 if (mtd_hdr.len > mtd_info.size) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ |
H A D | mtdcore.c | 88 struct mtd_info *__mtd_next_device(int i) 104 * the mtd_info will probably want to use the release() hook... 117 struct mtd_info *mtd = dev_to_mtd(dev); 127 struct mtd_info *mtd = dev_to_mtd(dev); 137 struct mtd_info *mtd = dev_to_mtd(dev); 173 struct mtd_info *mtd = dev_to_mtd(dev); 183 struct mtd_info *mtd = dev_to_mtd(dev); 194 struct mtd_info *mtd = dev_to_mtd(dev); 204 struct mtd_info *mtd = dev_to_mtd(dev); 214 struct mtd_info *mt [all...] |
H A D | mtdconcat.c | 39 * Subdev points to an array of pointers to struct mtd_info objects 44 struct mtd_info mtd; 46 struct mtd_info **subdev; 54 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *))) 68 concat_read(struct mtd_info *mtd, loff_t from, size_t len, 78 struct mtd_info *subdev = concat->subdev[i]; 122 concat_write(struct mtd_info *mtd, loff_t to, size_t len, 135 struct mtd_info *subdev = concat->subdev[i]; 169 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, 206 struct mtd_info *subde [all...] |
H A D | mtdsuper.c | 26 struct mtd_info *mtd = _mtd; 46 struct mtd_info *mtd = _mtd; 59 struct mtd_info *mtd, 114 struct mtd_info *mtd; 151 struct mtd_info *mtd;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/chips/ |
H A D | chipreg.c | 57 struct mtd_info *do_map_probe(const char *name, struct map_info *map) 60 struct mtd_info *ret; 88 void map_destroy(struct mtd_info *mtd)
|
H A D | fwh_lock.h | 80 static int fwh_lock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) 91 static int fwh_unlock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) 101 static void fixup_use_fwh_lock(struct mtd_info *mtd, void *param)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/ |
H A D | slram.c | 33 struct mtd_info *mtdinfo; 48 static int slram_erase(struct mtd_info *, struct erase_info *); 49 static int slram_point(struct mtd_info *, loff_t, size_t, size_t *, void **, 51 static void slram_unpoint(struct mtd_info *, loff_t, size_t); 52 static int slram_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *); 53 static int slram_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 55 static int slram_erase(struct mtd_info *mtd, struct erase_info *instr) 77 static int slram_point(struct mtd_info *mtd, loff_t from, size_t len, 94 static void slram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) 98 static int slram_read(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/maps/ |
H A D | uclinux.c | 33 static struct mtd_info *uclinux_ram_mtdinfo; 45 static int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len, 60 struct mtd_info *mtd;
|