Home
last modified time | relevance | path

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

/drivers/hdf_core/adapter/khdf/linux/model/camera/src/
Dcamera_buffer_manager_adapter.c140 void MemoryAdapterPutDmaBuffer(void *dmaBuf) in MemoryAdapterPutDmaBuffer() argument
142 dma_buf_put((struct dma_buf *)dmaBuf); in MemoryAdapterPutDmaBuffer()
145 uint32_t MemoryAdapterDmaBufSize(void *dmaBuf) in MemoryAdapterDmaBufSize() argument
147 if (dmaBuf == NULL) { in MemoryAdapterDmaBufSize()
150 return ((struct dma_buf *)dmaBuf)->size; in MemoryAdapterDmaBufSize()
Dvirtual_malloc.c222 static void *VmallocAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsign… in VmallocAttachDmaBuf() argument
227 struct dma_buf *dbuf = (struct dma_buf *)dmaBuf; in VmallocAttachDmaBuf()
Dcontig_dma.c328 static void *ContigAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigne… in ContigAttachDmaBuf() argument
334 struct dma_buf *dbuf = (struct dma_buf *)dmaBuf; in ContigAttachDmaBuf()
Dsg_dma.c343 static void *SgAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned lo… in SgAttachDmaBuf() argument
349 struct dma_buf *dbuf = (struct dma_buf *)dmaBuf; in SgAttachDmaBuf()
/drivers/hdf_core/adapter/khdf/linux/model/camera/include/
Dcamera_buffer_manager_adapter.h51 void MemoryAdapterPutDmaBuffer(void *dmaBuf);
52 uint32_t MemoryAdapterDmaBufSize(void *dmaBuf);
/drivers/hdf_core/framework/model/camera/buffer_manager/src/
Dcamera_buffer.c78 MemoryAdapterPutDmaBuffer(plane->dmaBuf); in CameraBufferFreeDmaPlane()
80 plane->dmaBuf = NULL; in CameraBufferFreeDmaPlane()
367 void *dmaBuf = MemoryAdapterGetDmaBuffer(planes[planeNum].memory.fd); in CameraBufferAttachDmaPlane() local
368 if (MemoryAdapterIsErrOrNullPtr(dmaBuf)) { in CameraBufferAttachDmaPlane()
373 planes[planeNum].length = MemoryAdapterDmaBufSize(dmaBuf); in CameraBufferAttachDmaPlane()
376 MemoryAdapterPutDmaBuffer(dmaBuf); in CameraBufferAttachDmaPlane()
380 …if (dmaBuf == buffer->planes[planeNum].dmaBuf && buffer->planes[planeNum].length == planes[planeNu… in CameraBufferAttachDmaPlane()
381 MemoryAdapterPutDmaBuffer(dmaBuf); in CameraBufferAttachDmaPlane()
391 memPriv = queue->memOps->attachDmaBuf(queue, planeNum, dmaBuf, planes[planeNum].length); in CameraBufferAttachDmaPlane()
396 MemoryAdapterPutDmaBuffer(dmaBuf); in CameraBufferAttachDmaPlane()
[all …]
/drivers/hdf_core/framework/model/camera/buffer_manager/include/
Dcamera_buffer.h31 void *dmaBuf; member
Dbuffer_queue.h49 …void *(*attachDmaBuf)(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned long si…