Home
last modified time | relevance | path

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

/openbmc/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 …]
/openbmc/qemu/hw/usb/
H A Dbus.c320 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 Dhcd-xhci.h127 USBPort *uport;
138 USBPort *uport;
208 USBPort uports[MAX_CONST(XHCI_MAXPORTS_2, XHCI_MAXPORTS_3)];
H A Ddev-hub.c40 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 Dhcd-ehci.h301 USBPort ports[EHCI_PORTS];
302 USBPort *companion_ports[EHCI_PORTS];
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 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 Dhcd-uhci.h42 USBPort port;
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.c547 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 Dhcd-ohci.h33 USBPort port;
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()
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 …]