Lines Matching refs:sc_bus
51 ((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()
297 device_printf(sc->sc_bus.bdev, "invalid frame-list-size\n"); in ehci_init()
301 sc->sc_bus.methods = &ehci_bus_methods; in ehci_init()
476 usb_bus_mem_flush_all(&sc->sc_bus, &ehci_iterate_hw_softc); in ehci_init()
489 ehci_do_poll(&sc->sc_bus); in ehci_init()
500 USB_BUS_LOCK(&sc->sc_bus); in ehci_detach()
506 USB_BUS_UNLOCK(&sc->sc_bus); in ehci_detach()
538 ehci_do_poll(&sc->sc_bus); in ehci_resume()
1339 USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); in ehci_pcd_enable()
1356 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ehci_interrupt_poll()
1401 USB_BUS_LOCK(&sc->sc_bus); in ehci_interrupt()
1459 USB_BUS_UNLOCK(&sc->sc_bus); in ehci_interrupt()
1483 USB_BUS_LOCK(&sc->sc_bus); in ehci_do_poll()
1485 USB_BUS_UNLOCK(&sc->sc_bus); in ehci_do_poll()
1977 USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); in ehci_root_intr()
1994 uhub_root_intr(&sc->sc_bus, sc->sc_hub_idata, in ehci_root_intr()
2131 USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); in ehci_device_done()
2475 usb_isoc_time_expand(&sc->sc_bus, nframes) + in ehci_device_isoc_fs_enter()
2786 usb_isoc_time_expand(&sc->sc_bus, nframes) + buf_offset +
3070 USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED);
3225 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 50);
3231 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 250);
3309 device_printf(sc->sc_bus.bdev,
3378 usb_pause_mtx(&sc->sc_bus.bus_mtx,
3386 usb_pause_mtx(&sc->sc_bus.bus_mtx,
3392 device_printf(sc->sc_bus.bdev,
3799 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) {
3833 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) {