Home
last modified time | relevance | path

Searched refs:usb_packet_copy (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dcore.c139 usb_packet_copy(p, s->setup_buf, p->iov.size); in do_token_setup()
212 usb_packet_copy(p, s->data_buf + s->setup_index, len); in do_token_in()
250 usb_packet_copy(p, s->data_buf + s->setup_index, len); in do_token_out()
294 usb_packet_copy(p, s->data_buf, s->setup_len); in do_parameter()
309 usb_packet_copy(p, s->data_buf, s->setup_len); in do_parameter()
346 usb_packet_copy(p, s->data_buf, s->setup_len); in usb_generic_async_ctrl_complete()
607 void usb_packet_copy(USBPacket *p, void *ptr, size_t bytes) in usb_packet_copy() function
H A Ddev-serial.c442 usb_packet_copy(p, header, 2); in usb_serial_token_in()
466 usb_packet_copy(p, header, 2); in usb_serial_token_in()
467 usb_packet_copy(p, s->recv_buf + s->recv_ptr, first_len); in usb_serial_token_in()
469 usb_packet_copy(p, s->recv_buf, len - first_len); in usb_serial_token_in()
H A Du2f.c203 usb_packet_copy(p, packet, p->iov.size); in u2f_key_recv_from_guest()
259 usb_packet_copy(p, packet_in, U2FHID_PACKET_SIZE); in u2f_key_handle_data()
H A Dcanokey.c200 usb_packet_copy(p, key->ep_out_buffer[ep_out], p->iov.size); in canokey_handle_data()
251 usb_packet_copy(p, in canokey_handle_data()
H A Ddev-mtp.c1801 usb_packet_copy(p, d->data + d->data_offset, dlen); in usb_mtp_get_data()
1815 usb_packet_copy(p, d->data + d->data_offset, dlen); in usb_mtp_get_data()
1879 usb_packet_copy(p, &container, sizeof(container)); in usb_mtp_handle_data()
1890 usb_packet_copy(p, d->data + d->offset, dlen); in usb_mtp_handle_data()
1901 usb_packet_copy(p, d->data, dlen); in usb_mtp_handle_data()
1927 usb_packet_copy(p, &container, sizeof(container)); in usb_mtp_handle_data()
1928 usb_packet_copy(p, &params, length - sizeof(container)); in usb_mtp_handle_data()
1942 usb_packet_copy(p, &container, sizeof(container)); in usb_mtp_handle_data()
1964 usb_packet_copy(p, &params, cmd.argc * sizeof(uint32_t)); in usb_mtp_handle_data()
2010 usb_packet_copy(p, &container, sizeof(container)); in usb_mtp_handle_data()
[all …]
H A Ddev-storage.c217 usb_packet_copy(p, scsi_req_get_buf(s->req) + s->scsi_off, len); in usb_msd_copy_data()
238 usb_packet_copy(p, &s->csw, len); in usb_msd_send_status()
424 usb_packet_copy(p, &cbw, 31); in usb_msd_handle_data()
H A Ddev-uas.c376 usb_packet_copy(p, &st->status, st->length); in usb_uas_send_status_bh()
505 usb_packet_copy(req->data, scsi_req_get_buf(req->req) + req->buf_off, in usb_uas_copy_data()
828 usb_packet_copy(p, &iu, length); in usb_uas_handle_data()
868 usb_packet_copy(p, &st->status, st->length); in usb_uas_handle_data()
H A Ddev-network.c1150 usb_packet_copy(p, rbuf, 8); in usb_net_handle_statusin()
1160 usb_packet_copy(p, ebuf, 8); in usb_net_handle_statusin()
1187 usb_packet_copy(p, &s->in_buf[s->in_ptr], len); in usb_net_handle_datain()
1216 usb_packet_copy(p, &s->out_buf[s->out_ptr], sz); in usb_net_handle_dataout()
H A Dredirect.c612 usb_packet_copy(p, isop->data, len); in usbredir_handle_iso_data()
625 usb_packet_copy(p, buf, p->iov.size); in usbredir_handle_iso_data()
660 usb_packet_copy(p, bulkp->data + bulkp->offset, count); in usbredir_buffered_bulk_add_data_to_packet()
702 usb_packet_copy(p, bulkp->data, 2); in usbredir_buffered_bulk_in_complete_ftdi()
822 usb_packet_copy(p, buf, size); in usbredir_handle_bulk_data()
900 usb_packet_copy(p, intp->data, len); in usbredir_handle_interrupt_in_data()
934 usb_packet_copy(p, buf, p->iov.size); in usbredir_handle_interrupt_out_data()
2061 usb_packet_copy(p, data, data_len); in usbredir_bulk_packet()
H A Ddev-wacom.c389 usb_packet_copy(p, buf, len); in usb_wacom_handle_data()
H A Ddev-smartcard-reader.c989 usb_packet_copy(p, s->bulk_out_data + s->bulk_out_pos, p->iov.size); in ccid_handle_bulk_out()
1085 usb_packet_copy(p, s->current_bulk_in->data + in ccid_bulk_in_copy_to_guest()
1129 usb_packet_copy(p, buf, 2); in ccid_handle_data()
H A Dhost-libusb.c483 usb_packet_copy(r->p, r->buffer, xfer->actual_length); in usb_host_req_complete_data()
667 usb_packet_copy(p, buf, psize); in usb_host_iso_data_copy()
1570 usb_packet_copy(p, r->buffer, size); in usb_host_handle_data()
1594 usb_packet_copy(p, r->buffer, p->iov.size); in usb_host_handle_data()
H A Ddev-hid.c678 usb_packet_copy(p, buf, len); in usb_hid_handle_data()
H A Ddev-hub.c554 usb_packet_copy(p, buf, n); in usb_hub_handle_data()
H A Ddev-audio.c614 usb_packet_copy(p, buf->data + (buf->prod % buf->size), in streambuf_put()
/openbmc/qemu/include/hw/
H A Dusb.h424 void usb_packet_copy(USBPacket *p, void *ptr, size_t bytes);