Lines Matching refs:mtd_info
98 static void cs553x_read_buf(struct mtd_info *mtd, u_char *buf, int len)
110 static void cs553x_write_buf(struct mtd_info *mtd, const u_char *buf, int len)
122 static unsigned char cs553x_read_byte(struct mtd_info *mtd)
128 static void cs553x_write_byte(struct mtd_info *mtd, u_char byte)
140 static void cs553x_hwcontrol(struct mtd_info *mtd, int cmd,
153 static int cs553x_device_ready(struct mtd_info *mtd)
162 static void cs_enable_hwecc(struct mtd_info *mtd, int mode)
170 static int cs_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code)
184 static struct mtd_info *cs553x_mtd[4];
190 struct mtd_info *new_mtd;
200 new_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
211 memset(new_mtd, 0, sizeof(struct mtd_info));
352 struct mtd_info *mtd = cs553x_mtd[i];