Home
last modified time | relevance | path

Searched refs:port1 (Results 1 – 3 of 3) sorted by relevance

/qemu/hw/usb/
H A Ddev-hub.c227 static void usb_hub_attach(USBPort *port1) in usb_hub_attach() argument
229 USBHubState *s = port1->opaque; in usb_hub_attach()
230 USBHubPort *port = &s->ports[port1->index]; in usb_hub_attach()
232 trace_usb_hub_attach(s->dev.addr, port1->index + 1); in usb_hub_attach()
237 static void usb_hub_detach(USBPort *port1) in usb_hub_detach() argument
239 USBHubState *s = port1->opaque; in usb_hub_detach()
240 USBHubPort *port = &s->ports[port1->index]; in usb_hub_detach()
256 USBHubState *s = port1->opaque; in usb_hub_child_detach()
262 static void usb_hub_wakeup(USBPort *port1) in usb_hub_wakeup() argument
264 USBHubState *s = port1->opaque; in usb_hub_wakeup()
[all …]
H A Dhcd-ohci.c1776 static void ohci_attach(USBPort *port1) in ohci_attach() argument
1778 OHCIState *s = port1->opaque; in ohci_attach()
1779 OHCIPort *port = &s->rhport[port1->index]; in ohci_attach()
1797 trace_usb_ohci_port_attach(port1->index); in ohci_attach()
1806 OHCIState *ohci = port1->opaque; in ohci_child_detach()
1816 static void ohci_detach(USBPort *port1) in ohci_detach() argument
1818 OHCIState *s = port1->opaque; in ohci_detach()
1822 ohci_child_detach(port1, port1->dev); in ohci_detach()
1834 trace_usb_ohci_port_detach(port1->index); in ohci_detach()
1841 static void ohci_wakeup(USBPort *port1) in ohci_wakeup() argument
[all …]
H A Dhcd-uhci.c550 static void uhci_attach(USBPort *port1) in uhci_attach() argument
552 UHCIState *s = port1->opaque; in uhci_attach()
553 UHCIPort *port = &s->ports[port1->index]; in uhci_attach()
568 static void uhci_detach(USBPort *port1) in uhci_detach() argument
570 UHCIState *s = port1->opaque; in uhci_detach()
571 UHCIPort *port = &s->ports[port1->index]; in uhci_detach()
573 uhci_async_cancel_device(s, port1->dev); in uhci_detach()
591 UHCIState *s = port1->opaque; in uhci_child_detach()
596 static void uhci_wakeup(USBPort *port1) in uhci_wakeup() argument
598 UHCIState *s = port1->opaque; in uhci_wakeup()
[all …]