Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp71 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory()
136 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
137 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
309 int main_ion_fd = -1; in allocOneBuffer() local
311 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer()
312 if (main_ion_fd < 0) { in allocOneBuffer()
324 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer()
333 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer()
339 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer()
348 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
[all …]
DQCamera3Mem.h86 int main_ion_fd; member
/hardware/qcom/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
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp146 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
147 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
223 mMemInfo[i].main_ion_fd = -1; in reset()
466 int main_ion_fd = -1; in allocOneBuffer() local
468 main_ion_fd = open("/dev/ion", O_RDONLY); in allocOneBuffer()
469 if (main_ion_fd < 0) { in allocOneBuffer()
491 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocOneBuffer()
499 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer()
505 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer()
519 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
[all …]
DQCameraMem.h131 int main_ion_fd; member
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3Test.cpp100 int main_ion_fd = -1, rc; in allocateBuffers() local
103 main_ion_fd = open("/dev/ion", O_RDONLY); in allocateBuffers()
104 if (main_ion_fd <= 0) { in allocateBuffers()
115 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocateBuffers()
122 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocateBuffers()
127 req_meminfo->ion_fd = main_ion_fd; in allocateBuffers()
/hardware/qcom/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
/hardware/qcom/camera/msm8998/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 …]
/hardware/qcom/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 …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c124 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local
127 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory()
128 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory()
140 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory()
148 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory()
165 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory()
175 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory()
177 close(main_ion_fd); in mm_app_allocate_ion_memory()
194 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory()
197 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c124 int main_ion_fd = -1; in mm_app_allocate_ion_memory() local
127 main_ion_fd = open("/dev/ion", O_RDONLY); in mm_app_allocate_ion_memory()
128 if (main_ion_fd <= 0) { in mm_app_allocate_ion_memory()
140 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory()
148 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory()
165 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory()
175 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory()
177 close(main_ion_fd); in mm_app_allocate_ion_memory()
194 if (buf->mem_info.main_ion_fd >= 0) { in mm_app_deallocate_ion_memory()
197 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.h160 int main_ion_fd; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h160 int main_ion_fd; member