/u-boot/drivers/usb/host/ |
A D | usb-sandbox.c | 17 static void usbmon_trace(struct udevice *bus, ulong pipe, in usbmon_trace() argument 25 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace() 27 (pipe & USB_PIPE_DEV_MASK) >> USB_PIPE_DEV_SHIFT, in usbmon_trace() 28 (pipe & USB_PIPE_EP_MASK) >> USB_PIPE_EP_SHIFT); in usbmon_trace() 41 unsigned long pipe, in sandbox_submit_control() argument 51 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_control() 52 usbmon_trace(bus, pipe, setup, emul); in sandbox_submit_control() 56 if (usb_pipedevice(pipe) == ctrl->rootdev) { in sandbox_submit_control() 84 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_bulk() 85 usbmon_trace(bus, pipe, NULL, emul); in sandbox_submit_bulk() [all …]
|
A D | sl811-hcd.c | 226 if (usb_pipeout(pipe)) in sl811_send_packet() 228 if (usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) in sl811_send_packet() 238 if (usb_pipeout(pipe) && len) in sl811_send_packet() 264 if (usb_pipein(pipe) && len) in sl811_send_packet() 291 int dir_out = usb_pipeout(pipe); in submit_bulk_msg() 292 int ep = usb_pipeendpoint(pipe); in submit_bulk_msg() 297 usb_pipedevice(pipe), usb_pipeendpoint(pipe), buffer, len, dir_out); in submit_bulk_msg() 327 int devnum = usb_pipedevice(pipe); in submit_control_msg() 328 int ep = usb_pipeendpoint(pipe); in submit_control_msg() 345 int dir_in = usb_pipein(pipe); in submit_control_msg() [all …]
|
A D | ohci-hcd.c | 289 usb_pipedevice(pipe), in pkt_print() 290 usb_pipeendpoint(pipe), in pkt_print() 521 unsigned long pipe = urb->pipe; in sohci_submit_job() local 564 purb_priv->pipe = pipe; in sohci_submit_job() 857 (usb_pipecontrol(pipe)? 0: usb_pipeout(pipe))]; in ep_add_ed() 927 if (usb_pipebulk(urb_priv->pipe) && usb_pipeout(urb_priv->pipe)) { in td_fill() 970 if (usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) { in td_submit_job() 1267 if (usb_pipeint(pipe)) { in ohci_submit_rh_msg() 1510 urb->pipe = pipe; in ohci_alloc_urb() 1541 pipe); in submit_common_msg() [all …]
|
A D | ehci-hcd.c | 443 toggle = usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in ehci_submit_async() 457 maxpacket = usb_maxpacket(dev, pipe); in ehci_submit_async() 549 QT_TOKEN_PID(usb_pipein(pipe) ? in ehci_submit_async() 585 QT_TOKEN_PID(usb_pipein(pipe) ? in ehci_submit_async() 613 timeout = USB_TIMEOUT_MS(pipe); in ehci_submit_async() 1216 unsigned long pipe; member 1312 result->pipe = pipe; in _ehci_create_int_queue() 1330 toggle = usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in _ehci_create_int_queue() 1349 (usb_pipedevice(pipe) << 0)); in _ehci_create_int_queue() 1433 unsigned long pipe = queue->pipe; in _ehci_poll_int_queue() local [all …]
|
A D | r8a66597-hcd.c | 236 if (usb_pipein(pipe)) { in pipe_buffer_setting() 255 if (!usb_pipein(pipe)) in pipe_buffer_setting() 368 unsigned long pipe, in receive_bulk_packet() argument 469 unsigned long pipe) in send_status_packet() argument 474 if (usb_pipein(pipe)) { in send_status_packet() 565 unsigned long pipe, void *buffer, in r8a66597_submit_rh_msg() argument 579 if (usb_pipeint(pipe)) { in r8a66597_submit_rh_msg() 759 if (usb_pipein(pipe)) in r8a66597_submit_control_msg() 783 pipe, buffer, length, dev->devnum); in r8a66597_submit_bulk_msg() 787 pipe_buffer_setting(r8a66597, dev, pipe); in r8a66597_submit_bulk_msg() [all …]
|
A D | dwc2.c | 806 if (usb_pipeint(pipe)) { in dwc_otg_submit_rh_msg() 924 int devnum = usb_pipedevice(pipe); in chunk_msg() 925 int ep = usb_pipeendpoint(pipe); in chunk_msg() 926 int max = usb_maxpacket(dev, pipe); in chunk_msg() 1048 int devnum = usb_pipedevice(pipe); in _submit_bulk_msg() 1049 int ep = usb_pipeendpoint(pipe); in _submit_bulk_msg() 1057 if (usb_pipein(pipe)) in _submit_bulk_msg() 1062 return chunk_msg(priv, dev, pipe, pid, usb_pipein(pipe), buffer, len); in _submit_bulk_msg() 1069 int devnum = usb_pipedevice(pipe); in _submit_control_msg() 1095 ret = chunk_msg(priv, dev, pipe, &pid, usb_pipein(pipe), in _submit_control_msg() [all …]
|
A D | xhci.c | 1156 if (usb_pipetype(pipe) != PIPE_INTERRUPT) { in _xhci_submit_int_msg() 1167 return xhci_bulk_tx(udev, pipe, length, buffer); in _xhci_submit_int_msg() 1182 if (usb_pipetype(pipe) != PIPE_BULK) { in _xhci_submit_bulk_msg() 1187 return xhci_bulk_tx(udev, pipe, length, buffer); in _xhci_submit_bulk_msg() 1208 if (usb_pipetype(pipe) != PIPE_CONTROL) { in _xhci_submit_control_msg() 1213 if (usb_pipedevice(pipe) == ctrl->rootdev) in _xhci_submit_control_msg() 1214 return xhci_submit_root(udev, pipe, buffer, setup); in _xhci_submit_control_msg() 1229 return xhci_ctrl_tx(udev, pipe, setup, length, buffer); in _xhci_submit_control_msg() 1391 unsigned long pipe, void *buffer, int length, in xhci_submit_control_msg() argument 1424 unsigned long pipe, void *buffer, int length) in xhci_submit_bulk_msg() argument [all …]
|
A D | xhci-ring.c | 562 int xhci_bulk_tx(struct usb_device *udev, unsigned long pipe, in xhci_bulk_tx() argument 590 udev, pipe, buffer, length); in xhci_bulk_tx() 593 ep_index = usb_pipe_ep_index(pipe); in xhci_bulk_tx() 645 maxpacketsize = usb_maxpacket(udev, pipe); in xhci_bulk_tx() 689 if (usb_pipein(pipe)) in xhci_bulk_tx() 758 int xhci_ctrl_tx(struct usb_device *udev, unsigned long pipe, in xhci_ctrl_tx() argument 784 ep_index = usb_pipe_ep_index(pipe); in xhci_ctrl_tx() 873 if (usb_pipein(pipe)) in xhci_ctrl_tx() 879 usb_maxpacket(udev, pipe), true); in xhci_ctrl_tx()
|
A D | usb-uclass.c | 45 int submit_int_msg(struct usb_device *udev, unsigned long pipe, void *buffer, in submit_int_msg() argument 54 return ops->interrupt(bus, udev, pipe, buffer, length, interval, in submit_int_msg() 58 int submit_control_msg(struct usb_device *udev, unsigned long pipe, in submit_control_msg() argument 69 err = ops->control(bus, udev, pipe, buffer, length, setup); in submit_control_msg() 81 int submit_bulk_msg(struct usb_device *udev, unsigned long pipe, void *buffer, in submit_bulk_msg() argument 90 return ops->bulk(bus, udev, pipe, buffer, length); in submit_bulk_msg() 94 unsigned long pipe, int queuesize, int elementsize, in create_int_queue() argument 103 return ops->create_int_queue(bus, udev, pipe, queuesize, elementsize, in create_int_queue()
|
/u-boot/include/ |
A D | usb.h | 47 #define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 1000) argument 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 403 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) argument [all …]
|
/u-boot/tools/patman/ |
A D | gitutil.py | 69 pipe = [LogCmd(rev_range, oneline=True)] 87 pipe = ['git', 'name-rev', commit_hash] 224 pipe = ['git'] 226 pipe.extend(['--git-dir', git_dir]) 229 pipe.append('checkout') 231 pipe.append('-f') 232 pipe.append(commit_hash) 244 pipe = ['git', 'clone', git_dir, '.'] 256 pipe = ['git'] 261 pipe.append('fetch') [all …]
|
A D | command.py | 81 user_pipestr = '|'.join([' '.join(pipe) for pipe in pipe_list])
|
A D | cros_subprocess.py | 274 pipe = os.pipe() 275 self.stdin_read_pipe = pipe[0] 276 self._stdin_write_pipe = os.fdopen(pipe[1], 'w')
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_uboot.c | 38 unsigned long pipe, void *buffer, int len, in construct_urb() argument 41 int epnum = usb_pipeendpoint(pipe); in construct_urb() 42 int is_in = usb_pipein(pipe); in construct_urb() 52 urb->pipe = pipe; in construct_urb() 94 struct usb_device *dev, unsigned long pipe, in _musb_submit_control_msg() argument 98 pipe, buffer, len, setup, 0); in _musb_submit_control_msg() 111 pipe, buffer, len, NULL, 0); in _musb_submit_bulk_msg() 116 struct usb_device *dev, unsigned long pipe, in _musb_submit_int_msg() argument 129 int ret, index = usb_pipein(pipe) * 16 + usb_pipeendpoint(pipe); in _musb_create_int_queue() 162 int index = usb_pipein(queue->urb.pipe) * 16 + in _musb_destroy_int_queue() [all …]
|
A D | musb_host.c | 202 unsigned pipe = urb->pipe; in musb_start_urb() local 305 usb_pipedevice(urb->pipe), in musb_giveback() 465 int pipe = urb->pipe; in musb_host_packet_rx() local 476 if (usb_pipeisoc(pipe)) { in musb_host_packet_rx() 1109 int pipe; in musb_host_tx() local 1132 pipe = urb->pipe; in musb_host_tx() 1269 if (usb_pipeisoc(pipe)) { in musb_host_tx() 1444 int pipe; in musb_host_rx() local 1472 pipe = urb->pipe; in musb_host_rx() 1588 if (usb_pipeisoc(pipe)) { in musb_host_rx() [all …]
|
A D | usb-compat.h | 36 unsigned int pipe; /* (in) pipe information */ member
|
/u-boot/drivers/video/ |
A D | i915_reg.h | 47 #define BLM_PIPE(pipe) ((pipe) << 29) argument 95 #define ENH_PIPE(pipe) _PIPE(pipe, ENH_PIPE_A_SELECT, ENH_PIPE_B_SELECT) argument 267 #define TVIDEO_DIP_CTL(pipe) _PIPE(pipe, _VIDEO_DIP_CTL_A, _VIDEO_DIP_CTL_B) argument 268 #define TVIDEO_DIP_DATA(pipe) _PIPE(pipe, _VIDEO_DIP_DATA_A, _VIDEO_DIP_DATA_B) argument 269 #define TVIDEO_DIP_GCP(pipe) _PIPE(pipe, _VIDEO_DIP_GCP_A, _VIDEO_DIP_GCP_B) argument 279 #define VLV_TVIDEO_DIP_CTL(pipe) \ argument 280 _PIPE(pipe, VLV_VIDEO_DIP_CTL_A, VLV_VIDEO_DIP_CTL_B) 281 #define VLV_TVIDEO_DIP_DATA(pipe) \ argument 282 _PIPE(pipe, VLV_VIDEO_DIP_DATA_A, VLV_VIDEO_DIP_DATA_B) 283 #define VLV_TVIDEO_DIP_GCP(pipe) \ argument [all …]
|
/u-boot/drivers/usb/emul/ |
A D | usb-emul-uclass.c | 162 int usb_emul_find(struct udevice *bus, ulong pipe, int port1, in usb_emul_find() argument 165 int devnum = usb_pipedevice(pipe); in usb_emul_find() 178 unsigned long pipe, void *buffer, int length, in usb_emul_control() argument 190 if (pipe == usb_rcvctrlpipe(udev, 0)) { in usb_emul_control() 200 return ops->control(emul, udev, pipe, buffer, length, in usb_emul_control() 203 } else if (pipe == usb_snddefctrl(udev)) { in usb_emul_control() 214 } else if (pipe == usb_sndctrlpipe(udev, 0)) { in usb_emul_control() 223 return ops->control(emul, udev, pipe, buffer, length, in usb_emul_control() 227 debug("pipe=%lx\n", pipe); in usb_emul_control() 233 unsigned long pipe, void *buffer, int length) in usb_emul_bulk() argument [all …]
|
A D | sandbox_flash.c | 172 unsigned long pipe, void *buff, int len, in sandbox_flash_control() argument 177 if (pipe == usb_rcvctrlpipe(udev, 0)) { in sandbox_flash_control() 190 debug("pipe=%lx\n", pipe); in sandbox_flash_control() 298 unsigned long pipe, void *buff, int len) in sandbox_flash_bulk() argument 302 int ep = usb_pipeendpoint(pipe); in sandbox_flash_bulk() 306 dev->name, pipe, ep, len, priv->phase); in sandbox_flash_bulk()
|
A D | sandbox_keyb.c | 179 unsigned long pipe, void *buff, int len, in sandbox_keyb_control() argument 182 debug("pipe=%lx\n", pipe); in sandbox_keyb_control() 188 unsigned long pipe, void *buffer, int length, int interval, in sandbox_keyb_interrupt() argument
|
A D | sandbox_hub.c | 204 unsigned long pipe, in sandbox_hub_submit_control_msg() argument 211 if (pipe == usb_rcvctrlpipe(udev, 0)) { in sandbox_hub_submit_control_msg() 249 } else if (pipe == usb_sndctrlpipe(udev, 0)) { in sandbox_hub_submit_control_msg() 295 debug("pipe=%lx\n", pipe); in sandbox_hub_submit_control_msg()
|
/u-boot/common/ |
A D | usb.c | 208 int usb_int_msg(struct usb_device *dev, unsigned long pipe, in usb_int_msg() argument 276 int usb_bulk_msg(struct usb_device *dev, unsigned int pipe, in usb_bulk_msg() argument 282 if (submit_bulk_msg(dev, pipe, data, len) < 0) in usb_bulk_msg() 305 int usb_maxpacket(struct usb_device *dev, unsigned long pipe) in usb_maxpacket() argument 308 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket() 309 return dev->epmaxpacketout[((pipe>>15) & 0xf)]; in usb_maxpacket() 311 return dev->epmaxpacketin[((pipe>>15) & 0xf)]; in usb_maxpacket() 537 int usb_clear_halt(struct usb_device *dev, int pipe) in usb_clear_halt() argument 540 int endp = usb_pipeendpoint(pipe)|(usb_pipein(pipe)<<7); in usb_clear_halt() 555 usb_endpoint_running(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in usb_clear_halt() [all …]
|
A D | usb_storage.c | 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 485 result = usb_clear_halt(us->pusb_dev, pipe); in usb_stor_BBB_reset() 539 unsigned int pipe; in usb_stor_BBB_comdat() local 587 unsigned int pipe; in usb_stor_CB_comdat() local 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() 799 pipe = le32_to_cpu(csw->dCSWDataResidue); in usb_stor_BBB_transport() [all …]
|
A D | cli_hush.c | 199 struct pipe *pipe; member 242 struct pipe { struct 723 struct pipe *job; in builtin_jobs() 1353 struct pipe *thejob; 1423 struct pipe *pi; 1765 struct pipe *rpipe; 2334 struct pipe *pi; 2346 ctx->pipe=NULL; 2538 struct pipe *pi=ctx->pipe; 2582 struct pipe *new_p; [all …]
|
/u-boot/drivers/usb/musb/ |
A D | musb_hcd.c | 453 static int musb_submit_rh_msg(struct usb_device *dev, unsigned long pipe, in musb_submit_rh_msg() argument 468 if ((pipe & PIPE_INTERRUPT) == PIPE_INTERRUPT) { in musb_submit_rh_msg() 751 int devnum = usb_pipedevice(pipe); in submit_control_msg() 757 int stat = musb_submit_rh_msg(dev, pipe, buffer, len, setup); in submit_control_msg() 847 int submit_bulk_msg(struct usb_device *dev, unsigned long pipe, in submit_bulk_msg() argument 850 int dir_out = usb_pipeout(pipe); in submit_bulk_msg() 851 int ep = usb_pipeendpoint(pipe); in submit_bulk_msg() 853 int devnum = usb_pipedevice(pipe); in submit_bulk_msg() 1057 int dir_out = usb_pipeout(pipe); in submit_int_msg() 1058 int ep = usb_pipeendpoint(pipe); in submit_int_msg() [all …]
|