Lines Matching defs:mtd
52 struct mtd_info *mtd = nand_to_mtd(chip);
65 mtd->ecc_stats.failed++;
67 mtd->ecc_stats.corrected += bitflips;
85 mtd->ecc_stats.failed++;
88 max_bitflips = mtd->bitflip_threshold;
89 mtd->ecc_stats.corrected += max_bitflips;
124 struct mtd_info *mtd = nand_to_mtd(chip);
143 mtd_set_ooblayout(mtd, nand_get_large_page_ooblayout());
150 struct mtd_info *mtd = nand_to_mtd(chip);
169 mtd->oobsize = memorg->oobsize;
248 struct mtd_info *mtd = nand_to_mtd(chip);
253 mtd_set_pairing_scheme(mtd, &dist3_pairing_scheme);