Lines Matching refs:pipe
1460 unsigned int pipe; /* (in) pipe information */ member
1502 unsigned int pipe, in usb_fill_control_urb() argument
1510 urb->pipe = pipe; in usb_fill_control_urb()
1533 unsigned int pipe, in usb_fill_bulk_urb() argument
1540 urb->pipe = pipe; in usb_fill_bulk_urb()
1574 unsigned int pipe, in usb_fill_int_urb() argument
1582 urb->pipe = pipe; in usb_fill_int_urb()
1676 extern int usb_control_msg(struct usb_device *dev, unsigned int pipe,
1679 extern int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe,
1681 extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe,
1694 extern int usb_clear_halt(struct usb_device *dev, int pipe);
1743 int pipe; member
1755 unsigned pipe,
1792 #define usb_pipein(pipe) ((pipe) & USB_DIR_IN) argument
1793 #define usb_pipeout(pipe) (!usb_pipein(pipe)) argument
1795 #define usb_pipedevice(pipe) (((pipe) >> 8) & 0x7f) argument
1796 #define usb_pipeendpoint(pipe) (((pipe) >> 15) & 0xf) argument
1798 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) argument
1799 #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS) argument
1800 #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT) argument
1801 #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL) argument
1802 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) argument
1829 usb_pipe_endpoint(struct usb_device *dev, unsigned int pipe) in usb_pipe_endpoint() argument
1832 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint()
1833 return eps[usb_pipeendpoint(pipe)]; in usb_pipe_endpoint()
1839 usb_maxpacket(struct usb_device *udev, int pipe, int is_out) in usb_maxpacket() argument
1842 unsigned epnum = usb_pipeendpoint(pipe); in usb_maxpacket()
1845 WARN_ON(usb_pipein(pipe)); in usb_maxpacket()
1848 WARN_ON(usb_pipeout(pipe)); in usb_maxpacket()