Lines Matching defs:mtd
296 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte()
308 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte()
323 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf()
340 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf()
355 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword()
376 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip()
422 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips()
444 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait()
458 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte()
469 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte()
483 static void doc2001_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001_writebuf()
496 static void doc2001_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001_readbuf()
513 static u_char doc2001plus_read_byte(struct mtd_info *mtd) in doc2001plus_read_byte()
528 static void doc2001plus_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2001plus_writebuf()
546 static void doc2001plus_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2001plus_readbuf()
577 static void doc2001plus_select_chip(struct mtd_info *mtd, int chip) in doc2001plus_select_chip()
604 static void doc200x_select_chip(struct mtd_info *mtd, int chip) in doc200x_select_chip()
634 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, in doc200x_hwcontrol()
658 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in doc2001plus_command()
764 static int doc200x_dev_ready(struct mtd_info *mtd) in doc200x_dev_ready()
797 static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs) in doc200x_block_bad()
804 static void doc200x_enable_hwecc(struct mtd_info *mtd, int mode) in doc200x_enable_hwecc()
823 static void doc2001plus_enable_hwecc(struct mtd_info *mtd, int mode) in doc2001plus_enable_hwecc()
843 static int doc200x_calculate_ecc(struct mtd_info *mtd, const u_char *dat, unsigned char *ecc_code) in doc200x_calculate_ecc()
902 static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat, in doc200x_correct_data()
953 static int doc200x_ooblayout_ecc(struct mtd_info *mtd, int section, in doc200x_ooblayout_ecc()
965 static int doc200x_ooblayout_free(struct mtd_info *mtd, int section, in doc200x_ooblayout_free()
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()
1304 static int __init inftl_scan_bbt(struct mtd_info *mtd) in inftl_scan_bbt()
1358 static inline int __init doc2000_init(struct mtd_info *mtd) in doc2000_init()
1374 static inline int __init doc2001_init(struct mtd_info *mtd) in doc2001_init()
1404 static inline int __init doc2001plus_init(struct mtd_info *mtd) in doc2001plus_init()
1427 struct mtd_info *mtd; in doc_probe() local
1638 struct mtd_info *mtd, *nextmtd; in release_nanddoc() local