Lines Matching refs:last_xfer
35 struct uhc_transfer *last_xfer; member
184 if (priv->last_xfer == NULL) { in vrt_schedule_xfer()
185 priv->last_xfer = uhc_xfer_get_next(dev); in vrt_schedule_xfer()
186 if (priv->last_xfer == NULL) { in vrt_schedule_xfer()
191 LOG_DBG("Next transfer is %p", priv->last_xfer); in vrt_schedule_xfer()
194 if (USB_EP_GET_IDX(priv->last_xfer->ep) == 0) { in vrt_schedule_xfer()
195 return vrt_xfer_control(dev, priv->last_xfer); in vrt_schedule_xfer()
199 return vrt_xfer_bulk(dev, priv->last_xfer); in vrt_schedule_xfer()
206 struct uhc_transfer *const xfer = priv->last_xfer; in vrt_hrslt_success()
261 priv->last_xfer = NULL; in vrt_hrslt_success()
269 if (priv->last_xfer) { in vrt_xfer_drop_active()
270 uhc_xfer_return(dev, priv->last_xfer, err); in vrt_xfer_drop_active()
271 priv->last_xfer = NULL; in vrt_xfer_drop_active()
279 struct uhc_transfer *const xfer = priv->last_xfer; in vrt_handle_reply()
335 if (priv->last_xfer != NULL) { in xfer_work_handler()
336 if (priv->last_xfer->timeout) { in xfer_work_handler()
337 priv->last_xfer->timeout--; in xfer_work_handler()