USBD_NORMAL_COMPLETION
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (ohci_checkrev(&sc->sc) != USBD_NORMAL_COMPLETION ||
ohci_handover(&sc->sc) != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (rc != USBD_NORMAL_COMPLETION) {
if ((ohci_checkrev(&sc->sc_ohci) != USBD_NORMAL_COMPLETION) ||
(ohci_handover(&sc->sc_ohci) != USBD_NORMAL_COMPLETION))
if (r != USBD_NORMAL_COMPLETION) {
if (ohci_checkrev(&sc->sc) != USBD_NORMAL_COMPLETION ||
ohci_handover(&sc->sc) != USBD_NORMAL_COMPLETION)
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (ohci_checkrev(&sc->sc) != USBD_NORMAL_COMPLETION ||
ohci_handover(&sc->sc) != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (ohci_checkrev(&sc->sc) != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (ohci_checkrev(&sc->sc) != USBD_NORMAL_COMPLETION ||
ohci_handover(&sc->sc) != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
if (r != USBD_NORMAL_COMPLETION) {
xfer->status = USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
err = USBD_NORMAL_COMPLETION;
dxfer->intr_status = USBD_NORMAL_COMPLETION;
if (dxfer->intr_status == USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (err == USBD_NORMAL_COMPLETION || err == USBD_SHORT_XFER) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION)
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (err == USBD_NORMAL_COMPLETION)
if (err != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (usbd_do_request(sc->sc_udev, &req, &np) == USBD_NORMAL_COMPLETION &&
if (usbd_do_request(sc->sc_udev, &req, wFmt) != USBD_NORMAL_COMPLETION)
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION)
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION)
if (err != USBD_NORMAL_COMPLETION && err != USBD_SHORT_XFER) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (error != USBD_IN_PROGRESS && error != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
if (err != USBD_IN_PROGRESS && err != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (err != USBD_IN_PROGRESS && err != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status == USBD_NORMAL_COMPLETION) {
xfer->status == USBD_NORMAL_COMPLETION)
if (xfer->status == USBD_NORMAL_COMPLETION) {
xfer->status = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
if (status != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (status != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
case USBD_NORMAL_COMPLETION:
if (status != USBD_NORMAL_COMPLETION) {
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
err = USBD_NORMAL_COMPLETION;
err = USBD_NORMAL_COMPLETION;
err = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
if (status != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION && err != USBD_SHORT_XFER)
if (err == USBD_NORMAL_COMPLETION || err == USBD_SHORT_XFER) {
else if (status == USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
case USBD_NORMAL_COMPLETION:
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
case USBD_NORMAL_COMPLETION:
case USBD_NORMAL_COMPLETION:
if (status != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (err!=USBD_NORMAL_COMPLETION)
return USBD_NORMAL_COMPLETION;
if (err != USBD_NORMAL_COMPLETION && err != USBD_IN_PROGRESS) {
return USBD_NORMAL_COMPLETION;
if (err != USBD_NORMAL_COMPLETION && err != USBD_IN_PROGRESS) {
return USBD_NORMAL_COMPLETION;
if (status != USBD_NORMAL_COMPLETION) {
if (err!=USBD_NORMAL_COMPLETION)
if (err!=USBD_NORMAL_COMPLETION) {
if (err!=USBD_NORMAL_COMPLETION) {
if (err!=USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION) {
return USBD_NORMAL_COMPLETION;
if (err!=USBD_NORMAL_COMPLETION)
if (err!=USBD_NORMAL_COMPLETION) {
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
if (err!=USBD_NORMAL_COMPLETION)
if (err!=USBD_NORMAL_COMPLETION) {
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
if (err!=USBD_NORMAL_COMPLETION)
return USBD_NORMAL_COMPLETION;
if (err!=USBD_NORMAL_COMPLETION)
return USBD_NORMAL_COMPLETION;
if (status != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (status != USBD_NORMAL_COMPLETION) {
return USBD_NORMAL_COMPLETION;
if (status != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (status != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
err = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (err != USBD_IN_PROGRESS && err != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
USBD_NORMAL_COMPLETION);
if (status != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (status != USBD_NORMAL_COMPLETION) {
if (err != USBD_NORMAL_COMPLETION)
if (status != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (utvfu_as_open(sc) != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
if (status != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (err != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION) {
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION) {
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
if (error != USBD_NORMAL_COMPLETION)
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
if (status != USBD_NORMAL_COMPLETION) {
return USBD_NORMAL_COMPLETION;
return USBD_NORMAL_COMPLETION;
if (status != USBD_NORMAL_COMPLETION) {
skipxfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
return (USBD_NORMAL_COMPLETION);
return (USBD_NORMAL_COMPLETION);
err = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;
xfer->status = USBD_NORMAL_COMPLETION;