Home
last modified time | relevance | path

Searched full:pipe (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dprocess.py64 "stdout": subprocess.PIPE,
65 "stderr": subprocess.PIPE,
66 "stdin": subprocess.PIPE,
75 def _logged_communicate(pipe, log, input, extrafiles): argument
76 if pipe.stdin:
78 pipe.stdin.write(input)
79 pipe.stdin.close()
84 if pipe.stdout is not None:
85 bb.utils.nonblockingfd(pipe.stdout.fileno())
86 rin.append(pipe.stdout)
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dusb-sandbox.c16 static void usbmon_trace(struct udevice *bus, ulong pipe, in usbmon_trace() argument
22 type = (pipe & USB_PIPE_TYPE_MASK) >> USB_PIPE_TYPE_SHIFT; in usbmon_trace()
24 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
26 (pipe & USB_PIPE_DEV_MASK) >> USB_PIPE_DEV_SHIFT, in usbmon_trace()
27 (pipe & USB_PIPE_EP_MASK) >> USB_PIPE_EP_SHIFT); in usbmon_trace()
40 unsigned long pipe, in sandbox_submit_control() argument
50 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_control()
51 usbmon_trace(bus, pipe, setup, emul); in sandbox_submit_control()
55 if (usb_pipedevice(pipe) == ctrl->rootdev) { in sandbox_submit_control()
62 ret = usb_emul_control(emul, udev, pipe, buffer, length, setup); in sandbox_submit_control()
[all …]
H A Dsl811-hcd.c44 static int sl811_rh_submit_urb(struct usb_device *usb_dev, unsigned long pipe,
214 static int sl811_send_packet(struct usb_device *dev, unsigned long pipe, __u8 *buffer, int len) in sl811_send_packet() argument
225 if (usb_pipeout(pipe)) in sl811_send_packet()
227 if (usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) in sl811_send_packet()
237 if (usb_pipeout(pipe) && len) in sl811_send_packet()
263 if (usb_pipein(pipe) && len) in sl811_send_packet()
287 int submit_bulk_msg(struct usb_device *dev, unsigned long pipe, void *buffer, in submit_bulk_msg() argument
290 int dir_out = usb_pipeout(pipe); in submit_bulk_msg()
291 int ep = usb_pipeendpoint(pipe); in submit_bulk_msg()
292 int max = usb_maxpacket(dev, pipe); in submit_bulk_msg()
[all …]
H A Dehci-hcd.c300 ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer, in ehci_submit_async() argument
317 debug("dev=%p, pipe=%lx, buffer=%p, length=%d, req=%p\n", dev, pipe, in ehci_submit_async()
394 toggle = usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe)); in ehci_submit_async()
407 c = (dev->speed != USB_SPEED_HIGH) && !usb_pipeendpoint(pipe); in ehci_submit_async()
408 maxpacket = usb_maxpacket(dev, pipe); in ehci_submit_async()
412 QH_ENDPT1_ENDPT(usb_pipeendpoint(pipe)) | QH_ENDPT1_I(0) | in ehci_submit_async()
413 QH_ENDPT1_DEVADDR(usb_pipedevice(pipe)); in ehci_submit_async()
500 QT_TOKEN_PID(usb_pipein(pipe) ? in ehci_submit_async()
536 QT_TOKEN_PID(usb_pipein(pipe) ? in ehci_submit_async()
575 timeout = USB_TIMEOUT_MS(pipe); in ehci_submit_async()
[all …]
H A Dohci-hcd.c208 unsigned long pipe, void *buffer, int transfer_len,
214 unsigned long pipe, int interval, int load);
277 unsigned long pipe, void *buffer, int transfer_len, in pkt_print() argument
283 usb_pipedevice(pipe), in pkt_print()
284 usb_pipeendpoint(pipe), in pkt_print()
285 usb_pipeout(pipe)? 'O': 'I', in pkt_print()
286 usb_pipetype(pipe) < 2 ? \ in pkt_print()
287 (usb_pipeint(pipe)? "INTR": "ISOC"): \ in pkt_print()
288 (usb_pipecontrol(pipe)? "CTRL": "BULK"), in pkt_print()
295 if (usb_pipecontrol(pipe)) { in pkt_print()
[all …]
H A Dr8a66597-hcd.c251 struct usb_device *dev, unsigned long pipe) in pipe_buffer_setting() argument
256 if (usb_pipein(pipe)) { in pipe_buffer_setting()
259 maxpacket = dev->epmaxpacketin[usb_pipeendpoint(pipe)]; in pipe_buffer_setting()
263 maxpacket = dev->epmaxpacketout[usb_pipeendpoint(pipe)]; in pipe_buffer_setting()
275 if (!usb_pipein(pipe)) in pipe_buffer_setting()
279 val |= R8A66597_BULK | R8A66597_DBLB | usb_pipeendpoint(pipe); in pipe_buffer_setting()
283 r8a66597_write(r8a66597, make_devsel(usb_pipedevice(pipe)) | in pipe_buffer_setting()
343 unsigned long pipe, void *buffer, int transfer_len) in send_bulk_packet() argument
361 bufsize = dev->epmaxpacketout[usb_pipeendpoint(pipe)]; in send_bulk_packet()
392 unsigned long pipe, in receive_bulk_packet() argument
[all …]
H A Ddwc2.c788 unsigned long pipe, void *buffer, int txlen, in dwc_otg_submit_rh_msg() argument
793 if (usb_pipeint(pipe)) { in dwc_otg_submit_rh_msg()
906 unsigned long pipe, u8 *pid, int in, void *buffer, int len) in chunk_msg() argument
911 int devnum = usb_pipedevice(pipe); in chunk_msg()
912 int ep = usb_pipeendpoint(pipe); in chunk_msg()
913 int max = usb_maxpacket(dev, pipe); in chunk_msg()
914 int eptype = dwc2_eptype[usb_pipetype(pipe)]; in chunk_msg()
925 debug("%s: msg: pipe %lx pid %d in %d len %d\n", __func__, pipe, *pid, in chunk_msg()
1033 unsigned long pipe, void *buffer, int len) in _submit_bulk_msg() argument
1035 int devnum = usb_pipedevice(pipe); in _submit_bulk_msg()
[all …]
H A Dxhci.c877 * @param pipe contains the DIR_IN or OUT , devnum
881 static int xhci_submit_root(struct usb_device *udev, unsigned long pipe, in xhci_submit_root() argument
1105 * @param pipe contains the DIR_IN or OUT , devnum
1111 static int _xhci_submit_int_msg(struct usb_device *udev, unsigned long pipe, in _xhci_submit_int_msg() argument
1114 if (usb_pipetype(pipe) != PIPE_INTERRUPT) { in _xhci_submit_int_msg()
1115 printf("non-interrupt pipe (type=%lu)", usb_pipetype(pipe)); in _xhci_submit_int_msg()
1125 return xhci_bulk_tx(udev, pipe, length, buffer); in _xhci_submit_int_msg()
1132 * @param pipe contains the DIR_IN or OUT , devnum
1137 static int _xhci_submit_bulk_msg(struct usb_device *udev, unsigned long pipe, in _xhci_submit_bulk_msg() argument
1140 if (usb_pipetype(pipe) != PIPE_BULK) { in _xhci_submit_bulk_msg()
[all …]
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_uboot.c34 unsigned long pipe, void *buffer, int len, in construct_urb() argument
37 int epnum = usb_pipeendpoint(pipe); in construct_urb()
38 int is_in = usb_pipein(pipe); in construct_urb()
48 urb->pipe = pipe; in construct_urb()
75 timeout = get_timer(0) + USB_TIMEOUT_MS(urb->pipe); in submit_urb()
90 struct usb_device *dev, unsigned long pipe, in _musb_submit_control_msg() argument
94 pipe, buffer, len, setup, 0); in _musb_submit_control_msg()
104 struct usb_device *dev, unsigned long pipe, void *buffer, int len) in _musb_submit_bulk_msg() argument
107 pipe, buffer, len, NULL, 0); in _musb_submit_bulk_msg()
112 struct usb_device *dev, unsigned long pipe, in _musb_submit_int_msg() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/
H A D0001-pipe.c-Use-a-string-instead-of-char.patch4 Subject: [PATCH] pipe.c: Use a string instead of char
13 src/pipe.cpp | 2 +-
16 diff --git a/src/pipe.cpp b/src/pipe.cpp
18 --- a/src/pipe.cpp
19 +++ b/src/pipe.cpp
20 @@ -83,5 +83,5 @@ ssize_t Pipe::read(void *buffer, unsigned int &nbytes)
21 void Pipe::signal()
H A D0003-Fixed-undefined-ssize_t-for-clang-3.8.0-on-FreeBSD.patch12 include/dbus-c++/pipe.h | 2 ++
15 diff --git a/include/dbus-c++/pipe.h b/include/dbus-c++/pipe.h
17 --- a/include/dbus-c++/pipe.h
18 +++ b/include/dbus-c++/pipe.h
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl/
H A D0001-support-cross-complication.patch37 - subprocess.call(['gcc','-v'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
42 -sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PI…
48 -sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PI…
/openbmc/u-boot/include/
H A Dusb.h47 #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,
258 int usb_control_msg(struct usb_device *dev, unsigned int pipe,
262 int usb_bulk_msg(struct usb_device *dev, unsigned int pipe,
264 int usb_submit_int_msg(struct usb_device *dev, unsigned long pipe,
267 int usb_maxpacket(struct usb_device *dev, unsigned long pipe);
276 int usb_clear_halt(struct usb_device *dev, int pipe);
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py116 stdout=subprocess.PIPE,
120 self.pipe = self.p.stdout
124 stdin=subprocess.PIPE,
129 self.pipe = self.p.stdin
146 self.pipe.close()
158 return self.pipe.fileno()
161 self.pipe.flush()
164 return self.pipe.isatty()
179 size = self.pipe.readinto(b)
191 data = self.pipe.write(data)
/openbmc/u-boot/drivers/usb/emul/
H A Dusb-emul-uclass.c161 int usb_emul_find(struct udevice *bus, ulong pipe, int port1, in usb_emul_find() argument
164 int devnum = usb_pipedevice(pipe); in usb_emul_find()
177 unsigned long pipe, void *buffer, int length, in usb_emul_control() argument
189 if (pipe == usb_rcvctrlpipe(udev, 0)) { in usb_emul_control()
199 return ops->control(emul, udev, pipe, buffer, length, in usb_emul_control()
202 } else if (pipe == usb_snddefctrl(udev)) { in usb_emul_control()
213 } else if (pipe == usb_sndctrlpipe(udev, 0)) { in usb_emul_control()
222 return ops->control(emul, udev, pipe, buffer, length, in usb_emul_control()
226 debug("pipe=%lx\n", pipe); in usb_emul_control()
232 unsigned long pipe, void *buffer, int length) in usb_emul_bulk() argument
[all …]
/openbmc/qemu/include/hw/xen/interface/io/
H A Dusbif.h144 * | pipe | 8
163 * pipe - uint32_t, bit field with multiple information:
259 * USB pipe in usbif_request
276 * - pipe type: bits 30-31
295 #define usbif_pipeportnum(pipe) ((pipe) & USBIF_PIPE_PORT_MASK) argument
296 #define usbif_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument
298 #define usbif_pipeunlink(pipe) ((pipe) & USBIF_PIPE_UNLINK) argument
299 #define usbif_pipesubmit(pipe) (!usbif_pipeunlink(pipe)) argument
300 #define usbif_setunlink_pipe(pipe) ((pipe) | USBIF_PIPE_UNLINK) argument
302 #define usbif_pipein(pipe) ((pipe) & USBIF_PIPE_DIR) argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/
H A D0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch45 stdin=PIPE,
46 stdout=PIPE,
47 stderr=PIPE,
54 stdin=PIPE,
55 stdout=PIPE,
56 stderr=PIPE,
/openbmc/u-boot/drivers/video/
H 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 …]
/openbmc/u-boot/tools/patman/
H A Dgitutil.py62 pipe = [LogCmd('@{upstream}..', oneline=True),
64 stdout = command.RunPipe(pipe, capture=True, oneline=True).stdout
77 pipe = ['git', 'name-rev', commit_hash]
78 stdout = command.RunPipe([pipe], capture=True, oneline=True).stdout
100 pipe = [LogCmd(branch, git_dir=git_dir, oneline=True, count=100)]
101 result = command.RunPipe(pipe, capture=True, capture_stderr=True,
171 pipe = [LogCmd(range_expr, git_dir=git_dir, oneline=True)]
172 result = command.RunPipe(pipe, capture=True, capture_stderr=True,
202 pipe = [LogCmd(commit_range, oneline=True),
204 stdout = command.RunPipe(pipe, capture=True, oneline=True).stdout
[all …]
H A Dcommand.py36 # a function, then that function is called with the pipe list being
51 example [ ['ls', '.git'] ['wc'] ] will pipe the output of
73 user_pipestr = '|'.join([' '.join(pipe) for pipe in pipe_list])
83 kwargs['stdout'] = cros_subprocess.PIPE
87 kwargs['stderr'] = cros_subprocess.PIPE
H A Dcros_subprocess.py27 PIPE = subprocess.PIPE variable
29 PIPE_PTY = -3 # Pipe output through a pty
42 Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
129 set both stdout and stderr to PIPE or PIPE_PTY. Even then it depends on
267 pipe = os.pipe()
268 self.stdin_read_pipe = pipe[0]
269 self._stdin_write_pipe = os.fdopen(pipe[1], 'w')
388 # Now try with PIPE and make sure it is not a terminal
390 plist = Popen(both_cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
/openbmc/openbmc/poky/meta/recipes-devtools/cmake/cmake/
H A D0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch4 Subject: [PATCH] CMakeDetermineCompilerABI: Strip -pipe from compile flags
6 When `-pipe` is enabled, GCC passes data between its different
28 Fix this issue by stripping the `-pipe` parameter from the compilation
56 + # Avoid passing of "-pipe" when determining the compiler internals. With
57 + # "-pipe" GCC will use pipes to pass data between the involved
60 + string(REGEX REPLACE "(^| )-pipe( |$)" " " ${v} "${${v}}")
/openbmc/openbmc/poky/documentation/
H A Dset_versions.py104 …o-%s" % release_series[activereleases[0]]], stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=…
109 ….run(["git", "tag", "--points-at", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
127 …ss.run(["git", "branch", "--show-current"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
135 … "--format=oneline", "HEAD..origin/" + b], stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
158 …ess.run(["git", "tag", "--merged", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
160 ….run(["git", "tag", "--merged", ourbranch], stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
245 …s*' % (release_series[branch]), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
290 …ist", "--sort=version:refname", "yocto-*"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, univer…
/openbmc/libmctp/utils/
H A Dmeson.build21 pipe = executable( variable
22 'mctp-pipe',
23 'mctp-pipe.c',
/openbmc/bmcweb/test/include/
H A Dcredential_pipe_test.cpp34 CredentialsPipe pipe(io); in TEST() local
35 testPipe = boost::asio::readable_pipe(io, pipe.releaseFd()); in TEST()
37 pipe.asyncWrite("username", "password", in TEST()

12345678910>>...15