Home
last modified time | relevance | path

Searched refs:memPriv (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/
H A Dcamera_buffer.c79 plane->memPriv = NULL; in CameraBufferFreeDmaPlane()
108 void *memPriv = NULL; in CameraBufferAllocMmapPlane() local
118 memPriv = NULL; in CameraBufferAllocMmapPlane()
122 if (memPriv != NULL) { in CameraBufferAllocMmapPlane()
127 buffer->planes[planeNum].memPriv = memPriv; in CameraBufferAllocMmapPlane()
306 void *memPriv = NULL; in CameraBufferPrepareUserPtrPlane() local
324 memPriv = NULL; in CameraBufferPrepareUserPtrPlane()
327 if (MemoryAdapterIsErrPtr(memPriv)) { in CameraBufferPrepareUserPtrPlane()
331 buffer->planes[planeNum].memPriv = memPriv; in CameraBufferPrepareUserPtrPlane()
365 void *memPriv = NULL; in CameraBufferAttachDmaPlane() local
[all …]
H A Dcamera_buffer_manager.c77 if (planeId >= buffer->numPlanes || buffer->planes[planeId].memPriv == NULL) { in CameraBufferGetPlaneVaddr()
82 return queue->memOps->getVaddr(buffer->planes[planeId].memPriv); in CameraBufferGetPlaneVaddr()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/camera/src/
H A Dvirtual_malloc.c185 static int32_t VmallocMapDmaBuf(void *memPriv) in VmallocMapDmaBuf() argument
187 struct VmallocBuffer *buf = memPriv; in VmallocMapDmaBuf()
197 static void VmallocUnmapDmaBuf(void *memPriv) in VmallocUnmapDmaBuf() argument
199 if (memPriv == NULL) { in VmallocUnmapDmaBuf()
202 struct VmallocBuffer *buf = memPriv; in VmallocUnmapDmaBuf()
208 static void VmallocDetachDmaBuf(void *memPriv) in VmallocDetachDmaBuf() argument
210 if (memPriv == NULL) { in VmallocDetachDmaBuf()
213 struct VmallocBuffer *buf = memPriv; in VmallocDetachDmaBuf()
H A Dsg_dma.c268 static int SgMapDmaBuf(void *memPriv) in SgMapDmaBuf() argument
270 struct SgDmaBuffer *buf = memPriv; in SgMapDmaBuf()
299 static void SgUnmapDmaBuf(void *memPriv) in SgUnmapDmaBuf() argument
301 if (memPriv == NULL) { in SgUnmapDmaBuf()
304 struct SgDmaBuffer *buf = memPriv; in SgUnmapDmaBuf()
326 static void SgDetachDmaBuf(void *memPriv) in SgDetachDmaBuf() argument
328 if (memPriv == NULL) { in SgDetachDmaBuf()
332 struct SgDmaBuffer *buf = memPriv; in SgDetachDmaBuf()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/camera/include/
H A Dsg_dma.h23 if (planeId >= buffer->numPlanes || buffer->planes[planeId].memPriv == NULL) { in DmaSgPlaneDesc()
28 return (struct sg_table *)queue->memOps->getCookie(buffer->planes[planeId].memPriv); in DmaSgPlaneDesc()
H A Dcontig_dma.h23 if (planeId >= buffer->numPlanes || buffer->planes[planeId].memPriv == NULL) { in ContigDmaGetAddr()
28 addr = queue->memOps->getCookie(buffer->planes[planeId].memPriv); in ContigDmaGetAddr()
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/include/
H A Dcamera_buffer.h30 void *memPriv; member