Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c334 uint oobsz; /* page OOB area size, bytes */ member
687 ns->geom.oobsz = mtd->oobsize; in init_nandsim()
689 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim()
691 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
695 ns->geom.secszoob = ns->geom.secsz + ns->geom.oobsz * ns->geom.pgsec; in init_nandsim()
770 printk("OOB area size: %u bytes\n", ns->geom.oobsz); in init_nandsim()
777 printk("bits in OOB size: %u\n", ffs(ns->geom.oobsz) - 1); in init_nandsim()