Lines Matching refs:pipe

367 static int us_one_transfer(struct us_data *us, int pipe, char *buf, int length)  in us_one_transfer()  argument
377 max_size = usb_maxpacket(us->pusb_dev, pipe) * 16; in us_one_transfer()
395 result = usb_bulk_msg(us->pusb_dev, pipe, buf, in us_one_transfer()
409 "halt for pipe 0x%x\n", pipe); in us_one_transfer()
411 usb_clear_halt(us->pusb_dev, pipe); in us_one_transfer()
453 unsigned int pipe; in usb_stor_BBB_reset() local
484 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in usb_stor_BBB_reset()
485 result = usb_clear_halt(us->pusb_dev, pipe); in usb_stor_BBB_reset()
491 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usb_stor_BBB_reset()
492 result = usb_clear_halt(us->pusb_dev, pipe); in usb_stor_BBB_reset()
539 unsigned int pipe; in usb_stor_BBB_comdat() local
561 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usb_stor_BBB_comdat()
573 result = usb_bulk_msg(us->pusb_dev, pipe, cbw, UMASS_BBB_CBW_SIZE, in usb_stor_BBB_comdat()
587 unsigned int pipe; in usb_stor_CB_comdat() local
594 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in usb_stor_CB_comdat()
596 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usb_stor_CB_comdat()
634 result = us_one_transfer(us, pipe, (char *)srb->pdata, in usb_stor_CB_comdat()
712 unsigned int pipe, pipein, pipeout; in usb_stor_BBB_transport() local
741 pipe = pipein; in usb_stor_BBB_transport()
743 pipe = pipeout; in usb_stor_BBB_transport()
745 result = usb_bulk_msg(us->pusb_dev, pipe, srb->pdata, srb->datalen, in usb_stor_BBB_transport()
799 pipe = le32_to_cpu(csw->dCSWDataResidue); in usb_stor_BBB_transport()
800 if (pipe == 0 && srb->datalen != 0 && srb->datalen - data_actlen != 0) in usb_stor_BBB_transport()
801 pipe = srb->datalen - data_actlen; in usb_stor_BBB_transport()