Lines Matching refs:opts
53 nand_erase_options_t opts; in nand_block_op() local
56 memset(&opts, 0, sizeof(opts)); in nand_block_op()
57 opts.offset = start; in nand_block_op()
58 opts.length = count; in nand_block_op()
59 opts.spread = 1; in nand_block_op()
60 opts.quiet = 1; in nand_block_op()
61 opts.lim = lim; in nand_block_op()
63 ret = nand_erase_opts(mtd, &opts); in nand_block_op()
154 nand_erase_options_t opts; in dfu_flush_medium_nand() local
163 memset(&opts, 0, sizeof(opts)); in dfu_flush_medium_nand()
173 opts.offset = dfu->data.nand.start + off + in dfu_flush_medium_nand()
175 opts.length = dfu->data.nand.start + in dfu_flush_medium_nand()
176 dfu->data.nand.size - opts.offset; in dfu_flush_medium_nand()
177 ret = nand_erase_opts(mtd, &opts); in dfu_flush_medium_nand()