Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dnandsim.c437 static struct mtd_info *nsmtd; variable
1420 nsmtd->ecc_stats.corrected, nsmtd->ecc_stats.failed); in do_bit_flips()
2235 nsmtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip) in ns_init_module()
2237 if (!nsmtd) { in ns_init_module()
2241 chip = (struct nand_chip *)(nsmtd + 1); in ns_init_module()
2242 nsmtd->priv = (void *)chip; in ns_init_module()
2281 nsmtd->owner = THIS_MODULE; in ns_init_module()
2292 if ((retval = nand_scan(nsmtd, 1)) != 0) { in ns_init_module()
2300 uint64_t new_size = (uint64_t)nsmtd->erasesize << overridesize; in ns_init_module()
2301 if (new_size >> overridesize != nsmtd->erasesize) { in ns_init_module()
[all …]