Lines Matching defs:mtd
299 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte()
311 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte()
326 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf()
343 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf()
358 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword()
379 static int doc2000_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_verifybuf()
392 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip()
438 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips()
460 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait()
474 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte()
485 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte()
499 static void doc2001_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_writebuf()
512 static void doc2001_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001_readbuf()
529 static int doc2001_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_verifybuf()
549 static u_char doc2001plus_read_byte(struct mtd_info *mtd) in doc2001plus_read_byte()
564 static void doc2001plus_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_writebuf()
582 static void doc2001plus_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001plus_readbuf()
613 static int doc2001plus_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_verifybuf()
640 static void doc2001plus_select_chip(struct mtd_info *mtd, int chip) in doc2001plus_select_chip()
667 static void doc200x_select_chip(struct mtd_info *mtd, int chip) in doc200x_select_chip()
697 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, in doc200x_hwcontrol()
721 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in doc2001plus_command()
826 static int doc200x_dev_ready(struct mtd_info *mtd) in doc200x_dev_ready()
859 static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip) in doc200x_block_bad()
866 static void doc200x_enable_hwecc(struct mtd_info *mtd, int mode) in doc200x_enable_hwecc()
885 static void doc2001plus_enable_hwecc(struct mtd_info *mtd, int mode) in doc2001plus_enable_hwecc()
905 static int doc200x_calculate_ecc(struct mtd_info *mtd, const u_char *dat, unsigned char *ecc_code) in doc200x_calculate_ecc()
964 static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat, in doc200x_correct_data()
1066 static int __init find_media_headers(struct mtd_info *mtd, u_char *buf, const char *id, int findmir… in find_media_headers()
1109 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in nftl_partscan()
1212 static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in inftl_partscan()
1332 static int __init nftl_scan_bbt(struct mtd_info *mtd) in nftl_scan_bbt()
1370 static int __init inftl_scan_bbt(struct mtd_info *mtd) in inftl_scan_bbt()
1427 static inline int __init doc2000_init(struct mtd_info *mtd) in doc2000_init()
1444 static inline int __init doc2001_init(struct mtd_info *mtd) in doc2001_init()
1475 static inline int __init doc2001plus_init(struct mtd_info *mtd) in doc2001plus_init()
1499 struct mtd_info *mtd; in doc_probe() local
1701 struct mtd_info *mtd, *nextmtd; in release_nanddoc() local