Home
last modified time | relevance | path

Searched refs:vbq (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/media/video/
Domap24xxcam.c257 static void omap24xxcam_vbq_free_mmap_buffers(struct videobuf_queue *vbq) in omap24xxcam_vbq_free_mmap_buffers() argument
261 mutex_lock(&vbq->vb_lock); in omap24xxcam_vbq_free_mmap_buffers()
264 if (NULL == vbq->bufs[i]) in omap24xxcam_vbq_free_mmap_buffers()
266 if (V4L2_MEMORY_MMAP != vbq->bufs[i]->memory) in omap24xxcam_vbq_free_mmap_buffers()
268 vbq->ops->buf_release(vbq, vbq->bufs[i]); in omap24xxcam_vbq_free_mmap_buffers()
269 omap24xxcam_vbq_free_mmap_buffer(vbq->bufs[i]); in omap24xxcam_vbq_free_mmap_buffers()
270 kfree(vbq->bufs[i]); in omap24xxcam_vbq_free_mmap_buffers()
271 vbq->bufs[i] = NULL; in omap24xxcam_vbq_free_mmap_buffers()
274 mutex_unlock(&vbq->vb_lock); in omap24xxcam_vbq_free_mmap_buffers()
276 videobuf_mmap_free(vbq); in omap24xxcam_vbq_free_mmap_buffers()
[all …]
Dsh_vou.c82 struct videobuf_queue vbq; member
393 dev_dbg(vou_file->vbq.dev, "%s()\n", __func__); in sh_vou_querycap()
410 dev_dbg(vou_file->vbq.dev, "%s()\n", __func__); in sh_vou_enum_fmt_vid_out()
772 dev_dbg(vou_file->vbq.dev, "%s()\n", __func__); in sh_vou_try_fmt_vid_out()
794 dev_dbg(vou_file->vbq.dev, "%s()\n", __func__); in sh_vou_reqbufs()
799 return videobuf_reqbufs(&vou_file->vbq, req); in sh_vou_reqbufs()
807 dev_dbg(vou_file->vbq.dev, "%s()\n", __func__); in sh_vou_querybuf()
809 return videobuf_querybuf(&vou_file->vbq, b); in sh_vou_querybuf()
816 dev_dbg(vou_file->vbq.dev, "%s()\n", __func__); in sh_vou_qbuf()
818 return videobuf_qbuf(&vou_file->vbq, b); in sh_vou_qbuf()
[all …]
Domap24xxcam.h534 struct videobuf_queue vbq; member
/linux-2.6.39/mm/
Dvmalloc.c751 struct vmap_block_queue *vbq; member
787 struct vmap_block_queue *vbq; in new_vmap_block() local
830 vbq = &get_cpu_var(vmap_block_queue); in new_vmap_block()
831 vb->vbq = vbq; in new_vmap_block()
832 spin_lock(&vbq->lock); in new_vmap_block()
833 list_add_rcu(&vb->free_list, &vbq->free); in new_vmap_block()
834 spin_unlock(&vbq->lock); in new_vmap_block()
867 struct vmap_block_queue *vbq = &per_cpu(vmap_block_queue, cpu); in purge_fragmented_blocks() local
870 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in purge_fragmented_blocks()
881 spin_lock(&vbq->lock); in purge_fragmented_blocks()
[all …]
/linux-2.6.39/drivers/media/video/s5p-fimc/
Dfimc-capture.c422 vb2_queue_release(&fimc->vid_cap.vbq); in fimc_capture_close()
440 return vb2_poll(&fimc->vid_cap.vbq, file, wait); in fimc_capture_poll()
448 return vb2_mmap(&fimc->vid_cap.vbq, vma); in fimc_capture_mmap()
530 if (vb2_is_busy(&fimc->vid_cap.vbq) || fimc_capture_active(fimc)) in fimc_cap_s_fmt_mplane()
633 return vb2_streamon(&fimc->vid_cap.vbq, type); in fimc_cap_streamon()
642 return vb2_streamoff(&fimc->vid_cap.vbq, type); in fimc_cap_streamoff()
653 ret = vb2_reqbufs(&cap->vbq, reqbufs); in fimc_cap_reqbufs()
666 return vb2_querybuf(&cap->vbq, buf); in fimc_cap_querybuf()
674 return vb2_qbuf(&cap->vbq, buf); in fimc_cap_qbuf()
681 return vb2_dqbuf(&ctx->fimc_dev->vid_cap.vbq, buf, in fimc_cap_dqbuf()
[all …]
Dfimc-core.h320 struct vb2_queue vbq; member
/linux-2.6.39/drivers/media/video/omap/
Domap_voutdef.h143 struct videobuf_queue vbq; member
Domap_vout.c1209 struct videobuf_queue *q = &vout->vbq; in omap_vout_mmap()
1267 q = &vout->vbq; in omap_vout_release()
1335 q = &vout->vbq; in omap_vout_open()
1793 struct videobuf_queue *q = &vout->vbq; in vidioc_reqbufs()
1859 return videobuf_querybuf(&vout->vbq, b); in vidioc_querybuf()
1866 struct videobuf_queue *q = &vout->vbq; in vidioc_qbuf()
1893 struct videobuf_queue *q = &vout->vbq; in vidioc_dqbuf()
1911 struct videobuf_queue *q = &vout->vbq; in vidioc_streamon()
2028 ret = videobuf_streamoff(&vout->vbq); in vidioc_streamoff()