Searched defs:pipe (Results 1 - 25 of 41) sorted by last modified time

12

/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c568 * USB pipe management
1020 usbgem_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1137 usbgem_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2500 "%s: err:%d failed to start polling of intr pipe",
2515 /* stop the interrupt pipe */
2540 /* stop polling interrupt pipe */
5700 /* XXX -- no need to open default pipe */
5702 /* open bulk out pipe */
5710 "!%s: %s: err:%x: failed to open bulk-out pipe",
5718 /* open bulk in pipe */
[all...]
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_drv.c73 enum pipe { enum
245 i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) argument
249 if (pipe == PIPE_A)
256 i915_save_palette(struct drm_device *dev, enum pipe pipe) argument
259 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B);
263 if (!i915_pipe_enabled(dev, pipe))
266 if (pipe == PIPE_A)
277 i915_restore_palette(struct drm_device *dev, enum pipe pip argument
[all...]
H A Di915_drm.h370 int pipe; member in struct:drm_i915_vblank_pipe
H A Di915_irq.c48 * Since pipe events are edge-triggered from the PIPESTAT register to IIR,
138 i915_pipestat(int pipe) argument
140 if (pipe == 0)
142 if (pipe == 1)
148 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, uint32_t mask) argument
150 if ((dev_priv->pipestat[pipe] & mask) != mask) {
151 u32 reg = i915_pipestat(pipe);
153 dev_priv->pipestat[pipe] |= mask;
155 I915_WRITE(reg, dev_priv->pipestat[pipe] | (mask >> 16));
161 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u3 argument
182 i915_pipe_enabled(struct drm_device *dev, int pipe) argument
193 i915_get_vblank_counter(struct drm_device *dev, int pipe) argument
416 gm45_get_vblank_counter(struct drm_device *dev, int pipe) argument
755 igdng_enable_vblank(struct drm_device *dev, int pipe) argument
773 igdng_disable_vblank(struct drm_device *dev, int pipe) argument
791 i915_enable_vblank(struct drm_device *dev, int pipe) argument
815 i915_disable_vblank(struct drm_device *dev, int pipe) argument
850 drm_i915_vblank_pipe_t pipe; local
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h1215 * returned when the file/pipe was opened. The following
1482 smb_opipe_t *pipe; /* for smb_opipe_open */ member in struct:open_param
1867 #define SMB_OPIPE_CMD "pipe open"
/illumos-gate/usr/src/uts/common/sys/
H A Dedonr.h80 } pipe[1]; member in struct:__anon423
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc904 FILE *pipe; local
916 if ((pipe = popen(mach_command, "r")) == NULL) {
919 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) {
923 if (pclose(pipe) != 0) {
959 FILE *pipe; local
971 if ((pipe = popen(arch_command, "r")) == NULL) {
974 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) {
978 if (pclose(pipe) != 0) {
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dlibmlrpc.h431 ndr_pipe_t *pipe; member in struct:ndr_xa
H A Dndr_svc.c216 hd->nh_pipe = xa->pipe;
292 * Called when a pipe is closed to release any associated handles.
295 ndr_hdclose(ndr_pipe_t *pipe) argument
306 if (hd->nh_pipe == pipe) {
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dhubdi.c349 * For the root hub the default pipe is not yet open
416 * usba_hubdi_detach also closes the default pipe
509 static void hubd_read_cb(usb_pipe_handle_t pipe, usb_intr_req_t *req);
510 static void hubd_exception_cb(usb_pipe_handle_t pipe,
2161 /* close the default pipe with addr x */
2182 /* open child's default pipe with USBA_DEFAULT_ADDR */
2187 "hubd_setdevaddr: Unable to open default pipe");
2254 /* open the default control pipe */
2275 * control pipe persistent, so that it gets re-opened
2281 "pipe ope
3444 hubd_exception_cb(usb_pipe_handle_t pipe, usb_intr_req_t *reqp) argument
3519 hubd_read_cb(usb_pipe_handle_t pipe, usb_intr_req_t *reqp) argument
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c1366 FILE *pipe; local
1389 pipe = popen(temp, "w");
1390 if (pipe != NULL) {
1391 (void) fprintf(pipe, "To: %s\n", usrname);
1394 (void) fprintf(pipe, CRONTABERR);
1395 (void) fprintf(pipe, "Your \"crontab\" on %s\n",
1397 (void) fprintf(pipe, mesg);
1398 (void) fprintf(pipe,
1402 (void) fprintf(pipe, "Subject: %s\n\n", mesg);
1403 (void) fprintf(pipe,
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c53 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) function
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum.c475 rum_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
506 rum_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1509 "rum_open_pipes(): %x failed to open tx pipe\n", err);
1523 "rum_open_pipes(): %x failed to open rx pipe\n", err);
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath.c454 "find pipe %x\n", ep_descr->bEndpointAddress);
463 "failed to open rx data pipe, err = %x\n",
473 "find pipe %x\n",
483 "failed to open tx command pipe, err = %x\n",
492 "find pipe %x\n",
502 "failed to open tx pipe, err = %x\n",
511 "find pipe %x\n",
521 "failed to open rx command pipe, err = %x\n",
640 uath_fw_send(struct uath_softc *sc, usb_pipe_handle_t pipe, argument
657 res = usb_pipe_bulk_xfer(pipe, send_re
1203 uath_cmd_txeof(usb_pipe_handle_t pipe, struct usb_bulk_req *req) argument
1224 uath_tx_cmd_xfer(struct uath_softc *sc, usb_pipe_handle_t pipe, const void *data, uint_t len) argument
1389 uath_cmd_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1490 uath_data_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1556 uath_data_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural.c410 ural_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
441 ural_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1503 "ural_open_pipes(): %x failed to open tx pipe\n", err);
1517 "ural_open_pipes(): %x failed to open rx pipe\n", err);
/illumos-gate/usr/src/uts/common/io/urtw/
H A Durtw.c2508 urtw_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2897 urtw_txeof_low(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2926 urtw_txeof_normal(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
3792 "urtw_open_pipes(): %x low priority pipe open failed\n",
3807 "urtw_open_pipes(): %x failed to open high tx pipe\n",
3822 "urtw_open_pipes(): %x failed to open rx pipe\n", err));
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c481 * Save a copy of the default pipe for easy reference
553 * initialize the pipe policy for the interrupt pipe.
769 * Open entry point: Opens the interrupt pipe. Sets up queues.
864 /* Open the interrupt pipe */
897 "unable to start intr pipe polling. rval = %d", rval);
989 * the default pipe, wait forever for them to complete.
1375 * Callback function for the hid intr pipe. This function is called by
1380 hid_interrupt_pipe_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1387 (void *)pipe, (voi
1437 hid_default_pipe_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
1501 hid_interrupt_pipe_exception_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1558 hid_default_pipe_exception_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c1014 "usbprn_open: pipe open failed");
1193 * Check the status of the pipe. If it's not idle,
1643 * Intitialize the pipe policy for the bulk out pipe
1650 /* Open bulk_out pipe */
1659 /* Open the bulk in pipe if one exists */
1662 * Initialize the pipe policy for the Bulk In pipe
1669 /* Open bulk_in pipe */
1712 * close the pipe, i
2338 usbprn_bulk_xfer_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2391 usbprn_bulk_xfer_exc_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbecm/
H A Dusbecm.c135 * resources(USBA does not set limitation of requests on a pipe),
1036 usbecm_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1198 usbecm_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1487 * start polling on the interrupt pipe
1544 * interrupt pipe normal callback
1578 * interrupt pipe exception callback
2683 * search interrupt pipe.
2919 "usbsecm_open_pipes: look up bulk pipe failed in "
2926 * If device conform to ecm spec, it must have an interrupt pipe
2931 "usbecm_open_pipes: look up interrupt pipe faile
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c118 /* pipe operations */
124 /* pipe callbacks */
905 * while the receive pipe is active
1484 * pipe operations
1633 * bulk in pipe normal and exception callback handler
1637 uftdi_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1767 uftdi_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1867 "uftdi_tx_start: pipe busy");
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsacm/
H A Dusbsacm.c173 * opened during attach. The pipe status is as following:
204 * of the device by polling the interrupt pipe.
277 /* pipe callbacks */
281 /* interrupt pipe */
305 /* pipe operations */
1559 /* search interrupt pipe. */
1974 * pipe management
2007 "usbsacm_open_port_pipes: look up bulk pipe failed in "
2015 * If device conform to acm spec, it must have an interrupt pipe
2020 "usbsacm_open_port_pipes: look up interrupt pipe faile
2231 usbsacm_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2292 usbsacm_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_pipe.c29 * keyspanport pipe routines (mostly device-neutral)
46 * initialize pipe structure with the given parameters
50 keyspan_pipe_t *pipe)
55 "pipe = %p, pipe_stat %x", (void *)pipe, pipe->pipe_state);
58 mutex_init(&pipe->pipe_mutex, NULL, MUTEX_DRIVER, (void *)NULL);
60 /* init pipe policy */
61 policy = &pipe->pipe_policy;
64 pipe
49 keyspan_init_one_pipe(keyspan_state_t *ksp, keyspan_port_t *kp, keyspan_pipe_t *pipe) argument
78 keyspan_fini_one_pipe(keyspan_pipe_t *pipe) argument
438 keyspan_open_one_pipe(keyspan_state_t *ksp, keyspan_pipe_t *pipe) argument
468 keyspan_open_pipe_datain_usa49wg(keyspan_state_t *ksp, keyspan_pipe_t *pipe) argument
523 keyspan_close_one_pipe(keyspan_pipe_t *pipe) argument
543 keyspan_close_pipe_datain_usa49wg(keyspan_pipe_t *pipe) argument
902 keyspan_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
963 keyspan_introut_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1138 keyspan_bulkin_cb_usa49(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1190 keyspan_bulkin_cb_usa49wg(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1345 keyspan_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1384 keyspan_status_cb_usa19hs(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1465 keyspan_status_cb_usa49(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1542 keyspan_status_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1793 keyspan_status_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1869 keyspan_intr_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1891 keyspan_intr_ex_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
[all...]
H A Dusbser_keyspan.c78 * 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) argument
527 rval = keyspan_write_memory(pipe, 0x7f92, &bit, 1, KEYSPAN_REQ_SET);
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, argument
563 while (usb_pipe_ctrl_xfer_wait(pipe->pipe_handle, &setup, &data,
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c112 /* pipe operations */
118 /* pipe callbacks */
1451 * pipe operations
1545 * pipe callbacks
1554 pl2303_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1599 pl2303_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1710 "pl2303_tx_start: pipe busy");
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c397 * Get the descriptor for an intr pipe at alt 0 of current interface.
398 * This will be used later to open the pipe.
580 * pipe opens.
653 * when they are closed. We can't reset default pipe, but we
697 usb_pipe_handle_t pipe = usbskelp->usbskel_reg->dev_default_ph; local
729 * a read would probably be done on a pipe other than the default pipe,
753 /* Autoclearing automatically set on default pipe. */
768 if ((status = usb_pipe_ctrl_xfer(pipe, request, USB_FLAGS_NOSLEEP)) !=
818 usbskel_normal_callback(usb_pipe_handle_t pipe, usb_ctrl_req_ argument
877 usbskel_exception_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *request) argument
[all...]

Completed in 214 milliseconds

12