Lines Matching defs:mtd
297 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte()
309 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte()
324 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf()
341 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf()
356 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword()
377 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip()
423 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips()
445 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait()
459 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte()
470 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte()
484 static void doc2001_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_writebuf()
497 static void doc2001_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001_readbuf()
514 static u_char doc2001plus_read_byte(struct mtd_info *mtd) in doc2001plus_read_byte()
529 static void doc2001plus_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_writebuf()
547 static void doc2001plus_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001plus_readbuf()
578 static void doc2001plus_select_chip(struct mtd_info *mtd, int chip) in doc2001plus_select_chip()
605 static void doc200x_select_chip(struct mtd_info *mtd, int chip) in doc200x_select_chip()
635 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, in doc200x_hwcontrol()
659 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in doc2001plus_command()
765 static int doc200x_dev_ready(struct mtd_info *mtd) in doc200x_dev_ready()
798 static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip) in doc200x_block_bad()
805 static void doc200x_enable_hwecc(struct mtd_info *mtd, int mode) in doc200x_enable_hwecc()
824 static void doc2001plus_enable_hwecc(struct mtd_info *mtd, int mode) in doc2001plus_enable_hwecc()
844 static int doc200x_calculate_ecc(struct mtd_info *mtd, const u_char *dat, unsigned char *ecc_code) in doc200x_calculate_ecc()
903 static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat, in doc200x_correct_data()
1005 static int __init find_media_headers(struct mtd_info *mtd, u_char *buf, const char *id, int findmir… in find_media_headers()
1048 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in nftl_partscan()
1150 static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in inftl_partscan()
1269 static int __init nftl_scan_bbt(struct mtd_info *mtd) in nftl_scan_bbt()
1307 static int __init inftl_scan_bbt(struct mtd_info *mtd) in inftl_scan_bbt()
1364 static inline int __init doc2000_init(struct mtd_info *mtd) in doc2000_init()
1380 static inline int __init doc2001_init(struct mtd_info *mtd) in doc2001_init()
1410 static inline int __init doc2001plus_init(struct mtd_info *mtd) in doc2001plus_init()
1433 struct mtd_info *mtd; in doc_probe() local
1642 struct mtd_info *mtd, *nextmtd; in release_nanddoc() local