Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dnandsim.c329 uint secaddrbytes; /* bytes per sector address */ member
684 ns->geom.secaddrbytes = 2; in ns_init()
687 ns->geom.secaddrbytes = 3; in ns_init()
692 ns->geom.secaddrbytes = 2; in ns_init()
695 ns->geom.secaddrbytes = 3; in ns_init()
758 printk("sector address bytes: %u\n", ns->geom.secaddrbytes); in ns_init()
1142 if (ns->regs.count < (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) in ns_accept_addr_byte()
1147 ns->geom.secaddrbytes)); in ns_accept_addr_byte()
1838 ns->regs.num = ns->geom.secaddrbytes; in ns_switch_state()
1847 ns->regs.num = ns->geom.pgaddrbytes - ns->geom.secaddrbytes; in ns_switch_state()
[all …]