Searched refs:totsz (Results 1 - 1 of 1) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnandsim.c181 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
299 uint32_t totsz; /* total flash size, bytes */ member in struct:nandsim::nandsin_geometry
483 ns->geom.totsz = mtd->size;
488 ns->geom.pgnum = ns->geom.totsz / ns->geom.pgsz;
489 ns->geom.totszoob = ns->geom.totsz + ns->geom.pgnum * ns->geom.oobsz;
512 if (ns->geom.totsz < (64 << 20)) {
520 if (ns->geom.totsz <= (128 << 20)) {
535 remains = ns->geom.totsz;
574 printk("flash size: %u MiB\n", ns->geom.totsz >> 20);

Completed in 85 milliseconds