Lines Matching refs:actual_length
64 urb->actual_length = 2;
78 urb->actual_length = 0;
98 urb->actual_length = 1; /* XXX 2? */
118 /* urb->actual_length, urb->buffer_length, max_buf, max_length, data); */
132 /* urb->actual_length, urb->buffer_length, max_buf, max_length, length); */
135 /*urb->buffer_length */ max_buf - urb->actual_length) <= 0) {
139 /* urb->actual_length, urb->buffer_length, max_buf, length, available); */
145 /* urb->actual_length, urb->buffer_length, max_buf, length, available); */
147 memcpy (urb->buffer + urb->actual_length, data, length);
148 urb->actual_length += length;
152 urb->actual_length, urb->buffer_length, max_buf, max_length,
183 urb->actual_length = 0;
206 dbg_ep0(3, "copied device configuration, actual_length: 0x%x", urb->actual_length);
315 if (max - urb->actual_length > 0) {
318 max - urb->actual_length);
319 memcpy (urb->buffer + urb->actual_length,
321 urb->actual_length += length;
341 dbg_ep0(3, "copied qualifier descriptor, actual_length: 0x%x",
342 urb->actual_length);
353 dbg_ep0 (1, "urb: buffer: %p buffer_length: %2d actual_length: %2d tx_packetSize: %2d",
354 urb->buffer, urb->buffer_length, urb->actual_length,
357 if ((urb->actual_length < max) && !(urb->actual_length % device->bus->endpoint_array[0].tx_packetSize)) {
359 urb->buffer[urb->actual_length++] = 0;
360 dbg_ep0(0, "urb: buffer_length: %2d actual_length: %2d packet size: %2d",
361 urb->buffer_length, urb->actual_length device->bus->endpoint_array[0].tx_packetSize);