Searched refs:nsmtd (Results 1 – 1 of 1) sorted by relevance
448 static struct mtd_info *nsmtd; variable1460 nsmtd->ecc_stats.corrected, nsmtd->ecc_stats.failed); in do_bit_flips()2241 nsmtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip) in ns_init_module()2243 if (!nsmtd) { in ns_init_module()2247 chip = (struct nand_chip *)(nsmtd + 1); in ns_init_module()2248 nsmtd->priv = (void *)chip; in ns_init_module()2298 nsmtd->owner = THIS_MODULE; in ns_init_module()2309 retval = nand_scan_ident(nsmtd, 1, NULL); in ns_init_module()2325 eccsteps = nsmtd->writesize/512; in ns_init_module()2328 if ((nsmtd->oobsize < 64) || !eccsteps) { in ns_init_module()[all …]