USB_PID_IN
pid = usb_pipeout(urb->pipe) ? USB_PID_OUT : USB_PID_IN;
pid = !usb_pipeout(urb->pipe) ? USB_PID_OUT : USB_PID_IN;
pid = usb_pipeout(urb->pipe) ? USB_PID_OUT : USB_PID_IN;
pids = dbgp_pid_read_update(pids, USB_PID_IN);
case USB_PID_IN:
else if (ep->nextpid == USB_PID_IN)
case USB_PID_IN:
ep->nextpid = USB_PID_IN;
ep->nextpid = USB_PID_IN;
case USB_PID_IN:
case USB_PID_IN:
td->type = USB_PID_IN;
if (td && td->type == USB_PID_IN)
if (td->type == USB_PID_IN)
td->type = USB_PID_IN;
case USB_PID_IN: s = "in"; break;
: ((ep->nextpid == USB_PID_IN)
case USB_PID_IN:
case USB_PID_IN:
ep->nextpid = USB_PID_IN;
ep->nextpid = USB_PID_IN;
case USB_PID_IN:
(0x7f << TD_TOKEN_DEVADDR_SHIFT) | USB_PID_IN, 0);
#define uhci_packetout(token) (uhci_packetid(token) != USB_PID_IN)
#define uhci_packetin(token) (uhci_packetid(token) == USB_PID_IN)
#define usb_packetid(pipe) (usb_pipein(pipe) ? USB_PID_IN : USB_PID_OUT)
destination ^= (USB_PID_SETUP ^ USB_PID_IN);
destination ^= (USB_PID_IN ^ USB_PID_OUT);