Lines Matching refs:mtd
65 static void ams_delta_write_byte(struct mtd_info *mtd, u_char byte) in ams_delta_write_byte() argument
67 struct nand_chip *this = mtd->priv; in ams_delta_write_byte()
77 static u_char ams_delta_read_byte(struct mtd_info *mtd) in ams_delta_read_byte() argument
80 struct nand_chip *this = mtd->priv; in ams_delta_read_byte()
92 static void ams_delta_write_buf(struct mtd_info *mtd, const u_char *buf, in ams_delta_write_buf() argument
98 ams_delta_write_byte(mtd, buf[i]); in ams_delta_write_buf()
101 static void ams_delta_read_buf(struct mtd_info *mtd, u_char *buf, int len) in ams_delta_read_buf() argument
106 buf[i] = ams_delta_read_byte(mtd); in ams_delta_read_buf()
117 static void ams_delta_hwcontrol(struct mtd_info *mtd, int cmd, in ams_delta_hwcontrol() argument
131 ams_delta_write_byte(mtd, cmd); in ams_delta_hwcontrol()
134 static int ams_delta_nand_ready(struct mtd_info *mtd) in ams_delta_nand_ready() argument