Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/nand/raw/
Dnandsim.c326 uint secaddrbytes; /* bytes per sector address */ member
681 ns->geom.secaddrbytes = 2; in ns_init()
684 ns->geom.secaddrbytes = 3; in ns_init()
689 ns->geom.secaddrbytes = 2; in ns_init()
692 ns->geom.secaddrbytes = 3; in ns_init()
755 printk("sector address bytes: %u\n", ns->geom.secaddrbytes); in ns_init()
1146 if (ns->regs.count < (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) in ns_accept_addr_byte()
1151 ns->geom.secaddrbytes)); in ns_accept_addr_byte()
1636 8 * (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) | ns->regs.column; in ns_do_state_action()
1849 ns->regs.num = ns->geom.secaddrbytes; in ns_switch_state()
[all …]