Searched refs:residue (Results 1 – 2 of 2) sorted by relevance
174 common->residue = 0; in rkusb_do_reset()202 u16 residue; in rkusb_do_test_unit_ready() local206 residue = 0x03; /* 128KB Max block xfer for SPI Nor */ in rkusb_do_test_unit_ready()208 residue = 0x0a; /* Max block xfer for USB DWC3 */ in rkusb_do_test_unit_ready()210 residue = 0x06; /* Max block xfer support from host */ in rkusb_do_test_unit_ready()212 usb_trb_size = (1 << residue) * 4096; in rkusb_do_test_unit_ready()214 common->residue = residue << 24; in rkusb_do_test_unit_ready()259 common->residue = common->data_size_from_cmnd = len; in rkusb_do_read_flash_id()274 common->residue = common->data_size_from_cmnd = len; in rkusb_do_test_bad_block()340 common->residue = common->data_size_from_cmnd = len; in rkusb_do_read_flash_info()[all …]
320 u32 residue; member790 common->residue -= nread; in do_read()965 common->residue -= nwritten; in do_write()1437 fsg->common->usb_amount_left = nkeep + fsg->common->residue; in pad_with_zeros()1548 } else if (common->residue == 0) { in finish_reply()1579 if (common->residue == 0) { in finish_reply()1654 csw->Residue = cpu_to_le32(common->residue); in send_status()1705 common->residue = common->data_size; in check_command()2074 common->residue -= reply; in do_scsi_command()