Home
last modified time | relevance | path

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

12

/u-boot/include/
A Dusb.h50 #define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 1000) argument
394 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \ argument
397 #define usb_pipeout(pipe) ((((pipe) >> 7) & 1) ^ 1) argument
398 #define usb_pipein(pipe) (((pipe) >> 7) & 1) argument
399 #define usb_pipedevice(pipe) (((pipe) >> 8) & 0x7f) argument
400 #define usb_pipe_endpdev(pipe) (((pipe) >> 8) & 0x7ff) argument
401 #define usb_pipeendpoint(pipe) (((pipe) >> 15) & 0xf) argument
402 #define usb_pipedata(pipe) (((pipe) >> 19) & 1) argument
403 #define usb_pipetype(pipe) (((pipe) >> 30) & 3) argument
407 #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) argument
[all …]
/u-boot/drivers/usb/host/
A Dusb-sandbox.c24 static void usbmon_trace(struct udevice *bus, ulong pipe, in usbmon_trace() argument
32 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
34 (pipe & USB_PIPE_DEV_MASK) >> USB_PIPE_DEV_SHIFT, in usbmon_trace()
35 (pipe & USB_PIPE_EP_MASK) >> USB_PIPE_EP_SHIFT); in usbmon_trace()
48 unsigned long pipe, in sandbox_submit_control() argument
58 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_control()
59 usbmon_trace(bus, pipe, setup, emul); in sandbox_submit_control()
63 if (usb_pipedevice(pipe) == ctrl->rootdev) { in sandbox_submit_control()
91 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_bulk()
92 usbmon_trace(bus, pipe, NULL, emul); in sandbox_submit_bulk()
[all …]
A Dohci-hcd.c261 usb_pipedevice(pipe), in pkt_print()
262 usb_pipeendpoint(pipe), in pkt_print()
493 unsigned long pipe = urb->pipe; in sohci_submit_job() local
536 purb_priv->pipe = pipe; in sohci_submit_job()
829 (usb_pipecontrol(pipe)? 0: usb_pipeout(pipe))]; in ep_add_ed()
899 if (usb_pipebulk(urb_priv->pipe) && usb_pipeout(urb_priv->pipe)) { in td_fill()
942 if (usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) { in td_submit_job()
1239 if (usb_pipeint(pipe)) { in ohci_submit_rh_msg()
1482 urb->pipe = pipe; in ohci_alloc_urb()
1513 pipe); in submit_common_msg()
[all …]
A Dehci-hcd.c461 toggle = usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in ehci_submit_async()
475 maxpacket = usb_maxpacket(dev, pipe); in ehci_submit_async()
567 QT_TOKEN_PID(usb_pipein(pipe) ? in ehci_submit_async()
603 QT_TOKEN_PID(usb_pipein(pipe) ? in ehci_submit_async()
631 timeout = USB_TIMEOUT_MS(pipe); in ehci_submit_async()
1234 unsigned long pipe; member
1330 result->pipe = pipe; in _ehci_create_int_queue()
1348 toggle = usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in _ehci_create_int_queue()
1367 (usb_pipedevice(pipe) << 0)); in _ehci_create_int_queue()
1451 unsigned long pipe = queue->pipe; in _ehci_poll_int_queue() local
[all …]
A Dr8a66597-hcd.c208 if (usb_pipein(pipe)) { in pipe_buffer_setting()
227 if (!usb_pipein(pipe)) in pipe_buffer_setting()
340 unsigned long pipe, in receive_bulk_packet() argument
441 unsigned long pipe) in send_status_packet() argument
446 if (usb_pipein(pipe)) { in send_status_packet()
537 unsigned long pipe, void *buffer, in r8a66597_submit_rh_msg() argument
551 if (usb_pipeint(pipe)) { in r8a66597_submit_rh_msg()
731 if (usb_pipein(pipe)) in r8a66597_submit_control_msg()
755 pipe, buffer, length, dev->devnum); in r8a66597_submit_bulk_msg()
759 pipe_buffer_setting(r8a66597, dev, pipe); in r8a66597_submit_bulk_msg()
[all …]
A Ddwc2.c797 if (usb_pipeint(pipe)) { in dwc_otg_submit_rh_msg()
915 int devnum = usb_pipedevice(pipe); in chunk_msg()
916 int ep = usb_pipeendpoint(pipe); in chunk_msg()
917 int max = usb_maxpacket(dev, pipe); in chunk_msg()
1039 int devnum = usb_pipedevice(pipe); in _submit_bulk_msg()
1040 int ep = usb_pipeendpoint(pipe); in _submit_bulk_msg()
1048 if (usb_pipein(pipe)) in _submit_bulk_msg()
1053 return chunk_msg(priv, dev, pipe, pid, usb_pipein(pipe), buffer, len); in _submit_bulk_msg()
1060 int devnum = usb_pipedevice(pipe); in _submit_control_msg()
1086 ret = chunk_msg(priv, dev, pipe, &pid, usb_pipein(pipe), in _submit_control_msg()
[all …]
A Dxhci.c1108 if (usb_pipetype(pipe) != PIPE_INTERRUPT) { in _xhci_submit_int_msg()
1119 return xhci_bulk_tx(udev, pipe, length, buffer); in _xhci_submit_int_msg()
1134 if (usb_pipetype(pipe) != PIPE_BULK) { in _xhci_submit_bulk_msg()
1139 return xhci_bulk_tx(udev, pipe, length, buffer); in _xhci_submit_bulk_msg()
1160 if (usb_pipetype(pipe) != PIPE_CONTROL) { in _xhci_submit_control_msg()
1165 if (usb_pipedevice(pipe) == ctrl->rootdev) in _xhci_submit_control_msg()
1166 return xhci_submit_root(udev, pipe, buffer, setup); in _xhci_submit_control_msg()
1181 return xhci_ctrl_tx(udev, pipe, setup, length, buffer); in _xhci_submit_control_msg()
1255 unsigned long pipe, void *buffer, int length, in xhci_submit_control_msg() argument
1288 unsigned long pipe, void *buffer, int length) in xhci_submit_bulk_msg() argument
[all …]
/u-boot/tools/patman/
A Dgitutil.py68 pipe = [log_cmd(rev_range, oneline=True)]
87 pipe = ['git', 'name-rev', commit_hash]
231 pipe = ['git']
233 pipe.extend(['--git-dir', git_dir])
236 pipe.append('checkout')
238 pipe.append('-f')
239 pipe.append(commit_hash)
252 pipe = ['git', 'clone', git_dir, '.']
265 pipe = ['git']
270 pipe.append('fetch')
[all …]
/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 …]
/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/common/
A Dusb_urb.c63 unsigned long pipe, void *buffer, int len, in usb_urb_fill() argument
66 int epnum = usb_pipeendpoint(pipe); in usb_urb_fill()
67 int is_in = usb_pipein(pipe); in usb_urb_fill()
79 urb->pipe = pipe; in usb_urb_fill()
107 timeout = get_timer(0) + USB_TIMEOUT_MS(urb->pipe); in usb_urb_submit()
122 struct usb_device *dev, unsigned long pipe, in usb_urb_submit_control() argument
128 usb_urb_fill(urb, hep, dev, USB_ENDPOINT_XFER_CONTROL, pipe, buffer, in usb_urb_submit_control()
135 return ops->hub_control(hcd, dev, pipe, buffer, len, in usb_urb_submit_control()
144 unsigned long pipe, void *buffer, int len) in usb_urb_submit_bulk() argument
154 unsigned long pipe, void *buffer, int len, int interval) in usb_urb_submit_irq() argument
[all …]
/u-boot/drivers/usb/isp1760/
A Disp1760-uboot.c30 unsigned long pipe, void *buffer, in isp1760_msg_submit_control() argument
36 pipe, buffer, length, setup, 0, in isp1760_msg_submit_control()
41 unsigned long pipe, void *buffer, int length) in isp1760_msg_submit_bulk() argument
46 pipe, buffer, length); in isp1760_msg_submit_bulk()
50 unsigned long pipe, void *buffer, int length, in isp1760_msg_submit_irq() argument
56 pipe, buffer, length, interval); in isp1760_msg_submit_irq()
/u-boot/drivers/usb/emul/
A Dusb-emul-uclass.c163 int usb_emul_find(struct udevice *bus, ulong pipe, int port1, in usb_emul_find() argument
166 int devnum = usb_pipedevice(pipe); in usb_emul_find()
179 unsigned long pipe, void *buffer, int length, in usb_emul_control() argument
191 if (pipe == usb_rcvctrlpipe(udev, 0)) { in usb_emul_control()
201 return ops->control(emul, udev, pipe, buffer, length, in usb_emul_control()
204 } else if (pipe == usb_snddefctrl(udev)) { in usb_emul_control()
215 } else if (pipe == usb_sndctrlpipe(udev, 0)) { in usb_emul_control()
224 return ops->control(emul, udev, pipe, buffer, length, in usb_emul_control()
228 debug("pipe=%lx\n", pipe); in usb_emul_control()
234 unsigned long pipe, void *buffer, int length) in usb_emul_bulk() argument
[all …]
A Dsandbox_flash.c135 unsigned long pipe, void *buff, int len, in sandbox_flash_control() argument
140 if (pipe == usb_rcvctrlpipe(udev, 0)) { in sandbox_flash_control()
153 debug("pipe=%lx\n", pipe); in sandbox_flash_control()
212 unsigned long pipe, void *buff, int len) in sandbox_flash_bulk() argument
216 int ep = usb_pipeendpoint(pipe); in sandbox_flash_bulk()
220 dev->name, pipe, ep, len, info->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()
244 } else if (pipe == usb_sndctrlpipe(udev, 0)) { in sandbox_hub_submit_control_msg()
283 debug("pipe=%lx\n", pipe); in sandbox_hub_submit_control_msg()
/u-boot/include/linux/usb/
A Dusb_urb_compat.h18 unsigned long pipe, void *buffer, int len,
50 unsigned int pipe; /* (in) pipe information */ member
95 struct usb_device *dev, unsigned long pipe,
101 unsigned long pipe, void *buffer, int len);
105 unsigned long pipe, void *buffer, int len, int interval);
109 unsigned long pipe, void *buffer, int len,
/u-boot/common/
A Dusb.c204 int usb_int_msg(struct usb_device *dev, unsigned long pipe, in usb_int_msg() argument
272 int usb_bulk_msg(struct usb_device *dev, unsigned int pipe, in usb_bulk_msg() argument
278 if (submit_bulk_msg(dev, pipe, data, len) < 0) in usb_bulk_msg()
301 int usb_maxpacket(struct usb_device *dev, unsigned long pipe) in usb_maxpacket() argument
304 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket()
305 return dev->epmaxpacketout[((pipe>>15) & 0xf)]; in usb_maxpacket()
307 return dev->epmaxpacketin[((pipe>>15) & 0xf)]; in usb_maxpacket()
533 int usb_clear_halt(struct usb_device *dev, int pipe) in usb_clear_halt() argument
536 int endp = usb_pipeendpoint(pipe)|(usb_pipein(pipe)<<7); in usb_clear_halt()
551 usb_endpoint_running(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in usb_clear_halt()
[all …]
A Dusb_storage.c425 "halt for pipe 0x%x\n", pipe); in us_one_transfer()
427 usb_clear_halt(us->pusb_dev, pipe); in us_one_transfer()
469 unsigned int pipe; in usb_stor_BBB_reset() local
501 result = usb_clear_halt(us->pusb_dev, pipe); in usb_stor_BBB_reset()
555 unsigned int pipe; in usb_stor_BBB_comdat() local
603 unsigned int pipe; in usb_stor_CB_comdat() local
728 unsigned int pipe, pipein, pipeout; in usb_stor_BBB_transport() local
757 pipe = pipein; in usb_stor_BBB_transport()
759 pipe = pipeout; in usb_stor_BBB_transport()
815 pipe = le32_to_cpu(csw->dCSWDataResidue); in usb_stor_BBB_transport()
[all …]
A Dcli_hush.c198 struct pipe *pipe; member
241 struct pipe { struct
722 struct pipe *job; in builtin_jobs()
1352 struct pipe *thejob;
1422 struct pipe *pi;
1764 struct pipe *rpipe;
2339 struct pipe *pi;
2351 ctx->pipe=NULL;
2543 struct pipe *pi=ctx->pipe;
2587 struct pipe *new_p;
[all …]
/u-boot/arch/mips/mach-octeon/
A Dcvmx-helper-ilk.c327 unsigned char pipe) in __cvmx_ilk_write_rx_cal_entry_cn68xx() argument
374 rx_cal0.s.port_pipe0 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
378 rx_cal0.s.port_pipe1 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
382 rx_cal0.s.port_pipe2 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
386 rx_cal0.s.port_pipe3 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
390 rx_cal1.s.port_pipe4 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
394 rx_cal1.s.port_pipe5 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
398 rx_cal1.s.port_pipe6 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
402 rx_cal1.s.port_pipe7 = pipe; in __cvmx_ilk_write_rx_cal_entry_cn68xx()
420 unsigned char pipe) in __cvmx_ilk_write_rx_cal_entry() argument
[all …]
/u-boot/arch/arm/dts/
A Drk3568.dtsi26 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
102 reset-names = "pipe";
154 reset-names = "pipe";
220 clock-names = "ref", "apb", "pipe";
224 rockchip,pipe-grf = <&pipegrf>;
225 rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
239 compatible = "rockchip,rk3568-pipe-grf", "syscon";
/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 …]
/u-boot/arch/mips/mach-octeon/include/mach/
A Dcvmx-helper-ilk.h41 void __cvmx_ilk_write_rx_cal_entry(int interface, int channel, unsigned char pipe);

Completed in 88 milliseconds

12