Lines Matching full:ohci
2 * QEMU USB OHCI Emulation
31 #include "hcd-ohci.h"
34 #define TYPE_PCI_OHCI "pci-ohci"
49 * A typical PCI OHCI will additionally set PERR in its configspace to
52 static void ohci_pci_die(struct OHCIState *ohci) in ohci_pci_die() argument
54 OHCIPCIState *dev = container_of(ohci, OHCIPCIState, state); in ohci_pci_die()
56 ohci_sysbus_die(ohci); in ohci_pci_die()
65 OHCIPCIState *ohci = PCI_OHCI(dev); in usb_ohci_realize_pci() local
67 dev->config[PCI_CLASS_PROG] = 0x10; /* OHCI */ in usb_ohci_realize_pci()
70 usb_ohci_init(&ohci->state, DEVICE(dev), ohci->num_ports, 0, in usb_ohci_realize_pci()
71 ohci->masterbus, ohci->firstport, in usb_ohci_realize_pci()
78 ohci->state.irq = pci_allocate_irq(dev); in usb_ohci_realize_pci()
79 pci_register_bar(dev, 0, 0, &ohci->state.mem); in usb_ohci_realize_pci()
84 OHCIPCIState *ohci = PCI_OHCI(dev); in usb_ohci_exit() local
85 OHCIState *s = &ohci->state; in usb_ohci_exit()
96 if (!ohci->masterbus) { in usb_ohci_exit()
106 OHCIPCIState *ohci = PCI_OHCI(dev); in usb_ohci_reset_pci() local
107 OHCIState *s = &ohci->state; in usb_ohci_reset_pci()
120 .name = "ohci",