Home
last modified time | relevance | path

Searched refs:main_ion_fd (Results 1 – 19 of 19) sorted by relevance

/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp66 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 …]
DQCamera3Mem.h82 int main_ion_fd; member
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Mem.cpp66 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 …]
DQCamera3Mem.h82 int main_ion_fd; member
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp147 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 …]
DQCameraMem.h115 int main_ion_fd; member
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp135 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 …]
DQCameraMem.h102 int main_ion_fd; member
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp135 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 …]
DQCameraMem.h102 int main_ion_fd; member
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Mem.cpp75 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 …]
DQCamera3Mem.h98 int main_ion_fd = -1; variable
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp913 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/
Dmm_qcamera_app.c127 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/
Dmm_qcamera_app.c118 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/
Dmm_qcamera_app.c118 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/
Dmm_qcamera_app.h162 int main_ion_fd; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h160 int main_ion_fd; member
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h162 int main_ion_fd; member