/titanic_51/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | keyspan_pipe.c | 29 * keyspanport pipe routines (mostly device-neutral) 46 * initialize pipe structure with the given parameters 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() 60 /* init pipe policy */ in keyspan_init_one_pipe() 61 policy = &pipe->pipe_policy; in keyspan_init_one_pipe() 64 pipe in keyspan_init_one_pipe() 78 keyspan_fini_one_pipe(keyspan_pipe_t * pipe) keyspan_fini_one_pipe() argument 438 keyspan_open_one_pipe(keyspan_state_t * ksp,keyspan_pipe_t * pipe) keyspan_open_one_pipe() argument 468 keyspan_open_pipe_datain_usa49wg(keyspan_state_t * ksp,keyspan_pipe_t * pipe) keyspan_open_pipe_datain_usa49wg() argument 523 keyspan_close_one_pipe(keyspan_pipe_t * pipe) keyspan_close_one_pipe() argument 543 keyspan_close_pipe_datain_usa49wg(keyspan_pipe_t * pipe) keyspan_close_pipe_datain_usa49wg() argument 902 keyspan_bulkout_cb(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_bulkout_cb() argument 963 keyspan_introut_cb_usa49wg(usb_pipe_handle_t pipe,usb_intr_req_t * req) keyspan_introut_cb_usa49wg() argument 1138 keyspan_bulkin_cb_usa49(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_bulkin_cb_usa49() argument 1190 keyspan_bulkin_cb_usa49wg(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_bulkin_cb_usa49wg() argument 1345 keyspan_bulkin_cb(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_bulkin_cb() argument 1384 keyspan_status_cb_usa19hs(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_status_cb_usa19hs() argument 1465 keyspan_status_cb_usa49(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_status_cb_usa49() argument 1542 keyspan_status_cb(usb_pipe_handle_t pipe,usb_bulk_req_t * req) keyspan_status_cb() argument 1793 keyspan_status_cb_usa49wg(usb_pipe_handle_t pipe,usb_intr_req_t * req) keyspan_status_cb_usa49wg() argument 1869 keyspan_intr_cb_usa49wg(usb_pipe_handle_t pipe,usb_intr_req_t * req) keyspan_intr_cb_usa49wg() argument 1891 keyspan_intr_ex_cb_usa49wg(usb_pipe_handle_t pipe,usb_intr_req_t * req) keyspan_intr_ex_cb_usa49wg() argument [all...] |
H A D | usbser_keyspan.c | 78 * Each port has its own data in/out pipes and each pipe also has its own states 79 * (traced by keyspan_pipe structure). The pipe states is as following: 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() 533 * Download firmware or set register to the device by default ctrl pipe 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_51/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 i [all...] |
/titanic_51/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_51/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() 610 * and store in the pipe endpoint. Note "xmit" is in ndr_reply_prepare_hdr() 613 if (mxa->pipe->np_max_xmit_frag > in ndr_reply_prepare_hdr() 615 mxa->pipe in ndr_reply_prepare_hdr() [all...] |
H A D | ndr_svc.c | 216 hd->nh_pipe = xa->pipe; in ndr_hdalloc() 292 * Called when a pipe is closed to release any associated handles. 295 ndr_hdclose(ndr_pipe_t *pipe) in ndr_hdclose() argument 306 if (hd->nh_pipe == pipe) { in ndr_hdclose()
|
/titanic_51/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_51/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | coprocess.sh | 72 ping pipe |& 75 for i in three four pipe four pipe four three pipe pipe three pipe 79 pipe) to=-p;; 95 pipe) ;;
|
/titanic_51/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_51/usr/src/lib/libc/port/gen/ |
H A D | pipe.c | 26 #pragma weak _pipe = pipe 32 pipe(int *fds) in pipe() function
|
/titanic_51/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_51/usr/src/uts/common/io/zyd/ |
H A D | zyd_usb.c | 112 * Vendor-specific write to the default control pipe. 149 "control pipe send failure (%d)\n", err)); in zyd_usb_ctrl_send() 157 * Vendor-specific read from the default control pipe. 185 ZYD_WARN("control pipe receive failure (%d)\n", err); in zyd_usb_ctrl_recv() 192 ZYD_WARN("control pipe failure: " in zyd_usb_ctrl_recv() 336 * Open a pipe to a given endpoint address/direction in the given 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() 367 ZYD_WARN("failed to open pipe %u\n", ep_address); in zyd_usb_open_pipe() 407 ZYD_WARN("failed to open data OUT pipe\ in zyd_usb_open_pipes() 484 zyd_data_out_cb(usb_pipe_handle_t pipe,usb_bulk_req_t * req) zyd_data_out_cb() argument 517 zyd_bulk_pipe_cb(usb_pipe_handle_t pipe,struct usb_bulk_req * req) zyd_bulk_pipe_cb() argument 528 zyd_usb_bulk_pipe_send(struct zyd_usb * uc,usb_pipe_handle_t pipe,const void * data,size_t len) zyd_usb_bulk_pipe_send() argument 583 zyd_intr_pipe_cb(usb_pipe_handle_t pipe,struct usb_intr_req * req) zyd_intr_pipe_cb() argument 601 zyd_usb_intr_pipe_send(struct zyd_usb * uc,usb_pipe_handle_t pipe,const void * data,size_t len) zyd_usb_intr_pipe_send() argument 759 zyd_cmd_in_cb(usb_pipe_handle_t pipe,usb_intr_req_t * req) zyd_cmd_in_cb() argument 821 zyd_cmd_in_exc_cb(usb_pipe_handle_t pipe,usb_intr_req_t * req) zyd_cmd_in_exc_cb() argument 886 zyd_data_in_cb(usb_pipe_handle_t pipe,usb_bulk_req_t * req) zyd_data_in_cb() argument 967 zyd_data_in_exc_cb(usb_pipe_handle_t pipe,usb_bulk_req_t * req) zyd_data_in_exc_cb() argument [all...] |
/titanic_51/usr/src/uts/common/syscall/ |
H A D | pipe.c | 53 int pipe(intptr_t fds, int); 58 (int (*)())pipe 65 &mod_syscallops, "pipe(2) syscall", &pipe_sysent 70 &mod_syscallops32, "32-bit pipe(2) syscall", &pipe_sysent 102 * pipe(2) system call. 103 * Create a pipe by connecting two streams together. Associate 104 * each end of the pipe with a vnode, a file descriptor and 108 pipe(intptr_t arg, int flags) in pipe() function
|
/titanic_51/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_51/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_51/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_51/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_51/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | pipe.s | 31 ENTRY(pipe) 41 SET_SIZE(pipe)
|
/titanic_51/usr/src/lib/libgen/common/ |
H A D | p2open.c | 33 * Similar to popen(3S) but with pipe to cmd's stdin and from stdout. 76 if (pipe(tocmd) < 0 || pipe(fromcmd) < 0) in __p2open()
|
/titanic_51/usr/src/lib/libc/common/sys/ |
H A D | pipe2.s | 30 SYSCALL2(pipe2,pipe);
|
/titanic_51/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_utils.c | 40 if (pipe(notify_pipe) < 0) { in notify_setup()
|
/titanic_51/usr/src/cmd/vi/port/ |
H A D | ex_unix.c | 276 if ((mode & 1) && pipe(pvec) < 0) { 280 error(gettext("Can't make pipe for filter")); 383 if (pipe(pvec) < 0) in vi_filter() 384 error(gettext("Can't make pipe")); in vi_filter() 440 * Set up to do a recover, getting io to be a pipe from 448 if (pipe(pvec) < 0) in recover() 449 error(gettext(" Can't make pipe for recovery")); in recover()
|
/titanic_51/usr/src/cmd/make/lib/mksh/ |
H A D | macro.cc | 904 FILE *pipe; in init_arch_macros() local 916 if ((pipe = popen(mach_command, "r")) == NULL) { in init_arch_macros() 919 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) { in init_arch_macros() 923 if (pclose(pipe) != 0) { in init_arch_macros() 959 FILE *pipe; in init_mach_macros() local 971 if ((pipe = popen(arch_command, "r")) == NULL) { in init_mach_macros() 974 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) { in init_mach_macros() 978 if (pclose(pipe) != 0) { in init_mach_macros()
|