Searched refs:xfer_mtx (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/usb/ |
H A D | usb_core.h | 54 #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)
|
H A D | usb_transfer.c | 989 void *priv_sc, struct mtx *xfer_mtx) in usbd_transfer_setup() argument 1016 if (xfer_mtx == NULL) { in usbd_transfer_setup() 1018 xfer_mtx = &Giant; in usbd_transfer_setup() 1078 info->xfer_mtx = xfer_mtx; in usbd_transfer_setup() 1082 xfer_mtx, &usb_bdma_done_event, udev->bus->dma_bits, in usbd_transfer_setup() 1110 else if (xfer_mtx == &Giant) in usbd_transfer_setup() 2127 if (xfer->xroot->xfer_mtx != &Giant) { in usbd_transfer_drain() 2149 cv_wait(&xfer->xroot->cv_drain, xfer->xroot->xfer_mtx); in usbd_transfer_drain() 2341 USB_MTX_LOCK(info->xfer_mtx); in usb_callback_proc() 2348 USB_MTX_UNLOCK(info->xfer_mtx); in usb_callback_proc() [all …]
|
H A D | usb_transfer.h | 70 struct mtx *xfer_mtx; /* cannot be changed during operation */ member
|
H A D | usb_busdma.c | 916 USB_MTX_ASSERT(info->xfer_mtx, MA_OWNED); in usb_bdma_work_loop() 1038 USB_MTX_ASSERT(info->xfer_mtx, MA_OWNED); in usb_bdma_done_event()
|
H A D | usb_request.c | 586 xfer->xroot->xfer_mtx, in usbd_do_request_flags() 624 xfer->xroot->xfer_mtx, in usbd_do_request_flags() 642 xfer->xroot->xfer_mtx); in usbd_do_request_flags()
|
/freebsd/stand/usb/ |
H A D | usb_busdma_loader.c | 422 mtx_assert(info->xfer_mtx, MA_OWNED); in usb_bdma_work_loop() 546 mtx_assert(info->xfer_mtx, MA_OWNED); in usb_bdma_done_event()
|