Searched refs:has_pages (Results 1 – 2 of 2) sorted by relevance
28 bool has_pages = mtd->type == MTD_NANDFLASH || in mtd_block_op() local101 if (has_pages && io_op.len > mtd->writesize) in mtd_block_op()145 if (has_pages && io_op.len > mtd->writesize) in mtd_block_op()255 bool has_pages; in dfu_fill_entity_mtd() local266 has_pages = mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH; in dfu_fill_entity_mtd()267 dfu->max_buf_size = has_pages ? mtd->erasesize : 0; in dfu_fill_entity_mtd()
73 bool has_pages = mtd->type == MTD_NANDFLASH || in mtd_dump_device_buf() local78 if (has_pages) { in mtd_dump_device_buf()246 bool dump, read, raw, woob, write_empty_pages, has_pages = false; in do_mtd_io() local264 has_pages = true; in do_mtd_io()270 write_empty_pages = !has_pages || strstr(cmd, ".dontskipff"); in do_mtd_io()317 if (has_pages) in do_mtd_io()327 io_op.len = has_pages ? mtd->writesize : len; in do_mtd_io()
Completed in 4 milliseconds