USBD_IN_PROGRESS
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
if (xfer->ux_status == USBD_IN_PROGRESS) {
USBD_IN_PROGRESS);
if (spipe->xfer->ux_status == USBD_IN_PROGRESS) {
} while (xfer->ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
spipe, xfer, return USBD_IN_PROGRESS);
return USBD_IN_PROGRESS;
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
if (xfer->ux_status != USBD_IN_PROGRESS)
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
if (__predict_false(error != USBD_IN_PROGRESS && error != 0))
if (__predict_false(error != USBD_IN_PROGRESS && error != 0)) {
if (error != 0 && error != USBD_IN_PROGRESS)
if (err != USBD_IN_PROGRESS) {
if (error != 0 && error != USBD_IN_PROGRESS)
if (error != 0 && error != USBD_IN_PROGRESS)
if (error != 0 && error != USBD_IN_PROGRESS) {
if (error != 0 && error != USBD_IN_PROGRESS)
if (err != USBD_IN_PROGRESS) {
if (error != USBD_IN_PROGRESS && error != 0) {
error != USBD_IN_PROGRESS)) {
error != USBD_IN_PROGRESS) {
if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS)
error != USBD_IN_PROGRESS) {
status != USBD_IN_PROGRESS)
if (__predict_false(status != USBD_IN_PROGRESS &&
status != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
error != USBD_IN_PROGRESS) {
if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS) {
if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS) {
if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS)
if (error != USBD_IN_PROGRESS && error != 0) {
if (error != USBD_IN_PROGRESS && error != USBD_NORMAL_COMPLETION) {
error != USBD_IN_PROGRESS)) {
error != USBD_IN_PROGRESS))
if (error != USBD_IN_PROGRESS && error != 0) {
if (error != USBD_IN_PROGRESS && error != 0) {
if (error != USBD_IN_PROGRESS && error != 0) {
if (uerror != USBD_IN_PROGRESS && uerror != 0) {
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
err = USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
return USBD_IN_PROGRESS;
usbd_status new_status = USBD_IN_PROGRESS;
if (xfer == NULL || xfer->ux_status != USBD_IN_PROGRESS)
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(new_status != USBD_IN_PROGRESS);
usbd_status new_status = USBD_IN_PROGRESS;
if (xfer == NULL || xfer->ux_status != USBD_IN_PROGRESS)
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(new_status != USBD_IN_PROGRESS);
err = USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
return USBD_IN_PROGRESS;
usbd_status new_status = USBD_IN_PROGRESS;
if (xfer == NULL || xfer->ux_status != USBD_IN_PROGRESS) {
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(new_status != USBD_IN_PROGRESS);
usbd_status new_status = USBD_IN_PROGRESS;
if (xfer == NULL || xfer->ux_status != USBD_IN_PROGRESS)
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(new_status != USBD_IN_PROGRESS);
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
xfer->ux_status != USBD_IN_PROGRESS) {
if (status != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS && err != USBD_NORMAL_COMPLETION)
if (err != USBD_IN_PROGRESS && err != USBD_NORMAL_COMPLETION)
if (status != USBD_IN_PROGRESS) {
if (status != USBD_IN_PROGRESS) {
if (status != USBD_IN_PROGRESS) {
case USBD_IN_PROGRESS:
if ((err = usbd_transfer(ub->ub_xfer)) != USBD_IN_PROGRESS) {
return (err != USBD_NOT_STARTED && err != USBD_IN_PROGRESS);
case USBD_IN_PROGRESS:
if (err != USBD_IN_PROGRESS)
if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS)
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS)
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
if (xfer->ux_status == USBD_IN_PROGRESS) {
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status != USBD_IN_PROGRESS) {
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
case USBD_IN_PROGRESS:
if (status != USBD_IN_PROGRESS) {
if (status != USBD_IN_PROGRESS) {
if (status != USBD_IN_PROGRESS) {
if (status != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (err && err != USBD_IN_PROGRESS) {
if (err && err != USBD_IN_PROGRESS) {
err != USBD_IN_PROGRESS) {
ep->armed = (USBD_IN_PROGRESS == start_output_transfer(ep));
err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (xfer->ux_status != USBD_IN_PROGRESS)
if (xfer->ux_status != USBD_IN_PROGRESS)
if (xfer->ux_status != USBD_IN_PROGRESS) {
} else if (xfer->ux_status != USBD_IN_PROGRESS) {
KASSERTMSG(xfer->ux_status == USBD_IN_PROGRESS, "xfer=%p status=%d",
if (err != USBD_IN_PROGRESS)
err = USBD_IN_PROGRESS;
if (err != USBD_IN_PROGRESS && err) {
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (err == USBD_IN_PROGRESS)
if (err == USBD_IN_PROGRESS)
if (err == USBD_IN_PROGRESS)
if (err == USBD_IN_PROGRESS)
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
if (err != USBD_IN_PROGRESS) {
KASSERT(vxfer->xfer.ux_status == USBD_IN_PROGRESS);
KASSERT(vxfer->xfer.ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
ret = USBD_IN_PROGRESS;
if (xfer->ux_status != USBD_IN_PROGRESS)
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
KASSERT(vxfer->xfer.ux_status == USBD_IN_PROGRESS);
KASSERT(vxfer->xfer.ux_status == USBD_IN_PROGRESS);
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
if (xfer->ux_status == USBD_IN_PROGRESS) {
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
KASSERT(xfer->ux_status != USBD_IN_PROGRESS);
xfer->ux_status = USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
return USBD_IN_PROGRESS;
xfer->ux_status = USBD_IN_PROGRESS;
KASSERT(xfer->ux_status == USBD_IN_PROGRESS);
return USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;
return USBD_IN_PROGRESS;