Lines Matching refs:nand
31 *len = dfu->data.nand.size; in nand_block_op()
35 start = dfu->data.nand.start + offset + dfu->bad_skip; in nand_block_op()
36 lim = dfu->data.nand.start + dfu->data.nand.size - start; in nand_block_op()
118 *size = dfu->data.nand.size; in dfu_get_medium_size_nand()
146 if (dfu->data.nand.ubi) { in dfu_flush_medium_nand()
167 opts.offset = dfu->data.nand.start + off + in dfu_flush_medium_nand()
169 opts.length = dfu->data.nand.start + in dfu_flush_medium_nand()
170 dfu->data.nand.size - opts.offset; in dfu_flush_medium_nand()
185 if (dfu->data.nand.ubi) in dfu_polltimeout_nand()
196 dfu->data.nand.ubi = 0; in dfu_fill_entity_nand()
201 dfu->data.nand.start = simple_strtoul(s, &s, 16); in dfu_fill_entity_nand()
203 dfu->data.nand.size = simple_strtoul(s, &s, 16); in dfu_fill_entity_nand()
227 dfu->data.nand.start = pi->offset; in dfu_fill_entity_nand()
228 dfu->data.nand.size = pi->size; in dfu_fill_entity_nand()
230 dfu->data.nand.ubi = 1; in dfu_fill_entity_nand()