Lines Matching refs:total_len
387 static uint32_t nand_dev_read_file(nand_dev *dev, target_ulong data, uint64_t addr, uint32_t total_len)
389 uint32_t len = total_len;
393 NAND_UPDATE_READ_THRESHOLD(total_len);
411 return total_len;
414 static uint32_t nand_dev_write_file(nand_dev *dev, target_ulong data, uint64_t addr, uint32_t total_len)
416 uint32_t len = total_len;
420 NAND_UPDATE_WRITE_THRESHOLD(total_len);
435 return total_len - len;
438 static uint32_t nand_dev_erase_file(nand_dev *dev, uint64_t addr, uint32_t total_len)
440 uint32_t len = total_len;
456 return total_len - len;