Lines Matching refs:actual_length
46 * The total amount of data in the urb is given by urb->actual_length.
63 if (!urb || !urb->actual_length)
66 n = min_t(unsigned int, urb->actual_length - endpoint->sent,
74 urb->buffer, urb->buffer_length, urb->actual_length);
118 if (endpoint->sent >= urb->actual_length) {
119 urb->actual_length = 0;
124 if ((endpoint->sent >= urb->actual_length) && (!ep_num)) {
145 urb->buffer, urb->buffer_length, urb->actual_length);
157 data32[urb->actual_length / 4 + i / 4] = readl(UDCDN(ep_num));
159 udc_dump_buffer("urb read", (u8 *) data32, urb->actual_length + n);
174 ep0_urb->buffer, ep0_urb->buffer_length, ep0_urb->actual_length);
182 data32[ep0_urb->actual_length / 4 + i] = readl(UDCDN(0));
183 /* ep0_urb->actual_length += 4; */
187 data8[ep0_urb->actual_length + w * 4 + i] = readb(UDCDN(0));
188 /* ep0_urb->actual_length++; */
191 ep0_urb->actual_length += n;
193 udc_dump_buffer("urb read", (u8 *) data32, ep0_urb->actual_length);
196 if (ep0_urb->actual_length == ep0_urb->device_request.wLength)
269 ep0_urb->actual_length = 0;
276 * ep0_urb->actual_length.
336 ep0_urb->actual_length)