Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 34) sorted by relevance

12

/u-boot/drivers/usb/host/
A Dusb-sandbox.c17 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 Dsl811-hcd.c226 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 Dohci-hcd.c289 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 Dehci-hcd.c443 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 Dr8a66597-hcd.c236 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 Ddwc2.c806 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 Dxhci.c1156 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 Dxhci-ring.c562 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 Dusb-uclass.c45 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 Dusb.h47 #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 Dgitutil.py69 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 Dcommand.py81 user_pipestr = '|'.join([' '.join(pipe) for pipe in pipe_list])
A Dcros_subprocess.py274 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 Dmusb_uboot.c38 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 Dmusb_host.c202 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 Dusb-compat.h36 unsigned int pipe; /* (in) pipe information */ member
/u-boot/drivers/video/
A Di915_reg.h47 #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 Dusb-emul-uclass.c162 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 Dsandbox_flash.c172 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 Dsandbox_keyb.c179 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 Dsandbox_hub.c204 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 Dusb.c208 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 Dusb_storage.c409 "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 Dcli_hush.c199 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 Dmusb_hcd.c453 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 …]

Completed in 71 milliseconds

12