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()
788 ns->buf.byte = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in init_nandsim()
791 ns->geom.pgszoob); in init_nandsim()
795 memset(ns->buf.byte, 0xFF, ns->geom.pgszoob); in init_nandsim()
1557 memset(ns->file_buf, 0xff, ns->geom.pgszoob); in prog_page()
1569 loff_t pos = (loff_t)ns->regs.row * ns->geom.pgszoob; in prog_page()
1570 tx = write_file(ns, ns->cfile, ns->file_buf, ns->geom.pgszoob, pos); in prog_page()
1571 if (tx != ns->geom.pgszoob) { in prog_page()
1600 memset(mypage->byte, 0xFF, ns->geom.pgszoob); in prog_page()
1637 if (ns->regs.column >= (ns->geom.pgszoob - ns->regs.off)) { in do_state_action()
1641 num = ns->geom.pgszoob - ns->regs.off - ns->regs.column; in do_state_action()
1709 num = ns->geom.pgszoob - ns->regs.off - ns->regs.column; in do_state_action()
1856 ns->regs.num = ns->geom.pgszoob - ns->regs.off - ns->regs.column; in switch_state()