Lines Matching defs:mtd

79 	struct mtd_info	*mtd;  member
242 static void docg4_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in docg4_read_buf()
253 static void docg4_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len) in docg4_write_buf16()
297 static int docg4_wait(struct mtd_info *mtd, struct nand_chip *nand) in docg4_wait()
315 static void docg4_select_chip(struct mtd_info *mtd, int chip) in docg4_select_chip()
336 static void reset(struct mtd_info *mtd) in reset()
371 static int correct_data(struct mtd_info *mtd, uint8_t *buf, int page) in correct_data()
465 static uint8_t docg4_read_byte(struct mtd_info *mtd) in docg4_read_byte()
541 static int pageprog(struct mtd_info *mtd) in pageprog()
581 static void sequence_reset(struct mtd_info *mtd) in sequence_reset()
598 static void read_page_prologue(struct mtd_info *mtd, uint32_t docg4_addr) in read_page_prologue()
625 static void write_page_prologue(struct mtd_info *mtd, uint32_t docg4_addr) in write_page_prologue()
689 static void docg4_command(struct mtd_info *mtd, unsigned command, int column, in docg4_command()
756 static int read_page(struct mtd_info *mtd, struct nand_chip *nand, in read_page()
824 static int docg4_read_page_raw(struct mtd_info *mtd, struct nand_chip *nand, in docg4_read_page_raw()
830 static int docg4_read_page(struct mtd_info *mtd, struct nand_chip *nand, in docg4_read_page()
836 static int docg4_read_oob(struct mtd_info *mtd, struct nand_chip *nand, in docg4_read_oob()
875 static int docg4_erase_block(struct mtd_info *mtd, int page) in docg4_erase_block()
923 static int write_page(struct mtd_info *mtd, struct nand_chip *nand, in write_page()
979 static int docg4_write_page_raw(struct mtd_info *mtd, struct nand_chip *nand, in docg4_write_page_raw()
985 static int docg4_write_page(struct mtd_info *mtd, struct nand_chip *nand, in docg4_write_page()
991 static int docg4_write_oob(struct mtd_info *mtd, struct nand_chip *nand, in docg4_write_oob()
1012 static int __init read_factory_bbt(struct mtd_info *mtd) in read_factory_bbt()
1079 static int docg4_block_markbad(struct mtd_info *mtd, loff_t ofs) in docg4_block_markbad()
1124 static int docg4_block_neverbad(struct mtd_info *mtd, loff_t ofs, int getchip) in docg4_block_neverbad()
1190 static void __init init_mtd_structs(struct mtd_info *mtd) in init_mtd_structs()
1262 static int __init read_id_reg(struct mtd_info *mtd) in read_id_reg()
1288 struct mtd_info *mtd; in probe_docg4() local