Lines Matching refs:ops
62 struct mtd_oob_ops ops; in read_eraseblock_by_page() local
64 ops.mode = MTD_OPS_PLACE_OOB; in read_eraseblock_by_page()
65 ops.len = 0; in read_eraseblock_by_page()
66 ops.retlen = 0; in read_eraseblock_by_page()
67 ops.ooblen = mtd->oobsize; in read_eraseblock_by_page()
68 ops.oobretlen = 0; in read_eraseblock_by_page()
69 ops.ooboffs = 0; in read_eraseblock_by_page()
70 ops.datbuf = NULL; in read_eraseblock_by_page()
71 ops.oobbuf = oobbuf; in read_eraseblock_by_page()
72 ret = mtd_read_oob(mtd, addr, &ops); in read_eraseblock_by_page()
74 ops.oobretlen != mtd->oobsize) { in read_eraseblock_by_page()