Lines Matching refs:mtd_info
35 static struct mtd_info *rtc_from4_mtd = NULL;
167 static void rtc_from4_hwcontrol(struct mtd_info *mtd, int cmd,
190 static void rtc_from4_nand_select_chip(struct mtd_info *mtd, int chip)
219 static int rtc_from4_nand_device_ready(struct mtd_info *mtd)
242 static void deplete(struct mtd_info *mtd, int chip)
270 static void rtc_from4_enable_hwecc(struct mtd_info *mtd, int mode)
314 static void rtc_from4_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code)
340 static int rtc_from4_correct_data(struct mtd_info *mtd, const u_char *buf, u_char *ecc1, u_char *ecc2)
403 static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this,
481 rtc_from4_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
491 memset(rtc_from4_mtd, 0, sizeof(struct mtd_info));