Lines Matching refs:pipe

50 #define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 1000)  argument
192 int submit_bulk_msg(struct usb_device *dev, unsigned long pipe,
194 int submit_control_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
196 int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
201 struct int_queue *create_int_queue(struct usb_device *dev, unsigned long pipe,
272 int usb_control_msg(struct usb_device *dev, unsigned int pipe,
276 int usb_bulk_msg(struct usb_device *dev, unsigned int pipe,
278 int usb_int_msg(struct usb_device *dev, unsigned long pipe,
282 int usb_maxpacket(struct usb_device *dev, unsigned long pipe);
291 int usb_clear_halt(struct usb_device *dev, int pipe);
398 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \ argument
401 #define usb_pipeout(pipe) ((((pipe) >> 7) & 1) ^ 1) argument
402 #define usb_pipein(pipe) (((pipe) >> 7) & 1) argument
403 #define usb_pipedevice(pipe) (((pipe) >> 8) & 0x7f) argument
404 #define usb_pipe_endpdev(pipe) (((pipe) >> 8) & 0x7ff) argument
405 #define usb_pipeendpoint(pipe) (((pipe) >> 15) & 0xf) argument
406 #define usb_pipedata(pipe) (((pipe) >> 19) & 1) argument
407 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) argument
408 #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS) argument
409 #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT) argument
410 #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL) argument
411 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) argument
413 #define usb_pipe_ep_index(pipe) \ argument
414 usb_pipecontrol(pipe) ? (usb_pipeendpoint(pipe) * 2) : \
415 ((usb_pipeendpoint(pipe) * 2) - \
416 (usb_pipein(pipe) ? 0 : 1))
707 unsigned long pipe, void *buffer, int length,
715 unsigned long pipe, void *buffer, int length);
724 unsigned long pipe, void *buffer, int length,
741 struct usb_device *udev, unsigned long pipe,
1027 unsigned long pipe, void *buffer, int length,
1039 unsigned long pipe, void *buffer, int length);
1050 unsigned long pipe, void *buffer, int length, int interval,
1064 int usb_emul_find(struct udevice *bus, ulong pipe, int port1,