Lines Matching refs:last_xfer
37 struct uhc_transfer *last_xfer; member
383 if (priv->last_xfer == NULL) { in max3421e_schedule_xfer()
386 priv->last_xfer = uhc_xfer_get_next(dev); in max3421e_schedule_xfer()
387 if (priv->last_xfer == NULL) { in max3421e_schedule_xfer()
392 LOG_DBG("Next transfer %p", priv->last_xfer); in max3421e_schedule_xfer()
393 ret = max3421e_peraddr(dev, priv->last_xfer->addr); in max3421e_schedule_xfer()
400 if (priv->last_xfer->timeout) { in max3421e_schedule_xfer()
401 priv->last_xfer->timeout--; in max3421e_schedule_xfer()
411 if (USB_EP_GET_IDX(priv->last_xfer->ep) == 0) { in max3421e_schedule_xfer()
412 return max3421e_xfer_control(dev, priv->last_xfer, hrsl); in max3421e_schedule_xfer()
415 return max3421e_xfer_bulk(dev, priv->last_xfer, hrsl); in max3421e_schedule_xfer()
422 if (priv->last_xfer) { in max3421e_xfer_drop_active()
423 uhc_xfer_return(dev, priv->last_xfer, err); in max3421e_xfer_drop_active()
424 priv->last_xfer = NULL; in max3421e_xfer_drop_active()
431 struct uhc_transfer *const xfer = priv->last_xfer; in max3421e_hrslt_success()
506 priv->last_xfer = NULL; in max3421e_hrslt_success()
519 struct uhc_transfer *const xfer = priv->last_xfer; in max3421e_handle_hxfrdn()