Lines Matching refs:video_mode
188 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled()
190 dev->video_mode.bulk_ctl.buf = NULL; in buffer_filled()
242 struct cx231xx *dev = container_of(vmode, struct cx231xx, video_mode); in get_next_buf()
249 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf()
251 dev->video_mode.bulk_ctl.buf = NULL; in get_next_buf()
264 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf()
266 dev->video_mode.bulk_ctl.buf = *buf; in get_next_buf()
308 dev->video_mode.max_pkt_size) { in cx231xx_isoc_copy()
567 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line()
569 buf = dev->video_mode.bulk_ctl.buf; in cx231xx_copy_video_line()
633 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_reset_video_buffer()
635 buf = dev->video_mode.bulk_ctl.buf; in cx231xx_reset_video_buffer()
662 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_do_copy()
664 buf = dev->video_mode.bulk_ctl.buf; in cx231xx_do_copy()
761 spin_lock_irqsave(&dev->video_mode.slock, flags); in free_buffer()
763 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()
764 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()
766 if (dev->video_mode.bulk_ctl.buf == buf) in free_buffer()
767 dev->video_mode.bulk_ctl.buf = NULL; in free_buffer()
769 spin_unlock_irqrestore(&dev->video_mode.slock, flags); in free_buffer()
802 if (!dev->video_mode.isoc_ctl.num_bufs) in buffer_prepare()
805 if (!dev->video_mode.bulk_ctl.num_bufs) in buffer_prepare()
810 urb_init, dev->video_mode.max_pkt_size); in buffer_prepare()
816 dev->video_mode.max_pkt_size, in buffer_prepare()
821 dev->video_mode.max_pkt_size, in buffer_prepare()
842 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in buffer_queue()
1821 NULL, &dev->video_mode.slock, in cx231xx_v4l2_open()