Lines Matching defs:xfer
133 /* Create an xfer of maximum packet size on the pipe. */
137 aprint_error_dev(sc->sc_dev, "failed to create xfer: %d\n",
158 /* Prevent new use of xfer. */
162 /* Prevent xfer from rescheduling itself, if still pending. */
167 /* Cancel pending xfer. */
195 /* Setup the xfer to call ualea_xfer_done with sc. */
200 /* Issue xfer or complain if we can't. */
202 KASSERT(status != USBD_NORMAL_COMPLETION); /* asynchronous xfer */
204 device_printf(sc->sc_dev, "failed to issue xfer: %s\n",
210 /* Mark xfer in-flight. */
227 ualea_xfer_done(struct usbd_xfer *xfer, void *cookie, usbd_status status)
238 device_printf(sc->sc_dev, "xfer failed: %s\n",
248 usbd_get_xfer_status(xfer, NULL, &pkt, &pktsize, NULL);
255 * mark the xfer as done, and reschedule the xfer if we still
260 * entropy and not scheduling xfer. Must not touch pkt after
261 * clearing sc_inflight and possibly rescheduling the xfer.