Home
last modified time | relevance | path

Searched refs:USBPacket (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/include/hw/
H A Dusb.h182 typedef struct USBPacket USBPacket; typedef
216 QTAILQ_HEAD(, USBPacket) queue;
291 void (*cancel_packet)(USBDevice *dev, USBPacket *p);
310 void (*handle_control)(USBDevice *dev, USBPacket *p, int request, int value,
320 void (*handle_data)(USBDevice *dev, USBPacket *p);
363 void (*complete)(USBPort *port, USBPacket *p);
378 typedef void USBCallback(USBPacket * packet, void *opaque);
390 struct USBPacket { struct
405 QTAILQ_ENTRY(USBPacket) queue; argument
406 QTAILQ_ENTRY(USBPacket) combined_entry;
[all …]
/openbmc/qemu/hw/usb/
H A Dcombined-packet.c28 static void usb_combined_packet_add(USBCombinedPacket *combined, USBPacket *p) in usb_combined_packet_add()
37 USBPacket *p) in usb_combined_packet_remove()
49 void usb_combined_input_packet_complete(USBDevice *dev, USBPacket *p) in usb_combined_input_packet_complete()
53 USBPacket *next; in usb_combined_input_packet_complete()
103 void usb_combined_packet_cancel(USBDevice *dev, USBPacket *p) in usb_combined_packet_cancel()
107 USBPacket *first = p->combined->first; in usb_combined_packet_cancel()
124 USBPacket *p, *u, *next, *prev = NULL, *first = NULL; in usb_ep_combine_input_packets()
H A Dcore.c129 static void do_token_setup(USBDevice *s, USBPacket *p) in do_token_setup()
181 static void do_token_in(USBDevice *s, USBPacket *p) in do_token_in()
229 static void do_token_out(USBDevice *s, USBPacket *p) in do_token_out()
267 static void do_parameter(USBDevice *s, USBPacket *p) in do_parameter()
318 void usb_generic_async_ctrl_complete(USBDevice *s, USBPacket *p) in usb_generic_async_ctrl_complete()
369 static void usb_process_one(USBPacket *p) in usb_process_one()
410 static void usb_queue_one(USBPacket *p) in usb_queue_one()
420 void usb_handle_packet(USBDevice *dev, USBPacket *p) in usb_handle_packet()
466 void usb_packet_complete_one(USBDevice *dev, USBPacket *p) in usb_packet_complete_one()
486 void usb_packet_complete(USBDevice *dev, USBPacket *p) in usb_packet_complete()
[all …]
H A Dpcap.c75 static int usbmon_status(USBPacket *p) in usbmon_status()
87 static unsigned int usbmon_epnum(USBPacket *p) in usbmon_epnum()
120 static void do_usb_pcap_ctrl(FILE *fp, USBPacket *p, bool setup) in do_usb_pcap_ctrl()
165 static void do_usb_pcap_data(FILE *fp, USBPacket *p, bool setup) in do_usb_pcap_data()
233 void usb_pcap_ctrl(USBPacket *p, bool setup) in usb_pcap_ctrl()
244 void usb_pcap_data(USBPacket *p, bool setup) in usb_pcap_data()
H A Ddev-storage.c182 USBPacket *p = s->packet; in usb_msd_packet_complete()
211 static void usb_msd_copy_data(MSDState *s, USBPacket *p) in usb_msd_copy_data()
229 static void usb_msd_send_status(MSDState *s, USBPacket *p) in usb_msd_send_status()
245 USBPacket *p = s->packet; in usb_msd_transfer_data()
267 USBPacket *p = s->packet; in usb_msd_command_complete()
345 static void usb_msd_handle_control(USBDevice *dev, USBPacket *p, in usb_msd_handle_control()
387 static void usb_msd_cancel_io(USBDevice *dev, USBPacket *p) in usb_msd_cancel_io()
399 static void usb_msd_handle_data(USBDevice *dev, USBPacket *p) in usb_msd_handle_data()
H A Dlibhw.c26 int usb_packet_map(USBPacket *p, QEMUSGList *sgl) in usb_packet_map()
59 void usb_packet_unmap(USBPacket *p, QEMUSGList *sgl) in usb_packet_unmap()
H A Dredirect.c98 USBPacket *pending_async_packet;
138 void (*buffered_bulk_in_complete)(USBRedirDevice *, USBPacket *, uint8_t);
189 static void usbredir_handle_status(USBRedirDevice *dev, USBPacket *p,
377 static void usbredir_cancel_packet(USBDevice *udev, USBPacket *p) in usbredir_cancel_packet()
409 static USBPacket *p; in usbredir_fill_already_in_flight_from_ep()
445 static USBPacket *usbredir_find_packet_by_id(USBRedirDevice *dev, in usbredir_find_packet_by_id()
448 USBPacket *p; in usbredir_find_packet_by_id()
527 static void usbredir_handle_iso_data(USBRedirDevice *dev, USBPacket *p, in usbredir_handle_iso_data()
658 struct buf_packet *bulkp, int count, USBPacket *p, uint8_t ep) in usbredir_buffered_bulk_add_data_to_packet()
670 USBPacket *p, uint8_t ep) in usbredir_buffered_bulk_in_complete_raw()
[all …]
H A Ddev-uas.c127 USBPacket *status2;
132 USBPacket *data3[UAS_MAX_STREAMS + 1];
133 USBPacket *status3[UAS_MAX_STREAMS + 1];
145 USBPacket *data;
362 USBPacket *p; in usb_uas_send_status_bh()
387 USBPacket *p = uas_using_streams(uas) ? in usb_uas_queue_status()
484 USBPacket *p; in usb_uas_complete_data_packet()
651 static void usb_uas_handle_control(USBDevice *dev, USBPacket *p, in usb_uas_handle_control()
665 static void usb_uas_cancel_io(USBDevice *dev, USBPacket *p) in usb_uas_cancel_io()
817 static void usb_uas_handle_data(USBDevice *dev, USBPacket *p) in usb_uas_handle_data()
H A Ddesc.h230 int usb_desc_msos(const USBDesc *desc, USBPacket *p,
240 int usb_desc_get_descriptor(USBDevice *dev, USBPacket *p,
242 int usb_desc_handle_control(USBDevice *dev, USBPacket *p,
H A Du2f.c156 static void u2f_key_handle_control(USBDevice *dev, USBPacket *p, in u2f_key_handle_control()
194 static void u2f_key_recv_from_guest(U2FKeyState *key, USBPacket *p) in u2f_key_recv_from_guest()
238 static void u2f_key_handle_data(USBDevice *dev, USBPacket *p) in u2f_key_handle_data()
H A Dhost-libusb.c128 USBPacket *p;
378 static USBHostRequest *usb_host_req_alloc(USBHostDevice *s, USBPacket *p, in usb_host_req_alloc()
409 static USBHostRequest *usb_host_req_find(USBHostDevice *s, USBPacket *p) in usb_host_req_find()
647 static bool usb_host_iso_data_copy(USBHostIsoXfer *xfer, USBPacket *p) in usb_host_iso_data_copy()
673 static void usb_host_iso_data_in(USBHostDevice *s, USBPacket *p) in usb_host_iso_data_in()
718 static void usb_host_iso_data_out(USBHostDevice *s, USBPacket *p) in usb_host_iso_data_out()
1276 static void usb_host_cancel_packet(USBDevice *udev, USBPacket *p) in usb_host_cancel_packet()
1409 static void usb_host_set_config(USBHostDevice *s, int config, USBPacket *p) in usb_host_set_config()
1435 USBPacket *p) in usb_host_set_interface()
1463 static void usb_host_handle_control(USBDevice *udev, USBPacket *p, in usb_host_handle_control()
[all …]
H A Dhcd-ehci.h226 USBPacket packet;
312 USBPacket ipacket;
H A Ddev-audio.c601 static int streambuf_put(struct streambuf *buf, USBPacket *p, uint32_t channels) in streambuf_put()
814 static void usb_audio_handle_control(USBDevice *dev, USBPacket *p, in usb_audio_handle_control()
894 static void usb_audio_handle_dataout(USBAudioState *s, USBPacket *p) in usb_audio_handle_dataout()
908 static void usb_audio_handle_data(USBDevice *dev, USBPacket *p) in usb_audio_handle_data()
H A Dcanokey.c148 static void canokey_handle_control(USBDevice *dev, USBPacket *p, in canokey_handle_control()
188 static void canokey_handle_data(USBDevice *dev, USBPacket *p) in canokey_handle_data()
H A Dhcd-ohci.h90 USBPacket usb_packet;
H A Ddev-serial.c259 static void usb_serial_handle_control(USBDevice *dev, USBPacket *p, in usb_serial_handle_control()
424 static void usb_serial_token_in(USBSerialState *s, USBPacket *p) in usb_serial_token_in()
479 static void usb_serial_handle_data(USBDevice *dev, USBPacket *p) in usb_serial_handle_data()
H A Ddev-wacom.c316 static void usb_wacom_handle_control(USBDevice *dev, USBPacket *p, in usb_wacom_handle_control()
371 static void usb_wacom_handle_data(USBDevice *dev, USBPacket *p) in usb_wacom_handle_data()
H A Ddev-network.c1064 static void usb_net_handle_control(USBDevice *dev, USBPacket *p, in usb_net_handle_control()
1137 static void usb_net_handle_statusin(USBNetState *s, USBPacket *p) in usb_net_handle_statusin()
1170 static void usb_net_handle_datain(USBNetState *s, USBPacket *p) in usb_net_handle_datain()
1201 static void usb_net_handle_dataout(USBNetState *s, USBPacket *p) in usb_net_handle_dataout()
1241 static void usb_net_handle_data(USBDevice *dev, USBPacket *p) in usb_net_handle_data()
H A Ddev-hub.c325 static void usb_hub_complete(USBPort *port, USBPacket *packet) in usb_hub_complete()
403 static void usb_hub_handle_control(USBDevice *dev, USBPacket *p, in usb_hub_handle_control()
578 static void usb_hub_handle_data(USBDevice *dev, USBPacket *p) in usb_hub_handle_data()
H A Dhcd-dwc2.h46 USBPacket packet;
H A Dbus.c130 void usb_device_cancel_packet(USBDevice *dev, USBPacket *p) in usb_device_cancel_packet()
154 void usb_device_handle_control(USBDevice *dev, USBPacket *p, int request, in usb_device_handle_control()
163 void usb_device_handle_data(USBDevice *dev, USBPacket *p) in usb_device_handle_data()
H A Dxen-usb.c82 USBPacket packet;
226 USBPacket *packet = &usbback_req->packet; in usbback_init_packet()
361 USBPacket *packet = &usbback_req->packet; in usbback_packet_complete()
990 static void xen_bus_complete(USBPort *port, USBPacket *packet) in xen_bus_complete()
H A Ddev-smartcard-reader.c674 static void ccid_handle_control(USBDevice *dev, USBPacket *p, int request, in ccid_handle_control()
982 static void ccid_handle_bulk_out(USBCCIDState *s, USBPacket *p) in ccid_handle_bulk_out()
1075 static void ccid_bulk_in_copy_to_guest(USBCCIDState *s, USBPacket *p, in ccid_bulk_in_copy_to_guest()
1109 static void ccid_handle_data(USBDevice *dev, USBPacket *p) in ccid_handle_data()
H A Ddev-hid.c575 static void usb_hid_handle_control(USBDevice *dev, USBPacket *p, in usb_hid_handle_control()
655 static void usb_hid_handle_data(USBDevice *dev, USBPacket *p) in usb_hid_handle_data()
/openbmc/qemu/include/hw/usb/
H A Dmsd.h37 USBPacket *packet;

12