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.c760 &bus->bus_mtx, "USB_GIANT_Task", USB_PRI_MED)) { in usb_attach_sub()
764 &bus->bus_mtx, "USB_NGIAN_ISOC_Task", USB_PRI_HIGHEST)) { in usb_attach_sub()
768 &bus->bus_mtx, "USB_NGIAN_BULK_Task", USB_PRI_HIGH)) { in usb_attach_sub()
772 &bus->bus_mtx, "USB_EXPLR_Task", USB_PRI_MED)) { in usb_attach_sub()
776 &bus->bus_mtx, "USB_CXFER_Task", USB_PRI_MED)) { in usb_attach_sub()
850 mtx_init(&bus->bus_mtx, device_get_nameunit(bus->parent), in usb_bus_mem_alloc_all()
857 &bus->bus_mtx, 0); in usb_bus_mem_alloc_all()
863 dmat, &bus->bus_mtx, NULL, bus->dma_bits, USB_BUS_DMA_TAG_MAX); in usb_bus_mem_alloc_all()
908 mtx_destroy(&bus->bus_mtx); in usb_bus_mem_free_all()
Dxhci_pci.c125 callout_init_mtx(&sc->sc_callout, &sc->sc_bus.bus_mtx, 0); in xhci_pci_attach()
Dehci.c257 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()
3225 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 50);
3231 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 250);
3378 usb_pause_mtx(&sc->sc_bus.bus_mtx,
3386 usb_pause_mtx(&sc->sc_bus.bus_mtx,
Dxhci.c272 usb_pause_mtx(&sc->sc_bus.bus_mtx, hz / 4); in xhci_reset_command_queue_locked()
1212 err = (usb_error_t)cv_timedwait(&sc->sc_cmd_cv, &sc->sc_bus.bus_mtx, in xhci_do_command()
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()
/third_party/FreeBSD/sys/dev/usb/
Dusb_core.h46 #define USB_BUS_LOCK(_b) (void)mtx_lock(&(_b)->bus_mtx)
47 #define USB_BUS_UNLOCK(_b) (void)mtx_unlock(&(_b)->bus_mtx)
49 #define USB_BUS_LOCK_ASSERT(_b, _t) mtx_assert(&(_b)->bus_mtx, _t)
Dusb_bus.h89 struct mtx bus_mtx; member
Dusb_transfer.c1063 &udev->bus->bus_mtx, 0); in usbd_transfer_setup()
1270 usb_pause_mtx(&info->bus->bus_mtx, in usbd_transfer_unsetup_sub()
3304 while (mtx_owned(&xroot->udev->bus->bus_mtx) && !SCHEDULER_STOPPED()) { in usbd_transfer_poll()
3305 mtx_unlock(&xroot->udev->bus->bus_mtx); in usbd_transfer_poll()
3352 mtx_lock(&xroot->udev->bus->bus_mtx); in usbd_transfer_poll()
Dusb_hub.c2365 if (mtx_owned(&bus->bus_mtx)) { in usb_needs_explore_sub()