Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/media/ipu3/
Dipu3-v4l2.c312 container_of(vb->vb2_queue, struct imgu_video_device, vbq); in imgu_vb2_buf_init()
328 container_of(vb->vb2_queue, struct imgu_video_device, vbq); in imgu_vb2_buf_cleanup()
342 container_of(vb->vb2_queue, struct imgu_video_device, vbq); in imgu_vb2_buf_queue()
385 container_of(vq, struct imgu_video_device, vbq); in imgu_vb2_queue_setup()
435 if (node->enabled && !vb2_start_streaming_called(&node->vbq)) in imgu_all_nodes_streaming()
464 container_of(vq, struct imgu_video_device, vbq); in imgu_vb2_start_streaming()
521 container_of(vq, struct imgu_video_device, vbq); in imgu_vb2_stop_streaming()
826 if (fmt->index > 0 || fmt->type != node->vbq.type) in imgu_meta_enum_format()
840 if (f->type != node->vbq.type) in imgu_vidioc_g_meta_fmt()
1162 struct vb2_queue *vbq = &node->vbq; in imgu_v4l2_node_setup() local
[all …]
Dipu3.h81 struct vb2_queue vbq; member
/Linux-v5.4/drivers/media/platform/
Daspeed-video.c1495 struct vb2_queue *vbq = &video->queue; in aspeed_video_setup_video() local
1531 vbq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in aspeed_video_setup_video()
1532 vbq->io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; in aspeed_video_setup_video()
1533 vbq->dev = v4l2_dev->dev; in aspeed_video_setup_video()
1534 vbq->lock = &video->video_lock; in aspeed_video_setup_video()
1535 vbq->ops = &aspeed_video_vb2_ops; in aspeed_video_setup_video()
1536 vbq->mem_ops = &vb2_dma_contig_memops; in aspeed_video_setup_video()
1537 vbq->drv_priv = video; in aspeed_video_setup_video()
1538 vbq->buf_struct_size = sizeof(struct aspeed_video_buffer); in aspeed_video_setup_video()
1539 vbq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in aspeed_video_setup_video()
[all …]
/Linux-v5.4/mm/
Dvmalloc.c1458 struct vmap_block_queue *vbq; in new_vmap_block() local
1505 vbq = &get_cpu_var(vmap_block_queue); in new_vmap_block()
1506 spin_lock(&vbq->lock); in new_vmap_block()
1507 list_add_tail_rcu(&vb->free_list, &vbq->free); in new_vmap_block()
1508 spin_unlock(&vbq->lock); in new_vmap_block()
1534 struct vmap_block_queue *vbq = &per_cpu(vmap_block_queue, cpu); in purge_fragmented_blocks() local
1537 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in purge_fragmented_blocks()
1548 spin_lock(&vbq->lock); in purge_fragmented_blocks()
1550 spin_unlock(&vbq->lock); in purge_fragmented_blocks()
1574 struct vmap_block_queue *vbq; in vb_alloc() local
[all …]
/Linux-v5.4/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c901 container_of(vb->vb2_queue, struct cio2_queue, vbq); in cio2_vb2_buf_queue()
1554 struct vb2_queue *vbq = &q->vbq; in cio2_queue_init() local
1623 vbq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in cio2_queue_init()
1624 vbq->io_modes = VB2_USERPTR | VB2_MMAP | VB2_DMABUF; in cio2_queue_init()
1625 vbq->ops = &cio2_vb2_ops; in cio2_queue_init()
1626 vbq->mem_ops = &vb2_dma_sg_memops; in cio2_queue_init()
1627 vbq->buf_struct_size = sizeof(struct cio2_buffer); in cio2_queue_init()
1628 vbq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in cio2_queue_init()
1629 vbq->min_buffers_needed = 1; in cio2_queue_init()
1630 vbq->drv_priv = cio2; in cio2_queue_init()
[all …]
Dipu3-cio2.h343 struct vb2_queue vbq; member
434 return container_of(vq, struct cio2_queue, vbq); in vb2q_to_cio2_queue()
/Linux-v5.4/drivers/media/platform/exynos4-is/
Dfimc-core.h316 struct vb2_queue vbq; member
Dfimc-capture.c434 if (vb2_is_streaming(&vid_cap->vbq) && in buffer_queue()
1027 if (vb2_is_busy(&fimc->vid_cap.vbq)) in __fimc_capture_set_format()
1544 if (fmt->pad == FIMC_SD_PAD_SOURCE && vb2_is_busy(&vc->vbq)) in fimc_subdev_set_fmt()
1734 struct vb2_queue *q = &fimc->vid_cap.vbq; in fimc_register_capture_device()