Lines Matching defs:pipe

112  * Vendor-specific write to the default control pipe.
149 "control pipe send failure (%d)\n", err));
157 * Vendor-specific read from the default control pipe.
185 ZYD_WARN("control pipe receive failure (%d)\n", err);
192 ZYD_WARN("control pipe failure: "
336 * Open a pipe to a given endpoint address/direction in the given
347 usb_pipe_handle_t *pipe, usb_ep_data_t *endpoint)
366 &pipe_policy, USB_FLAGS_SLEEP, pipe) != USB_SUCCESS) {
367 ZYD_WARN("failed to open pipe %u\n", ep_address);
407 ZYD_WARN("failed to open data OUT pipe\n");
414 ZYD_WARN("failed to open data IN pipe\n");
421 ZYD_WARN("failed to open command IN pipe\n");
426 * Pipe 4/OUT is either a bulk or interrupt pipe.
431 ZYD_WARN("failed to open command OUT pipe\n");
476 * Send a sequence of bytes to a bulk pipe.
484 zyd_data_out_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req)
513 * or an exception occurs on the pipe.
517 zyd_bulk_pipe_cb(usb_pipe_handle_t pipe, struct usb_bulk_req *req)
528 usb_pipe_handle_t pipe, const void *data, size_t len)
553 res = usb_pipe_bulk_xfer(pipe, send_req, USB_FLAGS_NOSLEEP);
556 "failed writing to bulk OUT pipe (%d)\n", res));
563 ZYD_WARN("timeout - pipe reset\n");
564 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0);
579 * or an exception occurs on the pipe.
583 zyd_intr_pipe_cb(usb_pipe_handle_t pipe, struct usb_intr_req *req)
593 * Send a sequence of bytes to an interrupt pipe.
601 usb_pipe_handle_t pipe, const void *data, size_t len)
626 res = usb_pipe_intr_xfer(pipe, send_req, 0);
629 "failed writing to intr/out pipe (%d)\n", res));
636 ZYD_WARN("timeout - pipe reset\n");
637 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0);
651 * Send a sequence of bytes to the cmd_out pipe. (in a single USB transfer)
675 * Format and send a command to the cmd_out pipe.
730 ZYD_DEBUG((ZYD_DBG_USB, "IO read request: pipe failure(%d)\n"));
755 * Called when data arrives from the cmd_in pipe.
759 zyd_cmd_in_cb(usb_pipe_handle_t pipe, usb_intr_req_t *req)
817 * Called when an exception occurs on the cmd_in pipe.
821 zyd_cmd_in_exc_cb(usb_pipe_handle_t pipe, usb_intr_req_t *req)
840 * Start interrupt polling on the cmd_in pipe.
862 ZYD_WARN("failed starting command IN polling: pipe failure\n");
871 * Stop interrupt polling on the cmd_in pipe.
882 * Called when data arrives on the data_in pipe.
886 zyd_data_in_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req)
963 * Called when an exception occurs on the data_in pipe.
967 zyd_data_in_exc_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req)
980 * Start a receive request on the data_in pipe.
1004 ZYD_WARN("error starting receive request on data_in pipe\n");
1014 * Start receiving packets on the data_in pipe.
1029 * Stop receiving packets on the data_in pipe.
1068 "failed writing to bulk/out pipe (%d)\n", res));