Lines Matching refs:purb
554 struct urb *purb)
568 for (i = 0; i < purb->actual_length/2; i++)
583 if (purb->actual_length < 128) {
587 __func__, purb->actual_length);
610 purb->actual_length - 128);
611 ptr += purb->actual_length - 128;
618 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) {
624 memcpy(pdest, psrc, purb->actual_length);
625 frm->cur_size += purb->actual_length;
629 purb->actual_length);*/
631 if (purb->actual_length < pipe_info->transfer_size) {
950 static void read_pipe_completion(struct urb *purb)
956 pipe_info = purb->context;
957 _DBG("%s %p, status %d\n", __func__, purb, purb->status);
970 if (purb->status == -ESHUTDOWN) {
981 if (purb->actual_length > pipe_info->transfer_size) {
986 if (purb->status == 0)
987 zr364xx_read_video_callback(cam, pipe_info, purb);
990 DBG("%s: failed URB %d\n", __func__, purb->status);
1003 purb->status = usb_submit_urb(pipe_info->stream_urb,
1006 if (purb->status)
1009 purb->status);