Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dnandsim.c320 uint pgszoob; /* page size including OOB , bytes*/ member
472 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in alloc_device()
492 ns->geom.pgszoob, 0, 0, NULL); in alloc_device()
572 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim()
681 ns->buf.byte = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in init_nandsim()
684 ns->geom.pgszoob); in init_nandsim()
688 memset(ns->buf.byte, 0xFF, ns->geom.pgszoob); in init_nandsim()
1444 pos = (loff_t)ns->regs.row * ns->geom.pgszoob + ns->regs.column + ns->regs.off; in read_page()
1513 off = (loff_t)ns->regs.row * ns->geom.pgszoob + ns->regs.column + ns->regs.off; in prog_page()
1516 memset(ns->file_buf, 0xff, ns->geom.pgszoob); in prog_page()
[all …]