Lines Matching refs:actual_length
64 urb->actual_length = 2; in ep0_get_status()
78 urb->actual_length = 0; in ep0_get_status()
98 urb->actual_length = 1; /* XXX 2? */ in ep0_get_one()
135 /*urb->buffer_length */ max_buf - urb->actual_length) <= 0) { in copy_config()
147 memcpy (urb->buffer + urb->actual_length, data, length); in copy_config()
148 urb->actual_length += length; in copy_config()
152 urb->actual_length, urb->buffer_length, max_buf, max_length, in copy_config()
183 urb->actual_length = 0; in ep0_get_descriptor()
206 dbg_ep0(3, "copied device configuration, actual_length: 0x%x", urb->actual_length); in ep0_get_descriptor()
315 if (max - urb->actual_length > 0) { in ep0_get_descriptor()
318 max - urb->actual_length); in ep0_get_descriptor()
319 memcpy (urb->buffer + urb->actual_length, in ep0_get_descriptor()
321 urb->actual_length += length; in ep0_get_descriptor()
342 urb->actual_length); in ep0_get_descriptor()
354 urb->buffer, urb->buffer_length, urb->actual_length, in ep0_get_descriptor()