Lines Matching refs:ohci
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
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()