• Home
  • Raw
  • Download

Lines Matching refs:sc_bus

51     ((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()
532 sc->sc_bus.usbrev = USB_REV_3_0; in xhci_init()
535 sc->sc_bus.methods = &xhci_bus_methods; in xhci_init()
538 sc->sc_bus.devices = sc->sc_devices; in xhci_init()
539 sc->sc_bus.devices_max = XHCI_MAX_DEVICES; in xhci_init()
558 device_printf(sc->sc_bus.parent, "Controller does " in xhci_init()
575 sc->sc_bus.dma_bits = (XHCI_HCS0_AC64(temp) && in xhci_init()
579 sc->sc_ctx_is_64_byte ? 64 : 32, (int)sc->sc_bus.dma_bits); in xhci_init()
587 device_printf(sc->sc_bus.parent, "Invalid number " in xhci_init()
607 device_printf(sc->sc_bus.parent, "XHCI request " in xhci_init()
630 if (usb_bus_mem_alloc_all(&sc->sc_bus, in xhci_init()
640 sc->sc_config_msg[0].bus = &sc->sc_bus; in xhci_init()
642 sc->sc_config_msg[1].bus = &sc->sc_bus; in xhci_init()
656 usb_bus_mem_free_all(&sc->sc_bus, &xhci_iterate_hw_softc); in xhci_uninit()
1152 USB_BUS_LOCK(&sc->sc_bus); in xhci_do_command()
1212 err = (usb_error_t)cv_timedwait(&sc->sc_cmd_cv, &sc->sc_bus.bus_mtx, in xhci_do_command()
1251 usb_bus_reset_async_locked(&sc->sc_bus); in xhci_do_command()
1269 USB_BUS_UNLOCK(&sc->sc_bus); in xhci_do_command()
1428 (void)sc->sc_port_route(sc->sc_bus.parent, 0, ~0); in xhci_set_address()
1601 USB_BUS_LOCK(&sc->sc_bus); in xhci_interrupt()
1642 USB_BUS_UNLOCK(&sc->sc_bus); in xhci_interrupt()
1666 USB_BUS_LOCK(&sc->sc_bus); in xhci_do_poll()
1668 USB_BUS_UNLOCK(&sc->sc_bus); in xhci_do_poll()
2076 usb_isoc_time_expand(&temp.sc->sc_bus, x / 8) + in xhci_setup_generic_chain()
2703 pc->tag_parent = sc->sc_bus.dma_parent_tag; in xhci_alloc_device_ext()
2716 pc->tag_parent = sc->sc_bus.dma_parent_tag; in xhci_alloc_device_ext()
2732 pc->tag_parent = sc->sc_bus.dma_parent_tag; in xhci_alloc_device_ext()
2921 (void)usb_proc_msignal(USB_BUS_CONTROL_XFER_PROC(&sc->sc_bus), in xhci_transfer_insert()
3004 USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); in xhci_root_intr()
3020 uhub_root_intr(&sc->sc_bus, sc->sc_hub_idata, in xhci_root_intr()
3270 USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); in xhci_roothub_exec()
3453 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 50); in xhci_roothub_exec()
3626 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 250); in xhci_roothub_exec()
3886 usbd_transfer_enqueue(&sc->sc_bus.intr_q, xfer); in xhci_start_dma_delay()
3888 (void)usb_proc_msignal(USB_BUS_CONTROL_XFER_PROC(&sc->sc_bus), in xhci_start_dma_delay()
3902 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in xhci_configure_msg()
3937 USB_BUS_UNLOCK(&sc->sc_bus); in xhci_configure_msg()
3941 USB_BUS_LOCK(&sc->sc_bus); in xhci_configure_msg()
3965 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in xhci_configure_msg()