Lines Matching defs:pipe_info
584 struct zr364xx_pipeinfo *pipe_info,
600 u16 *buf = (u16 *)pipe_info->transfer_buffer;
612 psrc = (u8 *)pipe_info->transfer_buffer;
657 if (purb->actual_length < pipe_info->transfer_size) {
1063 struct zr364xx_pipeinfo *pipe_info;
1067 pipe_info = purb->context;
1069 if (pipe_info == NULL) {
1074 cam = pipe_info->cam;
1083 pipe_info->err_count++;
1087 if (pipe_info->state == 0) {
1093 purb->actual_length > pipe_info->transfer_size) {
1099 zr364xx_read_video_callback(cam, pipe_info, purb);
1101 pipe_info->err_count++;
1108 usb_fill_bulk_urb(pipe_info->stream_urb, cam->udev,
1110 pipe_info->transfer_buffer,
1111 pipe_info->transfer_size,
1112 read_pipe_completion, pipe_info);
1114 if (pipe_info->state != 0) {
1115 purb->status = usb_submit_urb(pipe_info->stream_urb,
1130 struct zr364xx_pipeinfo *pipe_info = cam->pipe;
1134 pipe_info->state = 1;
1135 pipe_info->err_count = 0;
1136 pipe_info->stream_urb = usb_alloc_urb(0, GFP_KERNEL);
1137 if (!pipe_info->stream_urb) {
1142 usb_fill_bulk_urb(pipe_info->stream_urb, cam->udev,
1144 pipe_info->transfer_buffer,
1145 pipe_info->transfer_size,
1146 read_pipe_completion, pipe_info);
1148 DBG("submitting URB %p\n", pipe_info->stream_urb);
1149 retval = usb_submit_urb(pipe_info->stream_urb, GFP_KERNEL);
1160 struct zr364xx_pipeinfo *pipe_info;
1167 pipe_info = cam->pipe;
1168 if (pipe_info) {
1169 if (pipe_info->state != 0)
1170 pipe_info->state = 0;
1172 if (pipe_info->stream_urb) {
1174 usb_kill_urb(pipe_info->stream_urb);
1175 usb_free_urb(pipe_info->stream_urb);
1176 pipe_info->stream_urb = NULL;