Home | History | Annotate | Download | only in dist

Lines Matching refs:actual_length

472  * Complete interrupt on the host channel. Updates the actual_length field
490 if (urb->actual_length + xfer_length > urb->length) {
492 xfer_length = urb->length - urb->actual_length;
502 memcpy(urb->buf + urb->actual_length,
509 dev_vdbg(hsotg->dev, "urb->actual_length=%d xfer_length=%d\n",
510 urb->actual_length, xfer_length);
511 urb->actual_length += xfer_length;
515 urb->actual_length >= urb->length &&
518 } else if (short_read || urb->actual_length >= urb->length) {
529 dev_vdbg(hsotg->dev, " urb->actual_length %d\n", urb->actual_length);
610 frame_desc->actual_length += len;
622 frame_desc->actual_length = 0;
627 /* Don't need to update actual_length in this case */
632 frame_desc->actual_length = dwc2_get_actual_xfer_length(hsotg,
636 if (chan->align_buf && frame_desc->actual_length) {
648 frame_desc->actual_length);
983 frame_desc->actual_length += len;
997 if (frame_desc->actual_length >= frame_desc->length) {
1198 * actual_length field of the URB to reflect the number of bytes that have
1210 if (urb->actual_length + xfer_length > urb->length) {
1212 xfer_length = urb->length - urb->actual_length;
1225 memcpy(urb->buf + urb->actual_length,
1233 urb->actual_length += xfer_length;
1244 dev_vdbg(hsotg->dev, " urb->actual_length %d\n",
1245 urb->actual_length);