/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | keyspan_pipe.c | 50 keyspan_pipe_t *pipe) in keyspan_init_one_pipe() argument 55 "pipe = %p, pipe_stat %x", (void *)pipe, pipe->pipe_state); in keyspan_init_one_pipe() 58 mutex_init(&pipe->pipe_mutex, NULL, MUTEX_DRIVER, (void *)NULL); in keyspan_init_one_pipe() 61 policy = &pipe->pipe_policy; in keyspan_init_one_pipe() 64 pipe->pipe_ksp = ksp; in keyspan_init_one_pipe() 67 pipe->pipe_lh = ksp->ks_lh; in keyspan_init_one_pipe() 70 pipe->pipe_lh = kp->kp_lh; in keyspan_init_one_pipe() 73 pipe->pipe_state = KEYSPAN_PIPE_CLOSED; in keyspan_init_one_pipe() 78 keyspan_fini_one_pipe(keyspan_pipe_t *pipe) in keyspan_fini_one_pipe() argument 80 USB_DPRINTF_L4(DPRINT_OPEN, pipe->pipe_ksp->ks_lh, in keyspan_fini_one_pipe() [all …]
|
H A D | usbser_keyspan.c | 519 keyspan_set_reg(keyspan_pipe_t *pipe, uchar_t bit) in keyspan_set_reg() argument 527 rval = keyspan_write_memory(pipe, 0x7f92, &bit, 1, KEYSPAN_REQ_SET); in keyspan_set_reg() 536 keyspan_write_memory(keyspan_pipe_t *pipe, uint16_t addr, uchar_t *buf, in keyspan_write_memory() argument 563 while (usb_pipe_ctrl_xfer_wait(pipe->pipe_handle, &setup, &data, in keyspan_write_memory()
|
/titanic_41/usr/src/uts/intel/io/drm/ |
H A D | i915_irq.c | 138 i915_pipestat(int pipe) in i915_pipestat() argument 140 if (pipe == 0) in i915_pipestat() 142 if (pipe == 1) in i915_pipestat() 148 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, uint32_t mask) in i915_enable_pipestat() argument 150 if ((dev_priv->pipestat[pipe] & mask) != mask) { in i915_enable_pipestat() 151 u32 reg = i915_pipestat(pipe); in i915_enable_pipestat() 153 dev_priv->pipestat[pipe] |= mask; in i915_enable_pipestat() 155 I915_WRITE(reg, dev_priv->pipestat[pipe] | (mask >> 16)); in i915_enable_pipestat() 161 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_disable_pipestat() argument 163 if ((dev_priv->pipestat[pipe] & mask) != 0) { in i915_disable_pipestat() [all …]
|
H A D | i915_drv.c | 69 enum pipe { enum 241 i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) in i915_pipe_enabled() argument 245 if (pipe == PIPE_A) in i915_pipe_enabled() 252 i915_save_palette(struct drm_device *dev, enum pipe pipe) in i915_save_palette() argument 255 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B); in i915_save_palette() 259 if (!i915_pipe_enabled(dev, pipe)) in i915_save_palette() 262 if (pipe == PIPE_A) in i915_save_palette() 273 i915_restore_palette(struct drm_device *dev, enum pipe pipe) in i915_restore_palette() argument 276 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B); in i915_restore_palette() 280 if (!i915_pipe_enabled(dev, pipe)) in i915_restore_palette() [all …]
|
/titanic_41/usr/src/uts/common/io/usb/usba/ |
H A D | README | 30 1. Control pipe state transitions:- 32 o Default control pipe (endpoint number 0): 38 usb_pipe_open USB_PIPE_STATE_CLOSED - Initialize pipe USB_PIPE_STATE_IDLE 81 Once pipe is closed - USB_PIPE_STATE_CLOSED 84 o Normal control pipe (endpoint number > 0): 90 usb_pipe_open USB_PIPE_STATE_CLOSED - Initialize pipe USB_PIPE_STATE_IDLE 128 Once pipe is closed - USB_PIPE_STATE_CLOSED 130 2. Bulk pipe state transitions (endpoint number > 1, both IN and OUT):- 136 usb_pipe_open USB_PIPE_STATE_CLOSED - Initialize pipe USB_PIPE_STATE_IDLE 168 Once pipe is closed - USB_PIPE_STATE_CLOSED [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | getcwd.c | 56 FILE *pipe; local 69 if((pipe = popen("pwd", "r")) == 0) 71 (void) fgets(arg1, arg2, pipe); 72 (void) pclose(pipe);
|
H A D | popen.c | 24 extern int execl(), vfork(), pipe(), close(), fcntl(); 47 if (pipe(p) < 0)
|
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_server.c | 100 mxa->pipe = np; in ndr_pipe_process() 142 smb_netuserinfo_t *ctx = xa->pipe->np_user; in ndr_is_admin() 156 smb_netuserinfo_t *ctx = xa->pipe->np_user; in ndr_is_poweruser() 165 smb_netuserinfo_t *ctx = xa->pipe->np_user; in ndr_native_os() 240 rc = NDR_PIPE_RECV(mxa->pipe, data, NDR_RSP_HDR_SIZE); in ndr_recv_frag() 251 hdr->frag_length > mxa->pipe->np_max_xmit_frag) in ndr_recv_frag() 267 rc = NDR_PIPE_RECV(mxa->pipe, data, pay_size); in ndr_recv_frag() 613 if (mxa->pipe->np_max_xmit_frag > in ndr_reply_prepare_hdr() 615 mxa->pipe->np_max_xmit_frag = in ndr_reply_prepare_hdr() 617 if (mxa->pipe->np_max_recv_frag > in ndr_reply_prepare_hdr() [all …]
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | coprocess.sh | 64 ping pipe |& 67 for i in three four pipe four pipe four three pipe pipe three pipe 71 pipe) to=-p;; 87 pipe) ;;
|
/titanic_41/usr/src/cmd/ypcmd/ypupdated/ |
H A D | openchild.c | 61 extern int pipe(); 80 if (pipe(pdto) < 0) { 83 if (pipe(pdfrom) < 0) {
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | pipe.c | 26 #pragma weak _pipe = pipe 32 pipe(int *fds) in pipe() function
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | bsd-cygwin_util.c | 53 #if defined(pipe) && open == binary_pipe 54 # undef pipe 70 int ret = pipe(fd); in binary_pipe()
|
/titanic_41/usr/src/uts/common/io/zyd/ |
H A D | zyd_usb.c | 347 usb_pipe_handle_t *pipe, usb_ep_data_t *endpoint) in zyd_usb_open_pipe() argument 366 &pipe_policy, USB_FLAGS_SLEEP, pipe) != USB_SUCCESS) { in zyd_usb_open_pipe() 484 zyd_data_out_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) in zyd_data_out_cb() argument 517 zyd_bulk_pipe_cb(usb_pipe_handle_t pipe, struct usb_bulk_req *req) in zyd_bulk_pipe_cb() argument 528 usb_pipe_handle_t pipe, const void *data, size_t len) in zyd_usb_bulk_pipe_send() argument 553 res = usb_pipe_bulk_xfer(pipe, send_req, USB_FLAGS_NOSLEEP); in zyd_usb_bulk_pipe_send() 564 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0); in zyd_usb_bulk_pipe_send() 583 zyd_intr_pipe_cb(usb_pipe_handle_t pipe, struct usb_intr_req *req) in zyd_intr_pipe_cb() argument 601 usb_pipe_handle_t pipe, const void *data, size_t len) in zyd_usb_intr_pipe_send() argument 626 res = usb_pipe_intr_xfer(pipe, send_req, 0); in zyd_usb_intr_pipe_send() [all …]
|
/titanic_41/usr/src/lib/libdscfg/common/ |
H A D | cfg_cluster.c | 124 FILE *pipe; in cfg_cluster_init() local 139 pipe = popen("/usr/sbin/clinfo -n 2>/dev/null || echo 0", "r"); in cfg_cluster_init() 140 if (pipe == NULL) { in cfg_cluster_init() 148 if ((rc = fscanf(pipe, "%d", &id)) != 1) { in cfg_cluster_init() 156 pclose(pipe); in cfg_cluster_init()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | pipe.c | 53 int pipe(intptr_t fds, int); 58 (int (*)())pipe 108 pipe(intptr_t arg, int flags) in pipe() function
|
/titanic_41/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 86 if (pipe(output) == -1) { in cmd_execute_command() 90 if (pipe(error) == -1) { in cmd_execute_command() 187 if (pipe(output) == -1) { in cmd_execute_command_and_retrieve_string()
|
/titanic_41/usr/src/cmd/refer/ |
H A D | refer3.c | 28 pipe(pipev); in corout() 31 pipe(pipev); in corout()
|
H A D | glue3.c | 44 pipe(pipev); in corout() 47 pipe(pipev); in corout()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_frame.c | 176 frame->pipe = TRUE; in mdb_frame_set_pipe() 182 frame->pipe = FALSE; in mdb_frame_clear_pipe() 190 while (frame && frame->pipe == FALSE) in mdb_frame_pipe()
|
/titanic_41/usr/src/cmd/mailx/ |
H A D | popen.c | 63 extern int execlp(), fork(), pipe(), close(), fcntl(); 87 if(pipe(p) < 0) in npopen()
|
/titanic_41/usr/src/lib/libgen/common/ |
H A D | p2open.c | 76 if (pipe(tocmd) < 0 || pipe(fromcmd) < 0) in __p2open()
|
/titanic_41/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | pipe.s | 31 ENTRY(pipe) 41 SET_SIZE(pipe)
|
/titanic_41/usr/src/lib/libc/common/sys/ |
H A D | pipe2.s | 30 SYSCALL2(pipe2,pipe);
|
/titanic_41/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_utils.c | 40 if (pipe(notify_pipe) < 0) { in notify_setup()
|
/titanic_41/usr/src/cmd/ssh/include/ |
H A D | bsd-cygwin_util.h | 55 #define pipe binary_pipe macro
|