/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ubi/ |
H A D | gluebi.c | 57 struct mtd_info mtd; 97 static int gluebi_get_device(struct mtd_info *mtd) 147 static void gluebi_put_device(struct mtd_info *mtd) 171 static int gluebi_read(struct mtd_info *mtd, loff_t from, size_t len, 215 static int gluebi_write(struct mtd_info *mtd, loff_t to, size_t len, 263 static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) 322 struct mtd_info *mtd; 392 struct mtd_info *mtd; 525 struct mtd_info *mtd = &gluebi->mtd;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/bcm947xx/devices/ |
H A D | bcmsflash.c | 53 init_mtd_partitions(hndsflash_t *sfl, struct mtd_info *mtd, size_t size); 63 struct mtd_info mtd; 95 bcmsflash_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) 126 bcmsflash_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) 158 bcmsflash_mtd_erase(struct mtd_info *mtd, struct erase_info *erase)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/bcm947xx/nand/ |
H A D | brcmnand.c | 81 struct mtd_info mtd; 381 brcmnand_dev_ready(struct mtd_info *mtd) 393 brcmnand_waitfunc(struct mtd_info *mtd, struct nand_chip *chip) 421 brcmnand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, int page, int sndcmd) 434 brcmnand_write_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) 452 _brcmnand_read_page_do(struct mtd_info *mtd, struct nand_chip *chip, 481 brcmnand_read_page_ecc(struct mtd_info *mtd, struct nand_chip *chip, 491 brcmnand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, 501 _brcmnand_write_page_do(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, bool ecc) 531 brcmnand_write_page_ecc(struct mtd_info *mt [all...] |
H A D | brcmnand_47xx.c | 56 extern struct mtd_partition * init_brcmnand_mtd_partitions(struct mtd_info *mtd, size_t size); 307 int brcmnand_cache_is_valid(struct mtd_info *mtd, struct nand_chip *chip, int state) 336 int brcmnand_spare_is_valid(struct mtd_info *mtd, struct nand_chip *chip, int state) 370 static void brcmnand_release_device(struct mtd_info *mtd) 388 static int brcmnand_get_device( struct mtd_info *mtd) 406 brcmnand_release_device_bcm4706(struct mtd_info *mtd) 420 brcmnand_get_device_bcm4706( struct mtd_info *mtd ) 436 static int brcmnand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip, 458 static int brcmnand_handle_false_read_ecc_unc_errors(struct mtd_info *mtd, 517 static int brcmnand_posted_read_cache(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/ |
H A D | bcmsflash.c | 53 init_mtd_partitions(hndsflash_t *sfl, struct mtd_info *mtd, size_t size); 63 struct mtd_info mtd; 95 bcmsflash_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) 126 bcmsflash_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) 158 bcmsflash_mtd_erase(struct mtd_info *mtd, struct erase_info *erase)
|
H A D | doc2001plus.c | 35 static int doc_read(struct mtd_info *mtd, loff_t from, size_t len, 37 static int doc_write(struct mtd_info *mtd, loff_t to, size_t len, 39 static int doc_read_oob(struct mtd_info *mtd, loff_t ofs, 41 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, 43 static int doc_erase (struct mtd_info *mtd, struct erase_info *instr); 45 static struct mtd_info *docmilpluslist = NULL; 178 static unsigned int DoC_GetDataOffset(struct mtd_info *mtd, loff_t *from) 207 static unsigned int DoC_GetECCOffset(struct mtd_info *mtd, loff_t *from) 223 static unsigned int DoC_GetFlagsOffset(struct mtd_info *mtd, loff_t *from) 233 static unsigned int DoC_GetHdrOffset(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 31 static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len, 33 static int lpddr_write_buffers(struct mtd_info *mtd, loff_t to, 35 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, 37 static int lpddr_erase(struct mtd_info *mtd, struct erase_info *instr); 38 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 39 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 40 static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len, 42 static void lpddr_unpoint(struct mtd_info *mtd, loff_t adr, size_t len); 47 struct mtd_info *lpddr_cmdset(struct map_info *map) 52 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 | s3c2410.c | 86 struct mtd_info mtd; 142 static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd) 147 static struct s3c2410_nand_info *s3c2410_nand_mtd_toinfo(struct mtd_info *mtd) 326 static void s3c2410_nand_select_chip(struct mtd_info *mtd, int chip) 368 static void s3c2410_nand_hwcontrol(struct mtd_info *mtd, int cmd, 384 static void s3c2440_nand_hwcontrol(struct mtd_info *mtd, int cmd, 403 static int s3c2410_nand_devready(struct mtd_info *mtd) 409 static int s3c2440_nand_devready(struct mtd_info *mtd) 415 static int s3c2412_nand_devready(struct mtd_info *mtd) 423 static int s3c2410_nand_correct_data(struct mtd_info *mt [all...] |
H A D | sharpsl.c | 32 struct mtd_info mtd; 65 static void sharpsl_nand_hwcontrol(struct mtd_info *mtd, int cmd, 85 static int sharpsl_nand_dev_ready(struct mtd_info *mtd) 91 static void sharpsl_nand_enable_hwecc(struct mtd_info *mtd, int mode) 97 static int sharpsl_nand_calculate_ecc(struct mtd_info *mtd, const u_char * dat, u_char * ecc_code)
|
H A D | omap2.c | 124 struct mtd_info mtd; 146 static void omap_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) 169 static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len) 182 static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len) 204 static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len) 217 static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len) 240 static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len) 286 static void omap_write_buf_pref(struct mtd_info *mtd, 346 static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr, 431 static inline int omap_nand_dma_transfer(struct mtd_info *mt [all...] |
H A D | tmio_nand.c | 106 struct mtd_info mtd; 130 static void tmio_nand_hwcontrol(struct mtd_info *mtd, int cmd, 163 static int tmio_nand_dev_ready(struct mtd_info *mtd) 192 tmio_nand_wait(struct mtd_info *mtd, struct nand_chip *nand_chip) 228 static u_char tmio_nand_read_byte(struct mtd_info *mtd) 248 tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) 255 static void tmio_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) 263 tmio_nand_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) 274 static void tmio_nand_enable_hwecc(struct mtd_info *mtd, int mode) 283 static int tmio_nand_calculate_ecc(struct mtd_info *mt [all...] |
H A D | fsl_upm.c | 33 struct mtd_info mtd; 52 static inline struct fsl_upm_nand *to_fsl_upm_nand(struct mtd_info *mtdinfo) 57 static int fun_chip_ready(struct mtd_info *mtd) 82 static void fun_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 112 static void fun_select_chip(struct mtd_info *mtd, int mchip_nr) 128 static uint8_t fun_read_byte(struct mtd_info *mtd) 135 static void fun_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 144 static void fun_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
|
H A D | nand_bbt.c | 171 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, 237 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) 264 static int scan_read_raw(struct mtd_info *mtd, uint8_t *buf, loff_t offs, 300 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, 326 static int read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, 354 static int scan_block_full(struct mtd_info *mtd, struct nand_bbt_descr *bd, 374 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, 415 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, 506 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) 579 static int search_read_bbts(struct mtd_info *mt [all...] |
H A D | sm_common.c | 39 static int sm_block_markbad(struct mtd_info *mtd, loff_t ofs) 110 int sm_register_device(struct mtd_info *mtd, int smartmedia)
|
H A D | nand_base.c | 98 static int nand_get_device(struct nand_chip *chip, struct mtd_info *mtd, 101 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to, 110 static int check_offs_len(struct mtd_info *mtd, 145 static void nand_release_device(struct mtd_info *mtd) 166 static uint8_t nand_read_byte(struct mtd_info *mtd) 179 static uint8_t nand_read_byte16(struct mtd_info *mtd) 192 static u16 nand_read_word(struct mtd_info *mtd) 205 static void nand_select_chip(struct mtd_info *mtd, int chipnr) 229 static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) 246 static void nand_read_buf(struct mtd_info *mt [all...] |
H A D | cafe_nand.c | 104 static int cafe_device_ready(struct mtd_info *mtd) 120 static void cafe_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) 135 static void cafe_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 149 static uint8_t cafe_read_byte(struct mtd_info *mtd) 160 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command, 320 static void cafe_select_chip(struct mtd_info *mtd, int chipnr) 336 struct mtd_info *mtd = id; 347 static void cafe_nand_bug(struct mtd_info *mtd) 352 static int cafe_nand_write_oob(struct mtd_info *mtd, 366 static int cafe_nand_read_oob(struct mtd_info *mt [all...] |
H A D | sh_flctl.c | 100 static void set_addr(struct mtd_info *mtd, int column, int page_addr) 283 static void set_cmd_regs(struct mtd_info *mtd, uint32_t cmd, uint32_t flcmcdr_val) 343 static int flctl_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, 365 static void flctl_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, 377 static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr) 417 static void execmd_read_oob(struct mtd_info *mtd, int page_addr) 448 static void execmd_write_page_sector(struct mtd_info *mtd) 482 static void execmd_write_oob(struct mtd_info *mtd) 510 static void flctl_cmdfunc(struct mtd_info *mtd, unsigned int command, 663 static void flctl_select_chip(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 | cfi_cmdset_0020.c | 38 static int cfi_staa_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *); 39 static int cfi_staa_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 40 static int cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, 42 static int cfi_staa_erase_varsize(struct mtd_info *, struct erase_info *); 43 static void cfi_staa_sync (struct mtd_info *); 44 static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 45 static int cfi_staa_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 46 static int cfi_staa_suspend (struct mtd_info *); 47 static void cfi_staa_resume (struct mtd_info *); 49 static void cfi_staa_destroy(struct mtd_info *); [all...] |
H A D | cfi_cmdset_0002.c | 51 static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 52 static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 53 static int cfi_amdstd_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 54 static int cfi_amdstd_erase_chip(struct mtd_info *, struct erase_info *); 55 static int cfi_amdstd_erase_varsize(struct mtd_info *, struct erase_info *); 56 static void cfi_amdstd_sync (struct mtd_info *); 57 static int cfi_amdstd_suspend (struct mtd_info *); 58 static void cfi_amdstd_resume (struct mtd_info *); 60 static int cfi_amdstd_secsi_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 62 static void cfi_amdstd_destroy(struct mtd_info *); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/47xxnand/ |
H A D | brcmnand_47xx.c | 56 extern struct mtd_partition * init_brcmnand_mtd_partitions(struct mtd_info *mtd, size_t size); 307 int brcmnand_cache_is_valid(struct mtd_info *mtd, struct nand_chip *chip, int state) 336 int brcmnand_spare_is_valid(struct mtd_info *mtd, struct nand_chip *chip, int state) 370 static void brcmnand_release_device(struct mtd_info *mtd) 388 static int brcmnand_get_device( struct mtd_info *mtd) 406 brcmnand_release_device_bcm4706(struct mtd_info *mtd) 420 brcmnand_get_device_bcm4706( struct mtd_info *mtd ) 436 static int brcmnand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip, 458 static int brcmnand_handle_false_read_ecc_unc_errors(struct mtd_info *mtd, 517 static int brcmnand_posted_read_cache(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 | solutionengine.c | 19 static struct mtd_info *flash_mtd; 20 static struct mtd_info *eprom_mtd;
|
H A D | mbx860.c | 49 static struct mtd_info *mymtd;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/onenand/ |
H A D | samsung.c | 122 struct mtd_info *mtd; 329 static int s3c_onenand_wait(struct mtd_info *mtd, int state) 395 static int s3c_onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, 493 static unsigned char *s3c_get_bufferram(struct mtd_info *mtd, int area) 512 static int onenand_read_bufferram(struct mtd_info *mtd, int area, 523 static int onenand_write_bufferram(struct mtd_info *mtd, int area, 569 static int s5pc110_read_bufferram(struct mtd_info *mtd, int area, 631 static int s5pc110_chip_probe(struct mtd_info *mtd) 637 static int s3c_onenand_bbt_wait(struct mtd_info *mtd, int state) 670 static void s3c_onenand_check_lock_status(struct mtd_info *mt [all...] |
H A D | onenand_base.c | 321 int flexonenand_region(struct mtd_info *mtd, loff_t addr) 342 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) 498 static int onenand_wait(struct mtd_info *mtd, int state) 596 static int onenand_interrupt_wait(struct mtd_info *mtd, int state) 612 static int onenand_try_interrupt_wait(struct mtd_info *mtd, int state) 643 static void onenand_setup_wait(struct mtd_info *mtd) 678 static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area) 703 static int onenand_read_bufferram(struct mtd_info *mtd, int area, 739 static int onenand_sync_read_bufferram(struct mtd_info *mtd, int area, 779 static int onenand_write_bufferram(struct mtd_info *mt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ |
H A D | mtdchar.c | 47 struct mtd_info *mtd; 55 struct mtd_info *mtd = mfi->mtd; 83 struct mtd_info *mtd; 150 struct mtd_info *mtd = mfi->mtd; 172 struct mtd_info *mtd = mfi->mtd; 263 struct mtd_info *mtd = mfi->mtd; 359 struct mtd_info *mtd = mfi->mtd; 386 static int mtd_do_writeoob(struct file *file, struct mtd_info *mtd, 433 static int mtd_do_readoob(struct mtd_info *mtd, uint64_t start, 478 struct mtd_info *mt [all...] |