Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dnandsim.c320 uint oobsz; /* page OOB area size, bytes */ member
657 ns->geom.oobsz = mtd->oobsize; in ns_init()
659 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in ns_init()
661 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in ns_init()
665 ns->geom.secszoob = ns->geom.secsz + ns->geom.oobsz * ns->geom.pgsec; in ns_init()
747 printk("OOB area size: %u bytes\n", ns->geom.oobsz); in ns_init()
754 printk("bits in OOB size: %u\n", ffs(ns->geom.oobsz) - 1); in ns_init()