Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dnandsim.c318 uint oobsz; /* page OOB area size, bytes */ member
640 ns->geom.oobsz = mtd->oobsize; in init_nandsim()
642 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim()
644 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
648 ns->geom.secszoob = ns->geom.secsz + ns->geom.oobsz * ns->geom.pgsec; in init_nandsim()
728 printk("OOB area size: %u bytes\n", ns->geom.oobsz); in init_nandsim()
735 printk("bits in OOB size: %u\n", ffs(ns->geom.oobsz) - 1); in init_nandsim()