Home
last modified time | relevance | path

Searched refs:non_coherent_mem (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c46 bool non_coherent_mem; member
110 if (buf->non_coherent_mem) in vb2_dc_vaddr()
132 if (!buf->non_coherent_mem) in vb2_dc_prepare()
152 if (!buf->non_coherent_mem) in vb2_dc_finish()
174 if (buf->non_coherent_mem) { in vb2_dc_put()
248 buf->non_coherent_mem = vb->vb2_queue->non_coherent_mem; in vb2_dc_alloc()
254 if (buf->non_coherent_mem) in vb2_dc_alloc()
285 if (buf->non_coherent_mem) in vb2_dc_mmap()
479 if (buf->non_coherent_mem) in vb2_dc_get_base_sgt()
662 buf->non_coherent_mem = 1; in vb2_dc_get_userptr()
H A Dvideobuf2-core.c823 static void set_queue_coherency(struct vb2_queue *q, bool non_coherent_mem) in set_queue_coherency() argument
825 q->non_coherent_mem = 0; in set_queue_coherency()
829 q->non_coherent_mem = non_coherent_mem; in set_queue_coherency()
832 static bool verify_coherency_flags(struct vb2_queue *q, bool non_coherent_mem) in verify_coherency_flags() argument
834 if (non_coherent_mem != q->non_coherent_mem) { in verify_coherency_flags()
873 bool non_coherent_mem = flags & V4L2_MEMORY_FLAG_NON_COHERENT; in vb2_core_reqbufs() local
889 !verify_coherency_flags(q, non_coherent_mem)) { in vb2_core_reqbufs()
933 set_queue_coherency(q, non_coherent_mem); in vb2_core_reqbufs()
1040 bool non_coherent_mem = flags & V4L2_MEMORY_FLAG_NON_COHERENT; in vb2_core_create_bufs() local
1067 set_queue_coherency(q, non_coherent_mem); in vb2_core_create_bufs()
[all …]
/linux/include/media/
H A Dvideobuf2-core.h511 * @non_coherent_mem: when set queue will attempt to allocate buffers using
616 unsigned int non_coherent_mem:1;
626 unsigned int non_coherent_mem:1; global() member