Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dnandsim.c338 uint secaddrbytes; /* bytes per sector address */ member
692 ns->geom.secaddrbytes = 2; in init_nandsim()
695 ns->geom.secaddrbytes = 3; in init_nandsim()
700 ns->geom.secaddrbytes = 2; in init_nandsim()
703 ns->geom.secaddrbytes = 3; in init_nandsim()
764 printk("sector address bytes: %u\n", ns->geom.secaddrbytes); in init_nandsim()
1158 if (ns->regs.count < (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) in accept_addr_byte()
1163 ns->geom.secaddrbytes)); in accept_addr_byte()
1641 8 * (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) | ns->regs.column; in do_state_action()
1850 ns->regs.num = ns->geom.secaddrbytes; in switch_state()
[all …]