Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dnandsim.c188 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
315 uint64_t totsz; /* total flash size, bytes */ member
568 ns->geom.totsz = mtd->size; in init_nandsim()
573 ns->geom.pgnum = divide(ns->geom.totsz, ns->geom.pgsz); in init_nandsim()
574 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
597 if (ns->geom.totsz <= (32 << 20)) { in init_nandsim()
605 if (ns->geom.totsz <= (128 << 20)) { in init_nandsim()
620 remains = ns->geom.totsz; in init_nandsim()
661 (unsigned long long)ns->geom.totsz >> 20); in init_nandsim()