Lines Matching refs:mtd_info
119 static void tango_cmd_ctrl(struct mtd_info *mtd, int dat, unsigned int ctrl) in tango_cmd_ctrl()
130 static int tango_dev_ready(struct mtd_info *mtd) in tango_dev_ready()
138 static u8 tango_read_byte(struct mtd_info *mtd) in tango_read_byte()
145 static void tango_read_buf(struct mtd_info *mtd, u8 *buf, int len) in tango_read_buf()
152 static void tango_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in tango_write_buf()
159 static void tango_select_chip(struct mtd_info *mtd, int idx) in tango_select_chip()
182 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page()
210 struct mtd_info *mtd = nand_to_mtd(chip); in decode_error_report()
280 static int tango_read_page(struct mtd_info *mtd, struct nand_chip *chip, in tango_read_page()
302 static int tango_write_page(struct mtd_info *mtd, struct nand_chip *chip, in tango_write_page()
326 struct mtd_info *mtd = nand_to_mtd(chip); in aux_read()
341 struct mtd_info *mtd = nand_to_mtd(chip); in aux_write()
375 struct mtd_info *mtd = nand_to_mtd(chip); in raw_read()
402 struct mtd_info *mtd = nand_to_mtd(chip); in raw_write()
427 static int tango_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in tango_read_page_raw()
435 static int tango_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in tango_write_page_raw()
443 static int tango_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in tango_read_oob()
451 static int tango_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in tango_write_oob()
459 static int oob_ecc(struct mtd_info *mtd, int idx, struct mtd_oob_region *res) in oob_ecc()
473 static int oob_free(struct mtd_info *mtd, int idx, struct mtd_oob_region *res) in oob_free()
488 static int tango_set_timings(struct mtd_info *mtd, int csline, in tango_set_timings()
546 struct mtd_info *mtd; in chip_init()