Home
last modified time | relevance | path

Searched refs:sc_bus (Results 1 – 6 of 6) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/controller/
Dehci_pci.c98 sc->sc_bus.parent = self; in ehci_pci_attach()
99 sc->sc_bus.devices = sc->sc_devices; in ehci_pci_attach()
100 sc->sc_bus.devices_max = EHCI_MAX_DEVICES; in ehci_pci_attach()
101 sc->sc_bus.dma_bits = 32; in ehci_pci_attach()
102 sc->sc_bus.dma_parent_tag[0].dma_bits = 32; in ehci_pci_attach()
105 if (usb_bus_mem_alloc_all(&sc->sc_bus, in ehci_pci_attach()
131 sc->sc_bus.bdev = device_add_child(self, "usbus", -1); in ehci_pci_attach()
132 if (!sc->sc_bus.bdev) { in ehci_pci_attach()
136 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); in ehci_pci_attach()
142 device_set_desc(sc->sc_bus.bdev, ehci_pci_match(self)); in ehci_pci_attach()
[all …]
Dxhci_pci.c125 callout_init_mtx(&sc->sc_callout, &sc->sc_bus.bus_mtx, 0); in xhci_pci_attach()
128 sc->sc_bus.bdev = device_add_child(self, "usbus", -1); in xhci_pci_attach()
129 if (sc->sc_bus.bdev == NULL) { in xhci_pci_attach()
133 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); in xhci_pci_attach()
143 err = device_probe_and_attach(sc->sc_bus.bdev); in xhci_pci_attach()
218 device_printf(sc->sc_bus.bdev, "waiting for BIOS " in xhci_pci_take_controller()
230 device_printf(sc->sc_bus.bdev, in xhci_pci_take_controller()
Dxhci.c51 ((uint8_t *)&(((struct xhci_softc *)0)->sc_bus))))
272 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 4); in xhci_reset_command_queue_locked()
336 device_printf(sc->sc_bus.parent, "Controller " in xhci_start_controller()
435 usb_bus_mem_flush_all(&sc->sc_bus, &xhci_iterate_hw_softc); in xhci_start_controller()
449 device_printf(sc->sc_bus.parent, "Run timeout.\n"); in xhci_start_controller()
454 xhci_do_poll(&sc->sc_bus); in xhci_start_controller()
458 (void)sc->sc_port_route(sc->sc_bus.parent, in xhci_start_controller()
488 device_printf(sc->sc_bus.parent, "Controller halt timeout.\n"); in xhci_halt_controller()
514 device_printf(sc->sc_bus.parent, "Controller " in xhci_reset_controller()
529 sc->sc_bus.parent = self; in xhci_init()
[all …]
Dehci.c51 ((uint8_t *)&(((ehci_softc_t *)0)->sc_bus))))
159 device_printf(sc->sc_bus.bdev, "Reset timeout\n"); in ehci_reset()
182 device_printf(sc->sc_bus.bdev, "stop timeout\n"); in ehci_hcreset()
234 device_printf(sc->sc_bus.bdev, "run timeout\n"); in ehci_init_sub()
257 callout_init_mtx(&sc->sc_tmo_pcd, &sc->sc_bus.bus_mtx, 0); in ehci_init()
258 callout_init_mtx(&sc->sc_tmo_poll, &sc->sc_bus.bus_mtx, 0); in ehci_init()
273 device_printf(sc->sc_bus.bdev, "EHCI version %x.%x\n", in ehci_init()
280 sc->sc_bus.usbrev = USB_REV_2_0; in ehci_init()
284 device_get_nameunit(sc->sc_bus.bdev)); in ehci_init()
287 device_printf(sc->sc_bus.bdev, "reset timeout\n"); in ehci_init()
[all …]
Dxhci.h465 struct usb_bus sc_bus; member
Dehci.h323 struct usb_bus sc_bus; /* base device */ member