Home
last modified time | relevance | path

Searched refs:residue (Results 1 – 4 of 4) sorted by relevance

/u-boot/common/
A Davb_verify.c396 u64 start_offset, start_sector, sectors, residue; in mmc_byte_io() local
419 residue = part->info.blksz - in mmc_byte_io()
421 if (residue > num_bytes) in mmc_byte_io()
422 residue = num_bytes; in mmc_byte_io()
424 residue = num_bytes; in mmc_byte_io()
443 memcpy(buffer, (void *)tmp_buf, residue); in mmc_byte_io()
457 buffer, residue); in mmc_byte_io()
468 io_cnt += residue; in mmc_byte_io()
469 buffer += residue; in mmc_byte_io()
470 start_offset += residue; in mmc_byte_io()
[all …]
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h102 __le32 residue; /* Amount not transferred */ member
/u-boot/drivers/usb/gadget/
A Df_rockusb.c104 static int rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size);
378 debug("csw: residue:%x\n", csw->residue); in printcsw()
383 static int rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size) in rockusb_tx_write_csw() argument
389 csw->residue = cpu_to_be32(residue); in rockusb_tx_write_csw()
A Df_mass_storage.c321 u32 residue; member
789 common->residue -= nread; in do_read()
963 common->residue -= nwritten; in do_write()
1431 fsg->common->usb_amount_left = nkeep + fsg->common->residue; in pad_with_zeros()
1540 } else if (common->residue == 0) { in finish_reply()
1571 if (common->residue == 0) { in finish_reply()
1646 csw->Residue = cpu_to_le32(common->residue); in send_status()
1694 common->residue = common->data_size; in check_command()
2042 common->residue -= reply; in do_scsi_command()

Completed in 11 milliseconds