Searched refs:xfer_mtx (Results 1 – 5 of 5) sorted by relevance
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_core.h | 53 #define USB_XFER_LOCK(_x) (void)mtx_lock((_x)->xroot->xfer_mtx) 54 #define USB_XFER_UNLOCK(_x) (void)mtx_unlock((_x)->xroot->xfer_mtx) 55 #define USB_XFER_LOCK_ASSERT(_x, _t) mtx_assert((_x)->xroot->xfer_mtx, _t)
|
D | usb_transfer.c | 857 void *priv_sc, struct mtx *xfer_mtx) in usbd_transfer_setup() argument 884 if (xfer_mtx == NULL) { in usbd_transfer_setup() 886 xfer_mtx = &Giant; in usbd_transfer_setup() 946 info->xfer_mtx = xfer_mtx; in usbd_transfer_setup() 950 xfer_mtx, &usb_bdma_done_event, udev->bus->dma_bits, parm->dma_tag_max); in usbd_transfer_setup() 977 else if (xfer_mtx == &Giant) in usbd_transfer_setup() 1994 if (xfer->xroot->xfer_mtx != &Giant) { in usbd_transfer_drain() 2016 (void)cv_wait(&xfer->xroot->cv_drain, xfer->xroot->xfer_mtx); in usbd_transfer_drain() 2208 USB_MTX_LOCK(info->xfer_mtx); in usb_callback_proc() 2215 USB_MTX_UNLOCK(info->xfer_mtx); in usb_callback_proc() [all …]
|
D | usb_transfer.h | 73 struct mtx *xfer_mtx; /* cannot be changed during operation */ member
|
D | usb_request.c | 544 xfer->xroot->xfer_mtx, in usbd_do_request_flags() 582 xfer->xroot->xfer_mtx, in usbd_do_request_flags() 600 xfer->xroot->xfer_mtx); in usbd_do_request_flags()
|
/third_party/FreeBSD/stand/usb/ |
D | usb_busdma_loader.c | 485 mtx_assert(info->xfer_mtx, MA_OWNED); in usb_bdma_work_loop() 609 mtx_assert(info->xfer_mtx, MA_OWNED); in usb_bdma_done_event()
|