USBD_NOT_STARTED
xfer->ux_status != USBD_NOT_STARTED) {
xfer->ux_status != USBD_NOT_STARTED) {
xfer->ux_status == USBD_NOT_STARTED,
KASSERT(ex->ex_isdone || xfer->ux_status == USBD_NOT_STARTED);
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
status == USBD_NOT_STARTED || status == USBD_CANCELLED ||
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status != USBD_NOT_STARTED && status != USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status != USBD_NOT_STARTED && status != USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
err = USBD_NOT_STARTED;
if (xfer->ux_status == USBD_NOT_STARTED) {
err = USBD_NOT_STARTED;
if (xfer->ux_status == USBD_NOT_STARTED) {
xfer->ux_status != USBD_NOT_STARTED) {
xfer->ux_status == USBD_NOT_STARTED,
if (xfer->ux_status != USBD_NOT_STARTED &&
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
return (err != USBD_NOT_STARTED && err != USBD_IN_PROGRESS);
case USBD_NOT_STARTED:
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (xfer->ux_status != USBD_NOT_STARTED &&
xfer->ux_status == USBD_NOT_STARTED,
KASSERTMSG(uxfer->ux_isdone || xfer->ux_status == USBD_NOT_STARTED,
return USBD_NOT_STARTED;
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (xfer->ux_status == USBD_NOT_STARTED) {
xfer->ux_status = USBD_NOT_STARTED;
KASSERT(xfer->ux_status == USBD_NOT_STARTED);
xfer->ux_status = USBD_NOT_STARTED;
xfer->ux_status = USBD_NOT_STARTED;
xfer->ux_status = USBD_NOT_STARTED;
status == USBD_INVAL || status == USBD_NOT_STARTED ||
case USBD_NOT_STARTED:
status == USBD_INVAL || status == USBD_NOT_STARTED ||
return USBD_NOT_STARTED;
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
KASSERT(xfer->ux_status != USBD_NOT_STARTED);
xfer->ux_status != USBD_NOT_STARTED) {
out: if (xfer->ux_status == USBD_NOT_STARTED) {
out: if (xfer->ux_status == USBD_NOT_STARTED) {
out: if (xfer->ux_status == USBD_NOT_STARTED) {