Searched refs:planeNum (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/ |
H A D | camera_buffer.c | 134 int32_t planeNum; in CameraBufferAllocMmapPlanes() local 137 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferAllocMmapPlanes() 146 for (; planeNum > 0; --planeNum) { in CameraBufferAllocMmapPlanes() 296 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferPrepareMmap() 340 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferPrepareUserPtr() 350 planes[planeNum].memory.userPtr, planes[planeNum].length); in CameraBufferPrepareUserPtr() 375 if (planes[planeNum].length < buffer->planes[planeNum].minLength) { in CameraBufferAttachDmaPlane() 380 …if (dmaBuf == buffer->planes[planeNum].dmaBuf && buffer->planes[planeNum].length == planes[planeNu… in CameraBufferAttachDmaPlane() 408 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferAttachDmaBuffer() 423 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferMapDmaBuffer() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/camera/src/ |
H A D | contig_dma.c | 73 static void *ContigMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in ContigMmapAlloc() argument 79 if (queueImp->allocDev[planeNum] != NULL) { in ContigMmapAlloc() 80 dev = queueImp->allocDev[planeNum]; in ContigMmapAlloc() 145 uint32_t planeNum, unsigned long vaddr, unsigned long size) in ContigAllocUserPtr() argument 159 if (queueImp->allocDev[planeNum] != NULL) { in ContigAllocUserPtr() 160 dev = queueImp->allocDev[planeNum]; in ContigAllocUserPtr() 328 static void *ContigAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigne… in ContigAttachDmaBuf() argument 336 if (queueImp->allocDev[planeNum] != NULL) { in ContigAttachDmaBuf() 337 dev = queueImp->allocDev[planeNum]; in ContigAttachDmaBuf()
|
H A D | sg_dma.c | 99 static void *SgMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in SgMmapAlloc() argument 108 if (queueImp->allocDev[planeNum] != NULL) { in SgMmapAlloc() 109 dev = queueImp->allocDev[planeNum]; in SgMmapAlloc() 189 uint32_t planeNum, unsigned long vaddr, unsigned long size) in SgAllocUserPtr() argument 197 if (queueImp->allocDev[planeNum] != NULL) { in SgAllocUserPtr() 198 dev = queueImp->allocDev[planeNum]; in SgAllocUserPtr() 343 static void *SgAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned lo… in SgAttachDmaBuf() argument 351 if (queueImp->allocDev[planeNum] != NULL) { in SgAttachDmaBuf() 352 dev = queueImp->allocDev[planeNum]; in SgAttachDmaBuf()
|
H A D | virtual_malloc.c | 34 static void *VmallocMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in VmallocMmapAlloc() argument 62 uint32_t planeNum, unsigned long vaddr, unsigned long size) in VmallocAllocUserPtr() argument 222 static void *VmallocAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsign… in VmallocAttachDmaBuf() argument 229 if (queueImp->allocDev[planeNum] != NULL) { in VmallocAttachDmaBuf() 230 dev = queueImp->allocDev[planeNum]; in VmallocAttachDmaBuf()
|
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/include/ |
H A D | buffer_queue.h | 42 void *(*mmapAlloc)(struct BufferQueue *queue, uint32_t planeNum, unsigned long size); 45 …void *(*allocUserPtr)(struct BufferQueue *queue, uint32_t planeNum, unsigned long vaddr, unsigned … 49 …void *(*attachDmaBuf)(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned long si…
|