Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/nand/raw/
Dnandsim.c327 uint secaddrbytes; /* bytes per sector address */ member
682 ns->geom.secaddrbytes = 2; in ns_init()
685 ns->geom.secaddrbytes = 3; in ns_init()
690 ns->geom.secaddrbytes = 2; in ns_init()
693 ns->geom.secaddrbytes = 3; in ns_init()
756 printk("sector address bytes: %u\n", ns->geom.secaddrbytes); in ns_init()
1147 if (ns->regs.count < (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) in ns_accept_addr_byte()
1152 ns->geom.secaddrbytes)); in ns_accept_addr_byte()
1637 8 * (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) | ns->regs.column; in ns_do_state_action()
1850 ns->regs.num = ns->geom.secaddrbytes; in ns_switch_state()
[all …]