Lines Matching defs:pipe_info
2014 static int save_frame(struct s2255_dev *dev, struct s2255_pipeinfo *pipe_info)
2036 pdata = (unsigned char *)pipe_info->transfer_buffer;
2038 for (jj = 0; jj < (pipe_info->cur_transfer_size - 12); jj++) {
2128 psrc = (u8 *)pipe_info->transfer_buffer + offset;
2139 copy_size = (pipe_info->cur_transfer_size - offset);
2172 struct s2255_pipeinfo *pipe_info)
2183 res = save_frame(dev, pipe_info);
2359 struct s2255_pipeinfo *pipe_info;
2363 pipe_info = purb->context;
2366 if (pipe_info == NULL) {
2371 dev = pipe_info->dev;
2380 pipe_info->err_count++;
2384 if (pipe_info->state == 0) {
2390 s2255_read_video_callback(dev, pipe_info);
2392 pipe_info->err_count++;
2398 usb_fill_bulk_urb(pipe_info->stream_urb, dev->udev,
2400 pipe_info->transfer_buffer,
2401 pipe_info->cur_transfer_size,
2402 read_pipe_completion, pipe_info);
2404 if (pipe_info->state != 0) {
2405 if (usb_submit_urb(pipe_info->stream_urb, GFP_KERNEL)) {
2418 struct s2255_pipeinfo *pipe_info = &dev->pipe;
2421 pipe_info->state = 1;
2422 pipe_info->err_count = 0;
2423 pipe_info->stream_urb = usb_alloc_urb(0, GFP_KERNEL);
2424 if (!pipe_info->stream_urb) {
2430 usb_fill_bulk_urb(pipe_info->stream_urb, dev->udev,
2432 pipe_info->transfer_buffer,
2433 pipe_info->cur_transfer_size,
2434 read_pipe_completion, pipe_info);
2435 retval = usb_submit_urb(pipe_info->stream_urb, GFP_KERNEL);