/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 66 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory() 131 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 132 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 304 int main_ion_fd = -1; in allocOneBuffer() local 306 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 307 if (main_ion_fd < 0) { in allocOneBuffer() 319 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer() 328 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 334 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 343 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCamera3Mem.h | 82 int main_ion_fd; member
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 66 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory() 131 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 132 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 304 int main_ion_fd = -1; in allocOneBuffer() local 306 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 307 if (main_ion_fd < 0) { in allocOneBuffer() 319 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer() 328 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 334 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 343 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCamera3Mem.h | 82 int main_ion_fd; member
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 147 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 148 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 224 mMemInfo[i].main_ion_fd = -1; in reset() 467 int main_ion_fd = -1; in allocOneBuffer() local 469 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 470 if (main_ion_fd < 0) { in allocOneBuffer() 492 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 500 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 506 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 520 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCameraMem.h | 115 int main_ion_fd; member
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 135 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 136 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 211 mMemInfo[i].main_ion_fd = -1; in reset() 473 int main_ion_fd = -1; in allocOneBuffer() local 475 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 476 if (main_ion_fd < 0) { in allocOneBuffer() 498 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 506 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 512 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 526 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCameraMem.h | 102 int main_ion_fd; member
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 135 mMemInfo[index].main_ion_fd); in cacheOpsInternal() 136 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 211 mMemInfo[i].main_ion_fd = -1; in reset() 473 int main_ion_fd = -1; in allocOneBuffer() local 475 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer() 476 if (main_ion_fd < 0) { in allocOneBuffer() 498 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer() 506 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 512 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 526 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() [all …]
|
D | QCameraMem.h | 102 int main_ion_fd; member
|
/device/google/marlin/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 75 main_ion_fd = open("/dev/ion", O_RDONLY); in QCamera3Memory() 89 close(main_ion_fd); in ~QCamera3Memory() 137 main_ion_fd); in cacheOpsInternal() 138 ret = ioctl(main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal() 311 if (main_ion_fd < 0) { in allocOneBuffer() 323 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer() 332 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 346 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() 371 if (main_ion_fd >= 0) { in deallocOneBuffer() 374 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer() [all …]
|
D | QCamera3Mem.h | 98 int main_ion_fd = -1; variable
|
/device/google/marlin/camera/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 913 camHal->previewMem.mem_info[cnt].main_ion_fd = in initDisplayBuffers() 915 if (camHal->previewMem.mem_info[cnt].main_ion_fd < 0) { in initDisplayBuffers() 921 if (ioctl(camHal->previewMem.mem_info[cnt].main_ion_fd, in initDisplayBuffers() 1013 if (ioctl(camHal->previewMem.mem_info[cnt].main_ion_fd, in deInitDisplayBuffers() 1017 close(camHal->previewMem.mem_info[cnt].main_ion_fd); in deInitDisplayBuffers() 1661 mem_info->main_ion_fd); in cache_ops() 1662 if(mem_info->main_ion_fd > 0) { in cache_ops() 1663 if(ioctl(mem_info->main_ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) { in cache_ops() 2674 int main_ion_fd = 0; in allocate_ion_memory() local 2676 main_ion_fd = open("/dev/ion", O_RDONLY); in allocate_ion_memory() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 127 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local 130 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory() 131 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory() 143 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 151 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 168 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 178 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 180 close(main_ion_fd); in mm_app_allocate_ion_memory() 197 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory() 200 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 118 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local 121 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory() 122 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory() 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 159 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 169 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 171 close(main_ion_fd); in mm_app_allocate_ion_memory() 188 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory() 191 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 118 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local 121 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory() 122 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory() 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 159 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 169 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 171 close(main_ion_fd); in mm_app_allocate_ion_memory() 188 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory() 191 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 162 int main_ion_fd; member
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 160 int main_ion_fd; member
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 162 int main_ion_fd; member
|