Home
last modified time | relevance | path

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

/openbmc/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()
284 if (buf->non_coherent_mem) in vb2_dc_mmap()
478 if (buf->non_coherent_mem) in vb2_dc_get_base_sgt()
660 buf->non_coherent_mem = 1; in vb2_dc_get_userptr()
H A Dvideobuf2-core.c729 static void set_queue_coherency(struct vb2_queue *q, bool non_coherent_mem) in set_queue_coherency() argument
731 q->non_coherent_mem = 0; in set_queue_coherency()
735 q->non_coherent_mem = non_coherent_mem; in set_queue_coherency()
738 static bool verify_coherency_flags(struct vb2_queue *q, bool non_coherent_mem) in verify_coherency_flags() argument
740 if (non_coherent_mem != q->non_coherent_mem) { in verify_coherency_flags()
752 bool non_coherent_mem = flags & V4L2_MEMORY_FLAG_NON_COHERENT; in vb2_core_reqbufs() local
768 !verify_coherency_flags(q, non_coherent_mem)) { in vb2_core_reqbufs()
809 set_queue_coherency(q, non_coherent_mem); in vb2_core_reqbufs()
912 bool non_coherent_mem = flags & V4L2_MEMORY_FLAG_NON_COHERENT; in vb2_core_create_bufs() local
935 set_queue_coherency(q, non_coherent_mem); in vb2_core_create_bufs()
[all …]
/openbmc/linux/include/media/
H A Dvideobuf2-core.h600 unsigned int non_coherent_mem:1; member