Lines Matching refs:pipe
1565 unsigned int pipe; /* (in) pipe information */ member
1607 unsigned int pipe, in usb_fill_control_urb() argument
1615 urb->pipe = pipe; in usb_fill_control_urb()
1638 unsigned int pipe, in usb_fill_bulk_urb() argument
1645 urb->pipe = pipe; in usb_fill_bulk_urb()
1679 unsigned int pipe, in usb_fill_int_urb() argument
1687 urb->pipe = pipe; in usb_fill_int_urb()
1783 extern int usb_control_msg(struct usb_device *dev, unsigned int pipe,
1786 extern int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe,
1788 extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe,
1815 extern int usb_clear_halt(struct usb_device *dev, int pipe);
1864 int pipe; member
1876 unsigned pipe,
1913 #define usb_pipein(pipe) ((pipe) & USB_DIR_IN) argument
1914 #define usb_pipeout(pipe) (!usb_pipein(pipe)) argument
1916 #define usb_pipedevice(pipe) (((pipe) >> 8) & 0x7f) argument
1917 #define usb_pipeendpoint(pipe) (((pipe) >> 15) & 0xf) argument
1919 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) argument
1920 #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS) argument
1921 #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT) argument
1922 #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL) argument
1923 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) argument
1950 usb_pipe_endpoint(struct usb_device *dev, unsigned int pipe) in usb_pipe_endpoint() argument
1953 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint()
1954 return eps[usb_pipeendpoint(pipe)]; in usb_pipe_endpoint()
1960 usb_maxpacket(struct usb_device *udev, int pipe, int is_out) in usb_maxpacket() argument
1963 unsigned epnum = usb_pipeendpoint(pipe); in usb_maxpacket()
1966 WARN_ON(usb_pipein(pipe)); in usb_maxpacket()
1969 WARN_ON(usb_pipeout(pipe)); in usb_maxpacket()