Home
last modified time | relevance | path

Searched refs:nsmtd (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c451 static struct mtd_info *nsmtd; variable
1461 nsmtd->ecc_stats.corrected, nsmtd->ecc_stats.failed); in do_bit_flips()
2240 nsmtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip) in ns_init_module()
2242 if (!nsmtd) { in ns_init_module()
2246 chip = (struct nand_chip *)(nsmtd + 1); in ns_init_module()
2247 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 …]