Home | History | Annotate | Download | only in usb

Lines Matching refs:ux_status

380 	KASSERT(xfer->ux_status == USBD_NOT_STARTED);
513 err = xfer->ux_status;
714 xfer->ux_status = USBD_NOT_STARTED;
733 xfer->ux_status = USBD_NOT_STARTED;
750 xfer->ux_status = USBD_NOT_STARTED;
771 *status = xfer->ux_status;
1063 if (xfer->ux_status == USBD_NOT_STARTED) {
1118 "actlen = %jd", (uintptr_t)pipe, (uintptr_t)xfer, xfer->ux_status,
1133 xfer->ux_status == USBD_TIMEOUT &&
1140 xfer->ux_status = USBD_NORMAL_COMPLETION;
1144 erred = xfer->ux_status == USBD_CANCELLED ||
1145 xfer->ux_status == USBD_TIMEOUT;
1171 if (!xfer->ux_status && xfer->ux_actlen < xfer->ux_length &&
1175 xfer->ux_status = USBD_SHORT_XFER;
1180 SDT_PROBE2(usb, device, xfer, done, xfer, xfer->ux_status);
1194 (uintptr_t)xfer, (uintptr_t)xfer->ux_callback, xfer->ux_status, 0);
1205 xfer->ux_callback(xfer, xfer->ux_priv, xfer->ux_status);
1225 xfer->ux_status = USBD_NOT_STARTED;
1528 * xfer->ux_status and calling usb_transfer_complete. To be used
1547 (uintptr_t)xfer, xfer->ux_status, 0, 0);
1553 if (xfer->ux_status != USBD_IN_PROGRESS)
1563 /* Success! Note: Caller must set xfer->ux_status afterwar. */
1588 (uintptr_t)xfer, xfer->ux_status, 0, 0);
1596 KASSERT(xfer->ux_status != USBD_CANCELLED);
1597 if (xfer->ux_status != USBD_IN_PROGRESS)
1612 xfer->ux_status = USBD_CANCELLED;
1639 (uintptr_t)xfer, xfer->ux_status, 0, 0);
1686 (uintptr_t)xfer, xfer->ux_status, 0, 0);
1715 KASSERT(xfer->ux_status != USBD_TIMEOUT);
1716 if (xfer->ux_status != USBD_IN_PROGRESS) {
1729 xfer->ux_status = USBD_TIMEOUT;
1800 } else if (xfer->ux_status != USBD_IN_PROGRESS) {
1809 (uintptr_t)xfer, xfer->ux_status, 0, 0);
1874 KASSERTMSG(xfer->ux_status == USBD_IN_PROGRESS, "xfer=%p status=%d",
1875 xfer, xfer->ux_status);