Lines Matching defs:pipe
98 unsigned int irqpipe; /* pipe for release_irq */
384 static int us_one_transfer(struct us_data *us, int pipe, char *buf, int length)
394 max_size = usb_maxpacket(us->pusb_dev, pipe) * 16;
412 result = usb_bulk_msg(us->pusb_dev, pipe, buf,
426 "halt for pipe 0x%x\n", pipe);
428 usb_clear_halt(us->pusb_dev, pipe);
470 unsigned int pipe;
501 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in);
502 result = usb_clear_halt(us->pusb_dev, pipe);
508 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out);
509 result = usb_clear_halt(us->pusb_dev, pipe);
556 unsigned int pipe;
578 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out);
590 result = usb_bulk_msg(us->pusb_dev, pipe, cbw, UMASS_BBB_CBW_SIZE,
604 unsigned int pipe;
611 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in);
613 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out);
620 /* let's send the command via the control pipe */
635 " clear pipe\n");
651 result = us_one_transfer(us, pipe, (char *)srb->pdata,
729 unsigned int pipe, pipein, pipeout;
758 pipe = pipein;
760 pipe = pipeout;
762 result = usb_bulk_msg(us->pusb_dev, pipe, srb->pdata, srb->datalen,
815 /* misuse pipe to get the residue */
816 pipe = le32_to_cpu(csw->dCSWDataResidue);
817 if (pipe == 0 && srb->datalen != 0 && srb->datalen - data_actlen != 0)
818 pipe = srb->datalen - data_actlen;
1427 /* we had found an interrupt endpoint, prepare irq pipe
1428 * set up the IRQ pipe and handler