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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnandsim.c308 uint secshift; /* bits number in sector size */ member in struct:nandsim::nandsin_geometry
490 ns->geom.secshift = ffs(ns->geom.secsz) - 1;
581 printk("bits in sector size: %u\n", ns->geom.secshift);
1357 erase_block_no = ns->regs.row >> (ns->geom.secshift - ns->geom.pgshift);

Completed in 83 milliseconds