| /openbmc/qemu/include/hw/xen/interface/io/ |
| H A D | usbif.h | 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 303 #define usbif_pipeout(pipe) (!usbif_pipein(pipe)) argument 305 #define usbif_pipedevice(pipe) \ argument 306 (((pipe) >> USBIF_PIPE_DEV_SHIFT) & USBIF_PIPE_DEV_MASK) 308 #define usbif_pipeendpoint(pipe) \ argument [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ |
| H A D | process.py | 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) 87 if pipe.stderr is not None: 88 bb.utils.nonblockingfd(pipe.stderr.fileno()) 89 rin.append(pipe.stderr) [all …]
|
| /openbmc/u-boot/include/ |
| H A D | usb.h | 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, 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/u-boot/drivers/usb/host/ |
| H A D | usb-sandbox.c | 16 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 D | sl811-hcd.c | 44 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 D | ohci-hcd.c | 208 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 D | ehci-hcd.c | 300 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 D | dwc2.c | 788 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 D | r8a66597-hcd.c | 251 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 D | xhci.c | 881 static int xhci_submit_root(struct usb_device *udev, unsigned long pipe, in xhci_submit_root() argument 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() 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() 1141 printf("non-bulk pipe (type=%lu)", usb_pipetype(pipe)); in _xhci_submit_bulk_msg() 1145 return xhci_bulk_tx(udev, pipe, length, buffer); in _xhci_submit_bulk_msg() 1159 static int _xhci_submit_control_msg(struct usb_device *udev, unsigned long pipe, in _xhci_submit_control_msg() argument [all …]
|
| /openbmc/u-boot/drivers/usb/musb-new/ |
| H A D | musb_uboot.c | 34 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/u-boot/drivers/video/ |
| H 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 …]
|
| /openbmc/u-boot/tools/patman/ |
| H A D | gitutil.py | 62 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 …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/ |
| H A D | 0001-pipe.c-Use-a-string-instead-of-char.patch | 4 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
|
| H A D | 0003-Fixed-undefined-ssize_t-for-clang-3.8.0-on-FreeBSD.patch | 12 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/u-boot/drivers/usb/emul/ |
| H A D | usb-emul-uclass.c | 161 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/openbmc/poky/bitbake/lib/bb/compress/ |
| H A D | _pipecompress.py | 120 self.pipe = self.p.stdout 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/bmcweb/test/include/ |
| H A D | credential_pipe_test.cpp | 34 CredentialsPipe pipe(io); in TEST() local 35 testPipe = boost::asio::readable_pipe(io, pipe.releaseFd()); in TEST() 37 pipe.asyncWrite("username", "password", in TEST()
|
| /openbmc/libmctp/utils/ |
| H A D | meson.build | 21 pipe = executable( variable 22 'mctp-pipe', 23 'mctp-pipe.c',
|
| /openbmc/openbmc/poky/meta/recipes-devtools/cmake/cmake/ |
| H A D | 0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch | 4 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/phosphor-bmc-code-mgmt/bmc/ |
| H A D | utils.cpp | 108 FILE* pipe = popen(cmd.c_str(), "r"); in executeCmd() local 109 if (!pipe) in executeCmd() 114 while (fgets(buffer.data(), buffer.size(), pipe) != nullptr) in executeCmd() 118 rc = pclose(pipe); in executeCmd()
|
| /openbmc/u-boot/common/ |
| H A D | usb_storage.c | 363 static int us_one_transfer(struct us_data *us, int pipe, char *buf, int length) in us_one_transfer() argument 373 max_size = usb_maxpacket(us->pusb_dev, pipe) * 16; in us_one_transfer() 391 result = usb_bulk_msg(us->pusb_dev, pipe, buf, in us_one_transfer() 405 "halt for pipe 0x%x\n", pipe); in us_one_transfer() 407 usb_clear_halt(us->pusb_dev, pipe); in us_one_transfer() 449 unsigned int pipe; in usb_stor_BBB_reset() local 480 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in usb_stor_BBB_reset() 481 result = usb_clear_halt(us->pusb_dev, pipe); in usb_stor_BBB_reset() 487 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usb_stor_BBB_reset() 488 result = usb_clear_halt(us->pusb_dev, pipe); in usb_stor_BBB_reset() [all …]
|
| H A D | usb.c | 197 int usb_submit_int_msg(struct usb_device *dev, unsigned long pipe, in usb_submit_int_msg() argument 200 return submit_int_msg(dev, pipe, buffer, transfer_len, interval); in usb_submit_int_msg() 212 int usb_control_msg(struct usb_device *dev, unsigned int pipe, in usb_control_msg() argument 236 err = submit_control_msg(dev, pipe, data, size, setup_packet); in usb_control_msg() 264 int usb_bulk_msg(struct usb_device *dev, unsigned int pipe, in usb_bulk_msg() argument 270 if (submit_bulk_msg(dev, pipe, data, len) < 0) in usb_bulk_msg() 293 int usb_maxpacket(struct usb_device *dev, unsigned long pipe) in usb_maxpacket() argument 296 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket() 297 return dev->epmaxpacketout[((pipe>>15) & 0xf)]; in usb_maxpacket() 299 return dev->epmaxpacketin[((pipe>>15) & 0xf)]; in usb_maxpacket() [all …]
|
| H A D | cli_hush.c | 199 struct pipe *list_head; 200 struct pipe *pipe; member 231 struct pipe *group; /* if non-NULL, first in group or subshell */ 237 struct pipe *family; /* pointer back to the child's parent pipe */ 243 struct pipe { struct 255 struct pipe *next; /* to track background commands */ argument 298 static struct pipe *job_list; 439 static int free_pipe_list(struct pipe *head, int indent); 440 static int free_pipe(struct pipe *pi, int indent); 445 static int run_list_real(struct pipe *pi); [all …]
|
| /openbmc/phosphor-fan-presence/ |
| H A D | hwmon_ffdc.cpp | 27 std::unique_ptr<FILE, decltype(pipe_close)> pipe( in executeCommand() local 29 if (!pipe) in executeCommand() 35 while (fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr) in executeCommand()
|