Lines Matching defs:mtd
300 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte()
312 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte()
327 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf()
344 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf()
359 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword()
380 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip()
426 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips()
448 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait()
462 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte()
473 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte()
487 static void doc2001_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_writebuf()
500 static void doc2001_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001_readbuf()
517 static u_char doc2001plus_read_byte(struct mtd_info *mtd) in doc2001plus_read_byte()
532 static void doc2001plus_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_writebuf()
550 static void doc2001plus_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001plus_readbuf()
581 static void doc2001plus_select_chip(struct mtd_info *mtd, int chip) in doc2001plus_select_chip()
608 static void doc200x_select_chip(struct mtd_info *mtd, int chip) in doc200x_select_chip()
638 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, in doc200x_hwcontrol()
662 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in doc2001plus_command()
768 static int doc200x_dev_ready(struct mtd_info *mtd) in doc200x_dev_ready()
801 static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip) in doc200x_block_bad()
808 static void doc200x_enable_hwecc(struct mtd_info *mtd, int mode) in doc200x_enable_hwecc()
827 static void doc2001plus_enable_hwecc(struct mtd_info *mtd, int mode) in doc2001plus_enable_hwecc()
847 static int doc200x_calculate_ecc(struct mtd_info *mtd, const u_char *dat, unsigned char *ecc_code) in doc200x_calculate_ecc()
906 static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat, in doc200x_correct_data()
1008 static int __init find_media_headers(struct mtd_info *mtd, u_char *buf, const char *id, int findmir… in find_media_headers()
1051 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in nftl_partscan()
1153 static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in inftl_partscan()
1272 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()
1361 static inline int __init doc2000_init(struct mtd_info *mtd) in doc2000_init()
1377 static inline int __init doc2001_init(struct mtd_info *mtd) in doc2001_init()
1407 static inline int __init doc2001plus_init(struct mtd_info *mtd) in doc2001plus_init()
1430 struct mtd_info *mtd; in doc_probe() local
1641 struct mtd_info *mtd, *nextmtd; in release_nanddoc() local