/openbmc/qemu/include/hw/ |
H A D | usb.h | 180 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 …]
|
/openbmc/qemu/hw/usb/ |
H A D | bus.c | 320 static void usb_fill_port(USBPort *port, void *opaque, int index, in usb_fill_port() 330 void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, in usb_register_port() 338 void usb_register_companion(const char *masterbus, USBPort *ports[], in usb_register_companion() 370 void usb_port_location(USBPort *downstream, USBPort *upstream, int portnr) in usb_port_location() 384 void usb_unregister_port(USBBus *bus, USBPort *port) in usb_unregister_port() 396 USBPort *port; in usb_claim_port() 442 USBPort *port = dev->port; in usb_release_port() 486 USBPort *port = dev->port; in usb_check_attach() 508 USBPort *port = dev->port; in usb_device_attach() 524 USBPort *port = dev->port; in usb_device_detach() [all …]
|
H A D | hcd-xhci.h | 127 USBPort *uport; 138 USBPort *uport; 208 USBPort uports[MAX_CONST(XHCI_MAXPORTS_2, XHCI_MAXPORTS_3)];
|
H A D | dev-hub.c | 40 USBPort port; 280 static void usb_hub_attach(USBPort *port1) in usb_hub_attach() 290 static void usb_hub_detach(USBPort *port1) in usb_hub_detach() 307 static void usb_hub_child_detach(USBPort *port1, USBDevice *child) in usb_hub_child_detach() 315 static void usb_hub_wakeup(USBPort *port1) in usb_hub_wakeup() 325 static void usb_hub_complete(USBPort *port, USBPacket *packet) in usb_hub_complete()
|
H A D | hcd-ehci.h | 301 USBPort ports[EHCI_PORTS]; 302 USBPort *companion_ports[EHCI_PORTS];
|
H A D | core.c | 31 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 D | hcd-ehci.c | 692 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 D | hcd-uhci.h | 42 USBPort port;
|
H A D | xen-usb.c | 72 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 D | hcd-uhci.c | 547 static void uhci_attach(USBPort *port1) in uhci_attach() 565 static void uhci_detach(USBPort *port1) in uhci_detach() 586 static void uhci_child_detach(USBPort *port1, USBDevice *child) in uhci_child_detach() 593 static void uhci_wakeup(USBPort *port1) in uhci_wakeup() 883 static void uhci_async_complete(USBPort *port, USBPacket *packet) in uhci_async_complete() 1190 USBPort *ports[UHCI_PORTS]; in usb_uhci_init()
|
H A D | hcd-ohci.h | 33 USBPort port;
|
H A D | hcd-dwc2.h | 170 USBPort uport;
|
H A D | hcd-ohci.c | 1776 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 D | hcd-dwc2.c | 412 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 D | combined-packet.c | 125 USBPort *port = ep->dev->port; in usb_ep_combine_input_packets()
|
H A D | hcd-xhci.c | 533 static XHCIPort *xhci_lookup_port(XHCIState *xhci, struct USBPort *uport) in xhci_lookup_port() 2057 static USBPort *xhci_lookup_uport(XHCIState *xhci, uint32_t *slot_ctx) in xhci_lookup_uport() 2059 USBPort *uport; in xhci_lookup_uport() 2089 USBPort *uport; in xhci_address_slot() 2405 static void xhci_detach_slot(XHCIState *xhci, USBPort *uport) in xhci_detach_slot() 3206 static void xhci_attach(USBPort *usbport) in xhci_attach() 3214 static void xhci_detach(USBPort *usbport) in xhci_detach() 3223 static void xhci_wakeup(USBPort *usbport) in xhci_wakeup() 3236 static void xhci_complete(USBPort *port, USBPacket *packet) in xhci_complete() 3251 static void xhci_child_detach(USBPort *uport, USBDevice *child) in xhci_child_detach() [all …]
|