Lines Matching refs:sc_bus
210 sc->sc_bus.parent = self; in ohci_pci_attach()
211 sc->sc_bus.devices = sc->sc_devices; in ohci_pci_attach()
212 sc->sc_bus.devices_max = OHCI_MAX_DEVICES; in ohci_pci_attach()
213 sc->sc_bus.dma_bits = 32; in ohci_pci_attach()
216 if (usb_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(self), in ohci_pci_attach()
242 sc->sc_bus.bdev = device_add_child(self, "usbus", DEVICE_UNIT_ANY); in ohci_pci_attach()
243 if (!sc->sc_bus.bdev) { in ohci_pci_attach()
247 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); in ohci_pci_attach()
253 device_set_desc(sc->sc_bus.bdev, ohci_pci_match(self)); in ohci_pci_attach()
305 err = device_probe_and_attach(sc->sc_bus.bdev); in ohci_pci_attach()
355 usb_bus_mem_free_all(&sc->sc_bus, &ohci_iterate_hw_softc); in ohci_pci_detach()