Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
Dnandsim.c438 static struct mtd_info *nsmtd; variable
502 struct dentry *root = nsmtd->dbg.dfs_dir; in ns_debugfs_create()
1415 nsmtd->ecc_stats.corrected, nsmtd->ecc_stats.failed); in ns_do_bit_flips()
2229 eccsteps = nsmtd->writesize / 512; in ns_attach_chip()
2233 if (nsmtd->oobsize < 64 || !eccsteps) { in ns_attach_chip()
2238 if (((eccbytes * eccsteps) + 2) > nsmtd->oobsize) { in ns_attach_chip()
2278 nsmtd = nand_to_mtd(chip); in ns_init_module()
2320 nsmtd->owner = THIS_MODULE; in ns_init_module()
2345 uint64_t new_size = (uint64_t)nsmtd->erasesize << overridesize; in ns_init_module()
2351 if (new_size >> overridesize != nsmtd->erasesize) { in ns_init_module()
[all …]