Home
last modified time | relevance | path

Searched refs:xfer_mtx (Results 1 – 5 of 5) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_core.h54 #define USB_XFER_LOCK(_x) USB_MTX_LOCK((_x)->xroot->xfer_mtx)
55 #define USB_XFER_UNLOCK(_x) USB_MTX_UNLOCK((_x)->xroot->xfer_mtx)
56 #define USB_XFER_LOCK_ASSERT(_x, _t) USB_MTX_ASSERT((_x)->xroot->xfer_mtx, _t)
Dusb_transfer.c859 void *priv_sc, struct mtx *xfer_mtx) in usbd_transfer_setup() argument
886 if (xfer_mtx == NULL) { in usbd_transfer_setup()
888 xfer_mtx = &Giant; in usbd_transfer_setup()
948 info->xfer_mtx = xfer_mtx; in usbd_transfer_setup()
952 xfer_mtx, &usb_bdma_done_event, udev->bus->dma_bits, parm->dma_tag_max); in usbd_transfer_setup()
979 else if (xfer_mtx == &Giant) in usbd_transfer_setup()
1996 if (xfer->xroot->xfer_mtx != &Giant) { in usbd_transfer_drain()
2018 (void)cv_wait(&xfer->xroot->cv_drain, xfer->xroot->xfer_mtx); in usbd_transfer_drain()
2210 USB_MTX_LOCK(info->xfer_mtx); in usb_callback_proc()
2217 USB_MTX_UNLOCK(info->xfer_mtx); in usb_callback_proc()
[all …]
Dusb_transfer.h72 struct mtx *xfer_mtx; /* cannot be changed during operation */ member
Dusb_request.c553 xfer->xroot->xfer_mtx, in usbd_do_request_flags()
591 xfer->xroot->xfer_mtx, in usbd_do_request_flags()
609 xfer->xroot->xfer_mtx); in usbd_do_request_flags()
/third_party/FreeBSD/stand/usb/
Dusb_busdma_loader.c484 mtx_assert(info->xfer_mtx, MA_OWNED); in usb_bdma_work_loop()
608 mtx_assert(info->xfer_mtx, MA_OWNED); in usb_bdma_done_event()