/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/onenand/ |
H A D | onenand_bbt.c | 56 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd, int chip) 129 static inline int onenand_memory_bbt (struct mtd_info *mtd, struct nand_bbt_descr *bd) 143 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) 180 int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) 233 int onenand_default_bbt(struct mtd_info *mtd)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v32/drivers/mach-a3/ |
H A D | nandflash.c | 39 struct mtd_info info; 46 static struct mtd_info *crisv32_mtd; 50 static void crisv32_hwcontrol(struct mtd_info *mtd, int cmd, 96 static int crisv32_device_ready(struct mtd_info *mtd) 105 struct mtd_info *__init crisv32_nand_flash_probe(void)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v32/drivers/mach-fs/ |
H A D | nandflash.c | 34 struct mtd_info info; 45 static struct mtd_info *crisv32_mtd; 49 static void crisv32_hwcontrol(struct mtd_info *mtd, int cmd, 90 static int crisv32_device_ready(struct mtd_info *mtd) 99 struct mtd_info *__init crisv32_nand_flash_probe(void)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ |
H A D | mtdpart.c | 38 struct mtd_info mtd; 39 struct mtd_info *master; 56 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, 80 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, 92 static void part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) 99 static unsigned long part_get_unmapped_area(struct mtd_info *mtd, 111 static int part_read_oob(struct mtd_info *mtd, loff_t from, 132 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, 140 static int part_get_user_prot_info(struct mtd_info *mtd, 147 static int part_read_fact_prot_reg(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/ |
H A D | atmel_nand.c | 90 struct mtd_info mtd; 118 static void atmel_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 141 static int atmel_nand_device_ready(struct mtd_info *mtd) 153 static void atmel_read_buf(struct mtd_info *mtd, u8 *buf, int len) 160 static void atmel_read_buf16(struct mtd_info *mtd, u8 *buf, int len) 167 static void atmel_write_buf(struct mtd_info *mtd, const u8 *buf, int len) 174 static void atmel_write_buf16(struct mtd_info *mtd, const u8 *buf, int len) 190 static int atmel_nand_calculate(struct mtd_info *mtd, 219 static int atmel_nand_read_page(struct mtd_info *mtd, 283 static int atmel_nand_correct(struct mtd_info *mt [all...] |
H A D | ndfc.c | 40 struct mtd_info mtd; 51 static void ndfc_select_chip(struct mtd_info *mtd, int chip) 65 static void ndfc_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) 78 static int ndfc_ready(struct mtd_info *mtd) 85 static void ndfc_enable_hwecc(struct mtd_info *mtd, int mode) 96 static int ndfc_calculate_ecc(struct mtd_info *mtd, 120 static void ndfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 129 static void ndfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) 138 static int ndfc_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
|
H A D | bcm_umi_bch.c | 24 static int bcm_umi_bch_read_page_hwecc(struct mtd_info *mtd, 26 static void bcm_umi_bch_write_page_hwecc(struct mtd_info *mtd, 108 static int bcm_umi_bch_read_page_hwecc(struct mtd_info *mtd, 193 static void bcm_umi_bch_write_page_hwecc(struct mtd_info *mtd,
|
H A D | sm_common.h | 39 extern int sm_register_device(struct mtd_info *mtd, int smartmedia);
|
H A D | rtc_from4.c | 35 static struct mtd_info *rtc_from4_mtd = NULL; 167 static void rtc_from4_hwcontrol(struct mtd_info *mtd, int cmd, 190 static void rtc_from4_nand_select_chip(struct mtd_info *mtd, int chip) 219 static int rtc_from4_nand_device_ready(struct mtd_info *mtd) 242 static void deplete(struct mtd_info *mtd, int chip) 270 static void rtc_from4_enable_hwecc(struct mtd_info *mtd, int mode) 314 static void rtc_from4_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code) 340 static int rtc_from4_correct_data(struct mtd_info *mtd, const u_char *buf, u_char *ecc1, u_char *ecc2) 403 static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this, 481 rtc_from4_mtd = kmalloc(sizeof(struct mtd_info) [all...] |
H A D | diskonchip.c | 60 static struct mtd_info *doclist = NULL; 72 struct mtd_info *nextdoc; 89 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, 91 static void doc200x_select_chip(struct mtd_info *mtd, int chip); 298 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) 310 static u_char doc2000_read_byte(struct mtd_info *mtd) 325 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) 342 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) 357 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) 378 static int doc2000_verifybuf(struct mtd_info *mt [all...] |
H A D | mxc_nand.c | 138 struct mtd_info mtd; 162 void (*preset)(struct mtd_info *); 165 void (*send_page)(struct mtd_info *, unsigned int); 393 static void send_page_v3(struct mtd_info *mtd, unsigned int ops) 409 static void send_page_v1_v2(struct mtd_info *mtd, unsigned int ops) 503 static int mxc_nand_dev_ready(struct mtd_info *mtd) 512 static void mxc_nand_enable_hwecc(struct mtd_info *mtd, int mode) 520 static int mxc_nand_correct_data_v1(struct mtd_info *mtd, u_char *dat, 542 static int mxc_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat, 579 static int mxc_nand_calculate_ecc(struct mtd_info *mt [all...] |
H A D | bcm_umi_nand.c | 95 static void bcm_umi_nand_read_buf(struct mtd_info *mtd, u_char * buf, int len); 96 static void bcm_umi_nand_write_buf(struct mtd_info *mtd, const u_char * buf, 100 static struct mtd_info *board_mtd; 241 static int nand_dev_ready(struct mtd_info *mtd) 283 static void bcm_umi_nand_hwcontrol(struct mtd_info *mtd, int cmd, 307 static void bcm_umi_nand_write_buf(struct mtd_info *mtd, const u_char * buf, 325 static void bcm_umi_nand_read_buf(struct mtd_info *mtd, u_char * buf, int len) 341 static int bcm_umi_nand_verify_buf(struct mtd_info *mtd, const u_char * buf, 371 kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), 397 memset((char *)board_mtd, 0, sizeof(struct mtd_info)); [all...] |
H A D | nuc900_nand.c | 59 struct mtd_info mtd; 79 static unsigned char nuc900_nand_read_byte(struct mtd_info *mtd) 91 static void nuc900_nand_read_buf(struct mtd_info *mtd, 103 static void nuc900_nand_write_buf(struct mtd_info *mtd, 115 static int nuc900_verify_buf(struct mtd_info *mtd, 142 static int nuc900_nand_devready(struct mtd_info *mtd) 153 static void nuc900_nand_command_lp(struct mtd_info *mtd, unsigned int command,
|
H A D | davinci_nand.c | 56 struct mtd_info mtd; 103 static void nand_davinci_hwcontrol(struct mtd_info *mtd, int cmd, 124 static void nand_davinci_select_chip(struct mtd_info *mtd, int chip) 144 static inline uint32_t nand_davinci_readecc_1bit(struct mtd_info *mtd) 152 static void nand_davinci_hwctl_1bit(struct mtd_info *mtd, int mode) 176 static int nand_davinci_calculate_1bit(struct mtd_info *mtd, 191 static int nand_davinci_correct_1bit(struct mtd_info *mtd, u_char *dat, 237 static void nand_davinci_hwctl_4bit(struct mtd_info *mtd, int mode) 269 static int nand_davinci_calculate_4bit(struct mtd_info *mtd, 306 static int nand_davinci_correct_4bit(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/chips/ |
H A D | gen_probe.c | 15 static struct mtd_info *check_cmd_set(struct map_info *, int); 21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp) 23 struct mtd_info *mtd = NULL; 195 typedef struct mtd_info *cfi_cmdset_fn_t(struct map_info *, int); 201 static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map, 219 struct mtd_info *mtd; 232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary)
|
H A D | cfi_cmdset_0001.c | 57 static int cfi_intelext_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 58 static int cfi_intelext_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 59 static int cfi_intelext_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 60 static int cfi_intelext_writev(struct mtd_info *, const struct kvec *, unsigned long, loff_t, size_t *); 61 static int cfi_intelext_erase_varsize(struct mtd_info *, struct erase_info *); 62 static void cfi_intelext_sync (struct mtd_info *); 63 static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 64 static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 65 static int cfi_intelext_is_locked(struct mtd_info *mtd, loff_t ofs, 68 static int cfi_intelext_read_fact_prot_reg (struct mtd_info *, loff_ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/ |
H A D | docprobe.c | 222 extern void DoC2k_init(struct mtd_info *); 223 extern void DoCMil_init(struct mtd_info *); 224 extern void DoCMilPlus_init(struct mtd_info *); 230 struct mtd_info *mtd; 234 void (*initroutine)(struct mtd_info *) = NULL; 249 mtd = kmalloc(sizeof(struct DiskOnChip) + sizeof(struct mtd_info), GFP_KERNEL); 259 memset((char *)mtd,0, sizeof(struct mtd_info));
|
H A D | ms02-nv.h | 95 struct mtd_info *next;
|
H A D | phram.c | 30 struct mtd_info mtd; 37 static int phram_erase(struct mtd_info *mtd, struct erase_info *instr) 58 static int phram_point(struct mtd_info *mtd, loff_t from, size_t len, 73 static void phram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) 77 static int phram_read(struct mtd_info *mtd, loff_t from, size_t len, 94 static int phram_write(struct mtd_info *mtd, loff_t to, size_t len,
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/shared/ |
H A D | confmtd_utils.c | 101 mtd_info_t mtd_info; local 134 ioctl(mtd_fd, MEMGETINFO, &mtd_info) != 0) { 154 if ((tmp_stat.st_size + sizeof(confmtd_hdr_t)) > mtd_info.size || tmp_stat.st_size == 0) { 176 erase_info.length = mtd_info.size; 228 mtd_info_t mtd_info; local 259 ioctl(mtd_fd, MEMGETINFO, &mtd_info) != 0) { 271 if (mtd_hdr.len > mtd_info.size) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/asm/ |
H A D | axisflashmap.h | 59 extern struct mtd_info *axisflash_mtd;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/maps/ |
H A D | tsunami_flash.c | 72 static struct mtd_info *tsunami_flash_mtd; 76 struct mtd_info *mtd;
|
H A D | ceiva.c | 107 struct mtd_info *mtd; 115 static int __init clps_setup_mtd(struct clps_info *clps, int nr, struct mtd_info **rmtd) 117 struct mtd_info *subdev[nr]; 229 static void __exit clps_destroy_mtd(struct clps_info *clps, struct mtd_info *mtd) 275 static void __init clps_locate_partitions(struct mtd_info *mtd) 316 static struct mtd_info *mymtd;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/sfc/ |
H A D | mtd.c | 28 struct mtd_info mtd; 42 int (*read)(struct mtd_info *mtd, loff_t start, size_t len, 44 int (*erase)(struct mtd_info *mtd, loff_t start, size_t len); 45 int (*write)(struct mtd_info *mtd, loff_t start, size_t len, 47 int (*sync)(struct mtd_info *mtd); 186 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) 202 static void efx_mtd_sync(struct mtd_info *mtd) 317 static int falcon_mtd_read(struct mtd_info *mtd, loff_t start, 335 static int falcon_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len) 350 static int falcon_mtd_write(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/logfs/ |
H A D | dev_mtd.c | 18 struct mtd_info *mtd = logfs_super(sb)->s_mtd; 37 struct mtd_info *mtd = super->s_mtd; 90 struct mtd_info *mtd = logfs_super(sb)->s_mtd; 117 struct mtd_info *mtd = logfs_super(sb)->s_mtd; 150 struct mtd_info *mtd = super->s_mtd; 170 struct mtd_info *mtd = super->s_mtd; 270 struct mtd_info *mtd;
|