Home
last modified time | relevance | path

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

/hardware/qcom/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
/hardware/qcom/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
/hardware/qcom/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 …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h162 int main_ion_fd; member