UE_GET_DIR
uint8_t dir = UE_GET_DIR(ed->bEndpointAddress);
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN ? "in" : "out");
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) {
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) {
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT)
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT)
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT)
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) {
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
uedir = UE_GET_DIR(xfer->pipe->endpoint->edesc->
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
a->mode = (UE_GET_DIR(addr) == UE_DIR_IN) ?
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
dir = UE_GET_DIR(ed->bEndpointAddress);
dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT;
UE_GET_DIR(endpt), sce));
dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT;
dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT;
int rd = UE_GET_DIR(endpt) == UE_DIR_IN;
UE_GET_DIR(ed->bEndpointAddress)==UE_DIR_IN? "in" : "out",
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT
&& UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN
if (UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_IN ||
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
UE_GET_DIR(epd->bEndpointAddress)!=UE_DIR_OUT) {
UE_GET_DIR(epd->bEndpointAddress)!=UE_DIR_IN) {
dir = UE_GET_DIR(epd->bEndpointAddress);
if (UE_GET_DIR(epaddr)==UE_DIR_OUT) {
if ((UE_GET_DIR(lowest->addr)==UE_DIR_IN &&
UE_GET_DIR(q->addr)==UE_DIR_OUT) ||
((UE_GET_DIR(lowest->addr)==
UE_GET_DIR(q->addr)) &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
ep_dir = UE_GET_DIR(ed->bEndpointAddress);
if (UE_GET_DIR(d->bEndpointAddress) == UE_DIR_IN)
if (UE_GET_DIR(d->bEndpointAddress) == UE_DIR_OUT)
if (UE_GET_DIR(ed->bEndpointAddress)
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
} else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN)