Lines Matching refs:pgszoob
213 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
336 uint pgszoob; /* page size including OOB , bytes*/ member
598 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in alloc_device()
617 ns->geom.pgszoob, 0, 0, NULL); in alloc_device()
689 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim()
793 ns->buf.byte = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in init_nandsim()
796 ns->geom.pgszoob); in init_nandsim()
799 memset(ns->buf.byte, 0xFF, ns->geom.pgszoob); in init_nandsim()
1556 memset(ns->file_buf, 0xff, ns->geom.pgszoob); in prog_page()
1568 loff_t pos = (loff_t)ns->regs.row * ns->geom.pgszoob; in prog_page()
1569 tx = write_file(ns, ns->cfile, ns->file_buf, ns->geom.pgszoob, pos); in prog_page()
1570 if (tx != ns->geom.pgszoob) { in prog_page()
1599 memset(mypage->byte, 0xFF, ns->geom.pgszoob); in prog_page()
1636 if (ns->regs.column >= (ns->geom.pgszoob - ns->regs.off)) { in do_state_action()
1640 num = ns->geom.pgszoob - ns->regs.off - ns->regs.column; in do_state_action()
1708 num = ns->geom.pgszoob - ns->regs.off - ns->regs.column; in do_state_action()
1855 ns->regs.num = ns->geom.pgszoob - ns->regs.off - ns->regs.column; in switch_state()