Home
last modified time | relevance | path

Searched refs:vidq (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.6.39/drivers/media/video/
Dfsl-viu.c170 struct viu_dmaqueue vidq; member
333 static int restart_video_queue(struct viu_dmaqueue *vidq) in restart_video_queue() argument
337 dprintk(1, "%s vidq=0x%08lx\n", __func__, (unsigned long)vidq); in restart_video_queue()
338 if (!list_empty(&vidq->active)) { in restart_video_queue()
339 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
343 viu_stop_dma(vidq->dev); in restart_video_queue()
346 list_for_each_entry_safe(buf, prev, &vidq->active, vb.queue) { in restart_video_queue()
351 mod_timer(&vidq->timeout, jiffies+BUFFER_TIMEOUT); in restart_video_queue()
357 if (list_empty(&vidq->queued)) in restart_video_queue()
359 buf = list_entry(vidq->queued.next, struct viu_buf, vb.queue); in restart_video_queue()
[all …]
Dvivi.c184 struct vivi_dmaqueue vidq; member
518 struct vivi_dmaqueue *dma_q = &dev->vidq; in vivi_thread_tick()
550 struct vivi_dmaqueue *dma_q = &dev->vidq; in vivi_sleep()
593 struct vivi_dmaqueue *dma_q = &dev->vidq; in vivi_start_generating()
619 struct vivi_dmaqueue *dma_q = &dev->vidq; in vivi_stop_generating()
752 struct vivi_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
758 list_add_tail(&buf->list, &vidq->active); in buffer_queue()
1246 INIT_LIST_HEAD(&dev->vidq.active); in vivi_create_instance()
1247 init_waitqueue_head(&dev->vidq.wq); in vivi_create_instance()
Dsaa7146.h87 wait_queue_head_t i2cq, debiq, audq, vidq; member
Ds2255drv.c232 struct s2255_dmaqueue vidq; member
584 struct s2255_dmaqueue *dma_q = &channel->vidq; in s2255_got_frame()
760 struct s2255_dmaqueue *vidq = &channel->vidq; in buffer_queue() local
763 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
1790 (unsigned long)&channel->vidq); in s2255_open()
1792 list_empty(&channel->vidq.active)); in s2255_open()
1944 INIT_LIST_HEAD(&channel->vidq.active); in s2255_probe_v4l()
1945 channel->vidq.dev = dev; in s2255_probe_v4l()
Dzr364xx.c190 struct zr364xx_dmaqueue vidq; member
443 list_add_tail(&buf->vb.queue, &cam->vidq.active); in buffer_queue()
546 struct zr364xx_dmaqueue *dma_q = &cam->vidq; in zr364xx_got_frame()
1648 INIT_LIST_HEAD(&cam->vidq.active); in zr364xx_probe()
1649 cam->vidq.cam = cam; in zr364xx_probe()
/linux-2.6.39/drivers/media/video/cx23885/
Dcx23885-video.c629 struct cx23885_dmaqueue *q = &dev->vidq; in buffer_queue()
695 return &fh->vidq; in get_queue()
753 videobuf_queue_sg_init(&fh->vidq, &cx23885_video_qops, in video_open()
774 return videobuf_read_one(&fh->vidq, data, count, ppos, in video_read()
800 mutex_lock(&fh->vidq.vb_lock); in video_poll()
803 if (list_empty(&fh->vidq.stream)) in video_poll()
805 buf = list_entry(fh->vidq.stream.next, in video_poll()
809 buf = (struct cx23885_buffer *)fh->vidq.read_buf; in video_poll()
820 mutex_unlock(&fh->vidq.vb_lock); in video_poll()
837 videobuf_queue_cancel(&fh->vidq); in video_release()
[all …]
Dcx23885.h153 struct videobuf_queue vidq; member
392 struct cx23885_dmaqueue vidq; member
/linux-2.6.39/drivers/staging/dt3155v4l/
Ddt3155v4l.c434 pd->vidq = kzalloc(sizeof(*pd->vidq), GFP_KERNEL); in dt3155_open()
435 if (!pd->vidq) { in dt3155_open()
440 videobuf_queue_dma_contig_init(pd->vidq, &vbq_ops, in dt3155_open()
469 kfree(pd->vidq); in dt3155_open()
470 pd->vidq = NULL; in dt3155_open()
497 videobuf_waiton(pd->vidq, tmp, 0, 1); /* block, interruptible */ in dt3155_release()
499 videobuf_stop(pd->vidq); in dt3155_release()
506 kfree(pd->vidq); in dt3155_release()
507 pd->vidq = NULL; in dt3155_release()
531 ret = videobuf_read_stream(pd->vidq, user, size, loff, 0, in dt3155_read()
[all …]
Ddt3155v4l.h206 struct videobuf_queue *vidq; member
/linux-2.6.39/drivers/staging/solo6x10/
Dv4l2.c44 struct videobuf_queue vidq; member
510 return videobuf_poll_stream(file, &fh->vidq, wait); in solo_v4l2_poll()
517 return videobuf_mmap_mapper(&fh->vidq, vma); in solo_v4l2_mmap()
541 videobuf_queue_sg_init(&fh->vidq, &solo_video_qops, in solo_v4l2_open()
555 return videobuf_read_stream(&fh->vidq, data, count, ppos, 0, in solo_v4l2_read()
563 videobuf_stop(&fh->vidq); in solo_v4l2_release()
564 videobuf_mmap_free(&fh->vidq); in solo_v4l2_release()
704 if (videobuf_queue_is_busy(&fh->vidq)) in solo_set_fmt_cap()
735 return videobuf_reqbufs(&fh->vidq, req); in solo_reqbufs()
742 return videobuf_querybuf(&fh->vidq, buf); in solo_querybuf()
[all …]
Dv4l2-enc.c45 struct videobuf_queue vidq; member
977 return videobuf_poll_stream(file, &fh->vidq, wait); in solo_enc_poll()
984 return videobuf_mmap_mapper(&fh->vidq, vma); in solo_enc_mmap()
1002 videobuf_queue_sg_init(&fh->vidq, &solo_enc_video_qops, in solo_enc_open()
1033 return videobuf_read_stream(&fh->vidq, data, count, ppos, 0, in solo_enc_read()
1042 videobuf_stop(&fh->vidq); in solo_enc_release()
1043 videobuf_mmap_free(&fh->vidq); in solo_enc_release()
1237 return videobuf_reqbufs(&fh->vidq, req); in solo_enc_reqbufs()
1245 return videobuf_querybuf(&fh->vidq, buf); in solo_enc_querybuf()
1252 return videobuf_qbuf(&fh->vidq, buf); in solo_enc_qbuf()
[all …]
/linux-2.6.39/drivers/media/video/cx88/
Dcx88-video.c664 struct cx88_dmaqueue *q = &dev->vidq; in buffer_queue()
729 return &fh->vidq; in get_queue()
790 videobuf_queue_sg_init(&fh->vidq, &cx8800_video_qops, in video_open()
842 return videobuf_read_one(&fh->vidq, data, count, ppos, in video_read()
868 mutex_lock(&fh->vidq.vb_lock); in video_poll()
871 if (list_empty(&fh->vidq.stream)) in video_poll()
873 buf = list_entry(fh->vidq.stream.next,struct cx88_buffer,vb.stream); in video_poll()
876 buf = (struct cx88_buffer*)fh->vidq.read_buf; in video_poll()
887 mutex_unlock(&fh->vidq.vb_lock); in video_poll()
904 videobuf_queue_cancel(&fh->vidq); in video_release()
[all …]
Dcx88.h442 struct videobuf_queue vidq; member
468 struct cx88_dmaqueue vidq; member
/linux-2.6.39/drivers/staging/cx25821/
Dcx25821-video.c369 struct cx25821_dmaqueue *q = &dev->channels[channel->i].vidq; in cx25821_vid_timeout()
416 &dev->channels[channel->i].vidq, count); in cx25821_video_irq()
426 &dev->channels[channel->i].vidq, in cx25821_video_irq()
461 &dev->channels[chan_num].vidq.stopper); in cx25821_video_unregister()
488 &dev->channels[i].vidq.stopper, in cx25821_video_register()
499 INIT_LIST_HEAD(&dev->channels[i].vidq.active); in cx25821_video_register()
500 INIT_LIST_HEAD(&dev->channels[i].vidq.queued); in cx25821_video_register()
505 dev->channels[i].vidq.timeout.function = in cx25821_video_register()
507 dev->channels[i].vidq.timeout.data = in cx25821_video_register()
509 init_timer(&dev->channels[i].vidq.timeout); in cx25821_video_register()
[all …]
Dcx25821.h144 struct videobuf_queue vidq; member
249 struct cx25821_dmaqueue vidq; member
/linux-2.6.39/drivers/media/video/cx231xx/
Dcx231xx-417.c1391 dma_qq = &dev->video_mode.vidq; in bb_buf_prepare()
1453 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in bb_buf_queue() local
1456 list_add_tail(&buf->vb.queue, &vidq->active); in bb_buf_queue()
1727 f->fmt.pix.field = fh->vidq.field; in vidioc_g_fmt_vid_cap()
1729 dev->ts1.width, dev->ts1.height, fh->vidq.field); in vidioc_g_fmt_vid_cap()
1746 dev->ts1.width, dev->ts1.height, fh->vidq.field); in vidioc_try_fmt_vid_cap()
1763 return videobuf_reqbufs(&fh->vidq, p); in vidioc_reqbufs()
1771 return videobuf_querybuf(&fh->vidq, p); in vidioc_querybuf()
1779 return videobuf_qbuf(&fh->vidq, p); in vidioc_qbuf()
1786 return videobuf_dqbuf(&fh->vidq, b, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
[all …]
Dcx231xx-vbi.c276 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_buffer_queue() local
279 list_add_tail(&buf->vb.queue, &vidq->active); in vbi_buffer_queue()
311 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_irq_vbi_callback()
395 struct cx231xx_dmaqueue *dma_q = &dev->vbi_mode.vidq; in cx231xx_init_vbi_isoc()
620 container_of(dma_q, struct cx231xx_video_mode, vidq); in get_next_vbi_buf()
Dcx231xx-cards.c801 INIT_LIST_HEAD(&dev->video_mode.vidq.active); in cx231xx_init_dev()
802 INIT_LIST_HEAD(&dev->video_mode.vidq.queued); in cx231xx_init_dev()
805 INIT_LIST_HEAD(&dev->vbi_mode.vidq.active); in cx231xx_init_dev()
806 INIT_LIST_HEAD(&dev->vbi_mode.vidq.queued); in cx231xx_init_dev()
Dcx231xx-core.c793 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_isoc_irq_callback()
839 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_bulk_irq_callback()
875 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_isoc()
976 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_isoc()
1113 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_init_bulk()
Dcx231xx.h452 struct videobuf_queue vidq; member
538 struct cx231xx_dmaqueue vidq; member
/linux-2.6.39/drivers/staging/tm6000/
Dtm6000-video.c170 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
226 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
389 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_multiplexed()
474 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_isoc_copy()
520 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_irq_callback()
581 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_prepare_isoc()
673 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_start_thread()
808 struct tm6000_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
811 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
1488 (unsigned long)fh,(unsigned long)dev,(unsigned long)&dev->vidq); in tm6000_open()
[all …]
Dtm6000.h210 struct tm6000_dmaqueue vidq; member
/linux-2.6.39/drivers/media/video/au0828/
Dau0828-video.c124 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in au0828_irq_callback()
207 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_init_isoc()
422 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in get_next_buf()
751 struct au0828_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
754 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
926 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_vid_buffer_timeout()
1928 INIT_LIST_HEAD(&dev->vidq.active); in au0828_analog_register()
1929 INIT_LIST_HEAD(&dev->vidq.queued); in au0828_analog_register()
Dau0828.h235 struct au0828_dmaqueue vidq; member
/linux-2.6.39/drivers/media/video/em28xx/
Dem28xx-video.c367 struct em28xx *dev = container_of(dma_q, struct em28xx, vidq); in get_next_buf()
422 struct em28xx_dmaqueue *dma_q = &dev->vidq; in em28xx_isoc_copy()
515 struct em28xx_dmaqueue *dma_q = &dev->vidq; in em28xx_isoc_copy_vbi()
796 struct em28xx_dmaqueue *vidq = &dev->vidq; in buffer_queue() local
799 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()

12