Lines Matching refs:purb
585 struct urb *purb)
601 for (i = 0; i < purb->actual_length/2; i++)
635 purb->actual_length - 128);
636 ptr += purb->actual_length - 128;
643 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) {
650 memcpy(pdest, psrc, purb->actual_length);
651 frm->cur_size += purb->actual_length;
655 purb->actual_length);*/
657 if (purb->actual_length < pipe_info->transfer_size) {
1061 static void read_pipe_completion(struct urb *purb)
1067 pipe_info = purb->context;
1068 _DBG("%s %p, status %d\n", __func__, purb, purb->status);
1081 if (purb->status == -ESHUTDOWN) {
1092 if (purb->actual_length < 0 ||
1093 purb->actual_length > pipe_info->transfer_size) {
1098 if (purb->status == 0)
1099 zr364xx_read_video_callback(cam, pipe_info, purb);
1102 DBG("%s: failed URB %d\n", __func__, purb->status);
1115 purb->status = usb_submit_urb(pipe_info->stream_urb,
1118 if (purb->status)
1121 purb->status);