Lines Matching refs:mtd_info
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);
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 int doc2000_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_verifybuf()
390 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip()
436 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips()
458 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait()
472 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte()
483 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte()
497 static void doc2001_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_writebuf()
510 static void doc2001_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001_readbuf()
527 static int doc2001_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_verifybuf()
547 static u_char doc2001plus_read_byte(struct mtd_info *mtd) in doc2001plus_read_byte()
562 static void doc2001plus_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_writebuf()
580 static void doc2001plus_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001plus_readbuf()
611 static int doc2001plus_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_verifybuf()
638 static void doc2001plus_select_chip(struct mtd_info *mtd, int chip) in doc2001plus_select_chip()
665 static void doc200x_select_chip(struct mtd_info *mtd, int chip) in doc200x_select_chip()
695 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, in doc200x_hwcontrol()
719 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in doc2001plus_command()
824 static int doc200x_dev_ready(struct mtd_info *mtd) in doc200x_dev_ready()
857 static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip) in doc200x_block_bad()
864 static void doc200x_enable_hwecc(struct mtd_info *mtd, int mode) in doc200x_enable_hwecc()
883 static void doc2001plus_enable_hwecc(struct mtd_info *mtd, int mode) in doc2001plus_enable_hwecc()
903 static int doc200x_calculate_ecc(struct mtd_info *mtd, const u_char *dat, unsigned char *ecc_code) in doc200x_calculate_ecc()
962 static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat, in doc200x_correct_data()
1064 static int __init find_media_headers(struct mtd_info *mtd, u_char *buf, const char *id, int findmir… in find_media_headers()
1107 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in nftl_partscan()
1210 static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in inftl_partscan()
1330 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()
1429 static inline int __init doc2000_init(struct mtd_info *mtd) in doc2000_init()
1446 static inline int __init doc2001_init(struct mtd_info *mtd) in doc2001_init()
1477 static inline int __init doc2001plus_init(struct mtd_info *mtd) in doc2001plus_init()
1501 struct mtd_info *mtd; in doc_probe()
1627 len = sizeof(struct mtd_info) + in doc_probe()
1703 struct mtd_info *mtd, *nextmtd; in release_nanddoc()