Searched refs:bytes_copied (Results 1 - 5 of 5) sorted by relevance

/fuchsia/zircon/system/dev/serial/ftdi/
H A Dftdi.c168 size_t bytes_copied = 0; local
176 while ((req) && (bytes_copied < len)) {
180 if ( (to_copy + bytes_copied) > len) {
181 to_copy = len - bytes_copied;
184 usb_req_copy_from(&ftdi->usb, req, &buffer[bytes_copied],
187 bytes_copied = bytes_copied + to_copy;
206 *actual = bytes_copied;
/fuchsia/zircon/system/dev/ethernet/rndis/
H A Drndishost.c269 ssize_t bytes_copied = usb_req_copy_to(&eth->usb, req, byte_data, length, local
272 if (bytes_copied < 0) {
273 printf("rndishost: failed to copy data into send txn (error %zd)\n", bytes_copied);
/fuchsia/zircon/system/dev/ethernet/usb-cdc-ecm/
H A Dusb-cdc-ecm.c197 ssize_t bytes_copied = usb_req_copy_to(&ctx->usb, req, data, length, 0); local
198 if (bytes_copied < 0) {
199 zxlogf(ERROR, "%s: failed to copy data into send txn (error %zd)\n", module_name, bytes_copied);
/fuchsia/zircon/system/dev/ethernet/usb-cdc-function/
H A Dcdc-eth-function.c224 ssize_t bytes_copied = usb_function_req_copy_to(&cdc->function, tx_req, byte_data, local
226 if (bytes_copied < 0) {
228 bytes_copied);
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxdc.c450 size_t bytes_copied = usb_request_copyfrom(req, buf + copied, local
453 copied += bytes_copied;
454 inst->cur_req_read_offset += bytes_copied;

Completed in 88 milliseconds