Lines Matching refs:pipe

47 #define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 1000)  argument
182 int submit_bulk_msg(struct usb_device *dev, unsigned long pipe,
184 int submit_control_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
186 int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
191 struct int_queue *create_int_queue(struct usb_device *dev, unsigned long pipe,
264 int usb_control_msg(struct usb_device *dev, unsigned int pipe,
268 int usb_bulk_msg(struct usb_device *dev, unsigned int pipe,
270 int usb_int_msg(struct usb_device *dev, unsigned long pipe,
274 int usb_maxpacket(struct usb_device *dev, unsigned long pipe);
283 int usb_clear_halt(struct usb_device *dev, int pipe);
390 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \ argument
393 #define usb_pipeout(pipe) ((((pipe) >> 7) & 1) ^ 1) argument
394 #define usb_pipein(pipe) (((pipe) >> 7) & 1) argument
395 #define usb_pipedevice(pipe) (((pipe) >> 8) & 0x7f) argument
396 #define usb_pipe_endpdev(pipe) (((pipe) >> 8) & 0x7ff) argument
397 #define usb_pipeendpoint(pipe) (((pipe) >> 15) & 0xf) argument
398 #define usb_pipedata(pipe) (((pipe) >> 19) & 1) argument
399 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) argument
400 #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS) argument
401 #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT) argument
402 #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL) argument
403 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) argument
405 #define usb_pipe_ep_index(pipe) \ argument
406 usb_pipecontrol(pipe) ? (usb_pipeendpoint(pipe) * 2) : \
407 ((usb_pipeendpoint(pipe) * 2) - \
408 (usb_pipein(pipe) ? 0 : 1))
700 unsigned long pipe, void *buffer, int length,
708 unsigned long pipe, void *buffer, int length);
717 unsigned long pipe, void *buffer, int length,
734 struct usb_device *udev, unsigned long pipe,
1035 unsigned long pipe, void *buffer, int length,
1047 unsigned long pipe, void *buffer, int length);
1058 unsigned long pipe, void *buffer, int length, int interval,
1072 int usb_emul_find(struct udevice *bus, ulong pipe, int port1,