Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/staging/media/ipu3/
Dipu3-v4l2.c308 container_of(vb->vb2_queue, struct imgu_video_device, vbq); in imgu_vb2_buf_init()
324 container_of(vb->vb2_queue, struct imgu_video_device, vbq); in imgu_vb2_buf_cleanup()
338 container_of(vb->vb2_queue, struct imgu_video_device, vbq); in imgu_vb2_buf_queue()
383 container_of(vq, struct imgu_video_device, vbq); in imgu_vb2_queue_setup()
433 if (node->enabled && !vb2_start_streaming_called(&node->vbq)) in imgu_all_nodes_streaming()
462 container_of(vq, struct imgu_video_device, vbq); in imgu_vb2_start_streaming()
524 container_of(vq, struct imgu_video_device, vbq); in imgu_vb2_stop_streaming()
839 if (fmt->index > 0 || fmt->type != node->vbq.type) in imgu_meta_enum_format()
856 if (f->type != node->vbq.type) in imgu_vidioc_g_meta_fmt()
1122 struct vb2_queue *vbq = &node->vbq; in imgu_v4l2_node_setup() local
[all …]
Dipu3.h76 struct vb2_queue vbq; member
/Linux-v6.1/drivers/media/platform/aspeed/
Daspeed-video.c1801 struct vb2_queue *vbq = &video->queue; in aspeed_video_setup_video() local
1837 vbq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in aspeed_video_setup_video()
1838 vbq->io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; in aspeed_video_setup_video()
1839 vbq->dev = v4l2_dev->dev; in aspeed_video_setup_video()
1840 vbq->lock = &video->video_lock; in aspeed_video_setup_video()
1841 vbq->ops = &aspeed_video_vb2_ops; in aspeed_video_setup_video()
1842 vbq->mem_ops = &vb2_dma_contig_memops; in aspeed_video_setup_video()
1843 vbq->drv_priv = video; in aspeed_video_setup_video()
1844 vbq->buf_struct_size = sizeof(struct aspeed_video_buffer); in aspeed_video_setup_video()
1845 vbq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in aspeed_video_setup_video()
[all …]
/Linux-v6.1/drivers/media/pci/intel/ipu3/
Dipu3-cio2-main.c891 container_of(vb->vb2_queue, struct cio2_queue, vbq); in cio2_vb2_buf_queue()
1527 struct vb2_queue *vbq = &q->vbq; in cio2_queue_init() local
1595 vbq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in cio2_queue_init()
1596 vbq->io_modes = VB2_USERPTR | VB2_MMAP | VB2_DMABUF; in cio2_queue_init()
1597 vbq->ops = &cio2_vb2_ops; in cio2_queue_init()
1598 vbq->mem_ops = &vb2_dma_sg_memops; in cio2_queue_init()
1599 vbq->buf_struct_size = sizeof(struct cio2_buffer); in cio2_queue_init()
1600 vbq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in cio2_queue_init()
1601 vbq->min_buffers_needed = 1; in cio2_queue_init()
1602 vbq->drv_priv = cio2; in cio2_queue_init()
[all …]
Dipu3-cio2.h367 struct vb2_queue vbq; member
459 return container_of(vq, struct cio2_queue, vbq); in vb2q_to_cio2_queue()
/Linux-v6.1/mm/
Dvmalloc.c1948 struct vmap_block_queue *vbq; in new_vmap_block() local
1989 vbq = raw_cpu_ptr(&vmap_block_queue); in new_vmap_block()
1990 spin_lock(&vbq->lock); in new_vmap_block()
1991 list_add_tail_rcu(&vb->free_list, &vbq->free); in new_vmap_block()
1992 spin_unlock(&vbq->lock); in new_vmap_block()
2013 struct vmap_block_queue *vbq = &per_cpu(vmap_block_queue, cpu); in purge_fragmented_blocks() local
2016 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in purge_fragmented_blocks()
2027 spin_lock(&vbq->lock); in purge_fragmented_blocks()
2029 spin_unlock(&vbq->lock); in purge_fragmented_blocks()
2053 struct vmap_block_queue *vbq; in vb_alloc() local
[all …]
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/
Dfimc-core.h315 struct vb2_queue vbq; member
Dfimc-capture.c435 if (vb2_is_streaming(&vid_cap->vbq) && in buffer_queue()
1017 if (vb2_is_busy(&fimc->vid_cap.vbq)) in __fimc_capture_set_format()
1523 if (fmt->pad == FIMC_SD_PAD_SOURCE && vb2_is_busy(&vc->vbq)) in fimc_subdev_set_fmt()
1713 struct vb2_queue *q = &fimc->vid_cap.vbq; in fimc_register_capture_device()