Searched refs:pgszoob (Results 1 – 1 of 1) sorted by relevance
| /Linux-v4.19/drivers/mtd/nand/raw/ |
| D | nandsim.c | 213 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column) 331 uint pgszoob; /* page size including OOB , bytes*/ member 576 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in alloc_device() 595 ns->geom.pgszoob, 0, 0, NULL); in alloc_device() 667 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim() 771 ns->buf.byte = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in init_nandsim() 774 ns->geom.pgszoob); in init_nandsim() 777 memset(ns->buf.byte, 0xFF, ns->geom.pgszoob); in init_nandsim() 1522 memset(ns->file_buf, 0xff, ns->geom.pgszoob); in prog_page() 1534 loff_t pos = (loff_t)ns->regs.row * ns->geom.pgszoob; in prog_page() [all …]
|