Home
last modified time | relevance | path

Searched refs:bus_mtx (Results 1 – 8 of 8) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/controller/
Dusb_controller.c758 &bus->bus_mtx, "USB_GIANT_Task", USB_PRI_MED)) { in usb_attach_sub()
762 &bus->bus_mtx, "USB_NGIAN_ISOC_Task", USB_PRI_HIGHEST)) { in usb_attach_sub()
766 &bus->bus_mtx, "USB_NGIAN_BULK_Task", USB_PRI_HIGH)) { in usb_attach_sub()
770 &bus->bus_mtx, "USB_EXPLR_Task", USB_PRI_MED)) { in usb_attach_sub()
774 &bus->bus_mtx, "USB_CXFER_Task", USB_PRI_MED)) { in usb_attach_sub()
848 mtx_init(&bus->bus_mtx, device_get_nameunit(bus->parent), in usb_bus_mem_alloc_all()
855 &bus->bus_mtx, 0); in usb_bus_mem_alloc_all()
861 dmat, &bus->bus_mtx, NULL, bus->dma_bits, USB_BUS_DMA_TAG_MAX); in usb_bus_mem_alloc_all()
906 mtx_destroy(&bus->bus_mtx); in usb_bus_mem_free_all()
Dxhci_pci.c127 usb_callout_init_mtx(&sc->sc_callout, &sc->sc_bus.bus_mtx, 0); in xhci_pci_attach()
Dehci.c256 callout_init_mtx(&sc->sc_tmo_pcd, &sc->sc_bus.bus_mtx, 0); in ehci_init()
257 callout_init_mtx(&sc->sc_tmo_poll, &sc->sc_bus.bus_mtx, 0); in ehci_init()
3198 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 50);
3204 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 250);
3351 usb_pause_mtx(&sc->sc_bus.bus_mtx,
3359 usb_pause_mtx(&sc->sc_bus.bus_mtx,
Dxhci.c271 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 4); in xhci_reset_command_queue_locked()
1205 err = (usb_error_t)cv_timedwait(&sc->sc_cmd_cv, &sc->sc_bus.bus_mtx, in xhci_do_command()
3428 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 50); in xhci_roothub_exec()
3600 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 250); in xhci_roothub_exec()
/third_party/FreeBSD/sys/dev/usb/
Dusb_core.h44 #define USB_BUS_LOCK(_b) USB_MTX_LOCK(&(_b)->bus_mtx)
45 #define USB_BUS_UNLOCK(_b) USB_MTX_UNLOCK(&(_b)->bus_mtx)
46 #define USB_BUS_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_mtx, _t)
Dusb_bus.h88 struct mtx bus_mtx; member
Dusb_transfer.c1045 &udev->bus->bus_mtx, 0); in usbd_transfer_setup()
1252 usb_pause_mtx(&info->bus->bus_mtx, in usbd_transfer_unsetup_sub()
3272 while (mtx_owned(&xroot->udev->bus->bus_mtx) && !SCHEDULER_STOPPED()) { in usbd_transfer_poll()
3273 mtx_unlock(&xroot->udev->bus->bus_mtx); in usbd_transfer_poll()
3319 mtx_lock(&xroot->udev->bus->bus_mtx); in usbd_transfer_poll()
Dusb_hub.c2356 if (mtx_owned(&bus->bus_mtx)) { in usb_needs_explore_sub()