Home
last modified time | relevance | path

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

/qemu/include/hw/
H A Dusb.h180 typedef struct USBPort USBPort; typedef
229 USBPort *port;
351 void (*attach)(USBPort *port);
352 void (*detach)(USBPort *port);
357 void (*child_detach)(USBPort *port, USBDevice *child);
358 void (*wakeup)(USBPort *port);
363 void (*complete)(USBPort *port, USBPacket *p);
367 struct USBPort { struct
375 QTAILQ_ENTRY(USBPort) next; argument
435 USBDevice *usb_find_device(USBPort *port, uint8_t addr);
[all …]
/qemu/hw/usb/
H A Dbus.c319 static void usb_fill_port(USBPort *port, void *opaque, int index, in usb_fill_port()
329 void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, in usb_register_port()
337 void usb_register_companion(const char *masterbus, USBPort *ports[], in usb_register_companion()
369 void usb_port_location(USBPort *downstream, USBPort *upstream, int portnr) in usb_port_location()
383 void usb_unregister_port(USBBus *bus, USBPort *port) in usb_unregister_port()
395 USBPort *port; in usb_claim_port()
441 USBPort *port = dev->port; in usb_release_port()
485 USBPort *port = dev->port; in usb_check_attach()
507 USBPort *port = dev->port; in usb_device_attach()
523 USBPort *port = dev->port; in usb_device_detach()
[all …]
H A Dhcd-xhci.h127 USBPort *uport;
138 USBPort *uport;
213 USBPort uports[MAX_CONST(XHCI_MAXPORTS_2, XHCI_MAXPORTS_3)];
H A Ddev-hub.c40 USBPort port;
227 static void usb_hub_attach(USBPort *port1) in usb_hub_attach()
237 static void usb_hub_detach(USBPort *port1) in usb_hub_detach()
254 static void usb_hub_child_detach(USBPort *port1, USBDevice *child) in usb_hub_child_detach()
262 static void usb_hub_wakeup(USBPort *port1) in usb_hub_wakeup()
272 static void usb_hub_complete(USBPort *port, USBPacket *packet) in usb_hub_complete()
H A Dhcd-ehci.h301 USBPort ports[EHCI_PORTS];
302 USBPort *companion_ports[EHCI_PORTS];
H A Dhcd-ehci.c692 static void ehci_attach(USBPort *port) in ehci_attach()
701 USBPort *companion = s->companion_ports[port->index]; in ehci_attach()
713 static void ehci_detach(USBPort *port) in ehci_detach()
722 USBPort *companion = s->companion_ports[port->index]; in ehci_detach()
742 static void ehci_child_detach(USBPort *port, USBDevice *child) in ehci_child_detach()
748 USBPort *companion = s->companion_ports[port->index]; in ehci_child_detach()
757 static void ehci_wakeup(USBPort *port) in ehci_wakeup()
763 USBPort *companion = s->companion_ports[port->index]; in ehci_wakeup()
779 static void ehci_register_companion(USBBus *bus, USBPort *ports[], in ehci_register_companion()
831 USBPort *port; in ehci_find_device()
[all …]
H A Dcore.c31 void usb_pick_speed(USBPort *port) in usb_pick_speed()
51 void usb_attach(USBPort *port) in usb_attach()
64 void usb_detach(USBPort *port) in usb_detach()
74 void usb_port_reset(USBPort *port) in usb_port_reset()
356 USBDevice *usb_find_device(USBPort *port, uint8_t addr) in usb_find_device()
H A Dxen-usb.c72 USBPort port;
963 static void xen_bus_attach(USBPort *port) in xen_bus_attach()
973 static void xen_bus_detach(USBPort *port) in xen_bus_detach()
982 static void xen_bus_child_detach(USBPort *port, USBDevice *child) in xen_bus_child_detach()
990 static void xen_bus_complete(USBPort *port, USBPacket *packet) in xen_bus_complete()
1019 USBPort *p; in usbback_alloc()
H A Dhcd-uhci.h41 USBPort port;
H A Dhcd-ohci.h33 USBPort port;
H A Dhcd-uhci.c556 static void uhci_attach(USBPort *port1) in uhci_attach()
574 static void uhci_detach(USBPort *port1) in uhci_detach()
595 static void uhci_child_detach(USBPort *port1, USBDevice *child) in uhci_child_detach()
602 static void uhci_wakeup(USBPort *port1) in uhci_wakeup()
880 static void uhci_async_complete(USBPort *port, USBPacket *packet) in uhci_async_complete()
1196 USBPort *ports[UHCI_PORTS]; in usb_uhci_common_realize()
H A Dhcd-dwc2.h170 USBPort uport;
H A Dhcd-ohci.c1776 static void ohci_attach(USBPort *port1) in ohci_attach()
1804 static void ohci_child_detach(USBPort *port1, USBDevice *dev) in ohci_child_detach()
1816 static void ohci_detach(USBPort *port1) in ohci_detach()
1841 static void ohci_wakeup(USBPort *port1) in ohci_wakeup()
1863 static void ohci_async_complete_packet(USBPort *port, USBPacket *packet) in ohci_async_complete_packet()
1917 USBPort *ports[OHCI_MAX_PORTS]; in usb_ohci_init()
H A Dhcd-dwc2.c412 static void dwc2_attach(USBPort *port) in dwc2_attach()
464 static void dwc2_detach(USBPort *port) in dwc2_detach()
479 static void dwc2_child_detach(USBPort *port, USBDevice *child) in dwc2_child_detach()
485 static void dwc2_wakeup(USBPort *port) in dwc2_wakeup()
500 static void dwc2_async_packet_complete(USBPort *port, USBPacket *packet) in dwc2_async_packet_complete()
H A Dcombined-packet.c125 USBPort *port = ep->dev->port; in usb_ep_combine_input_packets()
H A Dhcd-xhci.c533 static XHCIPort *xhci_lookup_port(XHCIState *xhci, struct USBPort *uport) in xhci_lookup_port()
2063 static USBPort *xhci_lookup_uport(XHCIState *xhci, uint32_t *slot_ctx) in xhci_lookup_uport()
2065 USBPort *uport; in xhci_lookup_uport()
2095 USBPort *uport; in xhci_address_slot()
2411 static void xhci_detach_slot(XHCIState *xhci, USBPort *uport) in xhci_detach_slot()
3231 static void xhci_attach(USBPort *usbport) in xhci_attach()
3239 static void xhci_detach(USBPort *usbport) in xhci_detach()
3248 static void xhci_wakeup(USBPort *usbport) in xhci_wakeup()
3261 static void xhci_complete(USBPort *port, USBPacket *packet) in xhci_complete()
3276 static void xhci_child_detach(USBPort *uport, USBDevice *child) in xhci_child_detach()
[all …]