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.c733 static void set_queue_coherency(struct vb2_queue *q, bool non_coherent_mem) in set_queue_coherency() argument
735 q->non_coherent_mem = 0; in set_queue_coherency()
739 q->non_coherent_mem = non_coherent_mem; in set_queue_coherency()
742 static bool verify_coherency_flags(struct vb2_queue *q, bool non_coherent_mem) in verify_coherency_flags() argument
744 if (non_coherent_mem != q->non_coherent_mem) { in verify_coherency_flags()
756 bool non_coherent_mem = flags & V4L2_MEMORY_FLAG_NON_COHERENT; in vb2_core_reqbufs() local
772 !verify_coherency_flags(q, non_coherent_mem)) { in vb2_core_reqbufs()
813 set_queue_coherency(q, non_coherent_mem); in vb2_core_reqbufs()
916 bool non_coherent_mem = flags & V4L2_MEMORY_FLAG_NON_COHERENT; in vb2_core_create_bufs() local
939 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