Searched refs:last_xfer (Results 1 – 2 of 2) sorted by relevance
35 struct uhc_transfer *last_xfer; member184 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()[all …]
37 struct uhc_transfer *last_xfer; member383 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()[all …]