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

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

Completed in 77 milliseconds