Lines Matching refs:xfer_length
468 int xfer_length = dwc2_get_actual_xfer_length(hsotg, chan, chnum, qtd, in dwc2_update_urb_state() local
472 if (urb->actual_length + xfer_length > urb->length) { in dwc2_update_urb_state()
474 xfer_length = urb->length - urb->actual_length; in dwc2_update_urb_state()
478 urb->actual_length, xfer_length); in dwc2_update_urb_state()
479 urb->actual_length += xfer_length; in dwc2_update_urb_state()
481 if (xfer_length && chan->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_update_urb_state()
1147 u32 xfer_length = dwc2_get_actual_xfer_length(hsotg, chan, chnum, in dwc2_update_urb_state_abn() local
1151 if (urb->actual_length + xfer_length > urb->length) { in dwc2_update_urb_state_abn()
1153 xfer_length = urb->length - urb->actual_length; in dwc2_update_urb_state_abn()
1156 urb->actual_length += xfer_length; in dwc2_update_urb_state_abn()
1167 xfer_length); in dwc2_update_urb_state_abn()