Searched refs:dmaBuf (Results 1 – 8 of 8) sorted by relevance
/drivers/hdf_core/adapter/khdf/linux/model/camera/src/ |
D | camera_buffer_manager_adapter.c | 140 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()
|
D | virtual_malloc.c | 222 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()
|
D | contig_dma.c | 328 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()
|
D | sg_dma.c | 343 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/ |
D | camera_buffer_manager_adapter.h | 51 void MemoryAdapterPutDmaBuffer(void *dmaBuf); 52 uint32_t MemoryAdapterDmaBufSize(void *dmaBuf);
|
/drivers/hdf_core/framework/model/camera/buffer_manager/src/ |
D | camera_buffer.c | 78 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/ |
D | camera_buffer.h | 31 void *dmaBuf; member
|
D | buffer_queue.h | 49 …void *(*attachDmaBuf)(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned long si…
|