Searched refs:io_op (Results 1 – 2 of 2) sorted by relevance
26 struct mtd_oob_ops io_op = {}; in mtd_block_op() local100 io_op.len = *len; in mtd_block_op()102 io_op.len = mtd->writesize; in mtd_block_op()103 io_op.ooblen = 0; in mtd_block_op()104 io_op.datbuf = buf; in mtd_block_op()105 io_op.oobbuf = NULL; in mtd_block_op()141 off += io_op.retlen; in mtd_block_op()142 remaining -= io_op.retlen; in mtd_block_op()143 io_op.datbuf += io_op.retlen; in mtd_block_op()144 io_op.len = remaining; in mtd_block_op()[all …]
224 struct mtd_oob_ops *io_op, in mtd_special_write_oob() argument234 io_op->retlen = mtd->writesize; in mtd_special_write_oob()237 ret = mtd_write_oob(mtd, off, io_op); in mtd_special_write_oob()248 struct mtd_oob_ops io_op = {}; in do_mtd_io() local328 io_op.ooblen = woob ? mtd->oobsize : 0; in do_mtd_io()329 io_op.datbuf = buf; in do_mtd_io()330 io_op.oobbuf = woob ? &buf[len] : NULL; in do_mtd_io()358 off += io_op.retlen; in do_mtd_io()359 remaining -= io_op.retlen; in do_mtd_io()360 io_op.datbuf += io_op.retlen; in do_mtd_io()[all …]
Completed in 3 milliseconds