/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 74 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate() 76 &p_buffer->ion_info_fd); in buffer_allocate() 82 p_buffer->p_pmem_fd = p_buffer->ion_info_fd.fd; in buffer_allocate() 96 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate() 124 close(p_buffer->ion_info_fd.fd); in buffer_deallocate() 126 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate() 154 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate() 155 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 74 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate() 76 &p_buffer->ion_info_fd); in buffer_allocate() 82 p_buffer->p_pmem_fd = p_buffer->ion_info_fd.fd; in buffer_allocate() 96 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate() 124 close(p_buffer->ion_info_fd.fd); in buffer_deallocate() 126 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate() 154 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate() 155 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 72 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate() 74 &p_buffer->ion_info_fd); in buffer_allocate() 80 p_buffer->p_pmem_fd = p_buffer->ion_info_fd.fd; in buffer_allocate() 94 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate() 122 close(p_buffer->ion_info_fd.fd); in buffer_deallocate() 124 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate() 152 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate() 153 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 353 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 376 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 377 ion_info_fd.handle = alloc.handle; in allocOneBuffer() 378 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 385 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 386 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 392 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 651 struct ion_fd_data ion_info_fd; in registerBuffer() local 660 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in registerBuffer() 691 ion_info_fd.fd = mPrivateHandle[idx]->fd; in registerBuffer() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 303 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 326 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 327 ion_info_fd.handle = allocData.handle; in allocOneBuffer() 328 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 335 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 336 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 342 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 742 struct ion_fd_data ion_info_fd; in registerBuffer() local 749 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in registerBuffer() 780 ion_info_fd.fd = mPrivateHandle[idx]->fd; in registerBuffer() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 303 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 326 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 327 ion_info_fd.handle = allocData.handle; in allocOneBuffer() 328 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 335 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 336 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 342 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 742 struct ion_fd_data ion_info_fd; in registerBuffer() local 749 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in registerBuffer() 780 ion_info_fd.fd = mPrivateHandle[idx]->fd; in registerBuffer() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 332 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 364 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 365 ion_info_fd.handle = alloc.handle; in allocOneBuffer() 366 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 373 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 374 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 385 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 1394 struct ion_fd_data ion_info_fd; in allocate() local 1395 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocate() 1503 ion_info_fd.fd = mPrivateHandle[cnt]->fd; in allocate() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 472 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 504 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 505 ion_info_fd.handle = alloc.handle; in allocOneBuffer() 506 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 513 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 514 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 525 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 1609 struct ion_fd_data ion_info_fd; in allocate() local 1610 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocate() 1718 ion_info_fd.fd = mPrivateHandle[cnt]->fd; in allocate() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 472 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 504 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 505 ion_info_fd.handle = alloc.handle; in allocOneBuffer() 506 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 513 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 514 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 525 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 1609 struct ion_fd_data ion_info_fd; in allocate() local 1610 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocate() 1718 ion_info_fd.fd = mPrivateHandle[cnt]->fd; in allocate() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 44 struct ion_fd_data ion_info_fd; member
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 43 struct ion_fd_data ion_info_fd; member
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 43 struct ion_fd_data ion_info_fd; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 45 struct ion_fd_data *ion_info_fd, int *mapFd); 46 extern int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd, 481 cache_inv_data.handle = app_bufs->ion_info_fd[index].handle; in mm_stream_invalid_cache() 537 cache_inv_data.handle = app_bufs->ion_info_fd[index].handle; in mm_stream_clear_invalid_cache() 577 &app_bufs->ion_info_fd[i], in mm_stream_alloc_bufs() 613 &app_bufs->ion_info_fd[i], in mm_stream_release_bufs()
|
D | mm_qcamera_preview.c | 63 struct ion_fd_data *ion_info_fd, int *mapFd) in mm_camera_do_mmap_ion() argument 78 ion_info_fd->handle = alloc->handle; in mm_camera_do_mmap_ion() 79 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); in mm_camera_do_mmap_ion() 84 *mapFd = ion_info_fd->fd; in mm_camera_do_mmap_ion() 100 handle_data.handle = ion_info_fd->handle; in mm_camera_do_mmap_ion() 111 int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd, in mm_camera_do_munmap_ion() argument 116 close(ion_info_fd->fd); in mm_camera_do_munmap_ion() 119 handle_data.handle = ion_info_fd->handle; in mm_camera_do_munmap_ion()
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 758 struct ion_fd_data ion_info_fd; in initDisplayBuffers() local 918 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in initDisplayBuffers() 919 ion_info_fd.fd = in initDisplayBuffers() 922 ION_IOC_IMPORT, &ion_info_fd) < 0) { in initDisplayBuffers() 930 camHal->previewMem.mem_info[cnt].handle = ion_info_fd.handle; in initDisplayBuffers() 2673 struct ion_fd_data ion_info_fd; in allocate_ion_memory() local 2695 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocate_ion_memory() 2696 ion_info_fd.handle = alloc.handle; in allocate_ion_memory() 2697 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocate_ion_memory() 2704 mem_info->fd = ion_info_fd.fd; in allocate_ion_memory() [all …]
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Preview.cpp | 43 struct ion_fd_data ion_info_fd; in getBufferFromSurface() local 159 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in getBufferFromSurface() 160 ion_info_fd.fd = mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd; in getBufferFromSurface() 162 ION_IOC_IMPORT, &ion_info_fd) < 0) { in getBufferFromSurface() 181 mHalCamCtrl->mPreviewMemory.mem_info[cnt].handle = ion_info_fd.handle; in getBufferFromSurface()
|
D | QCameraHWI.cpp | 2856 struct ion_fd_data ion_info_fd; in allocate_ion_memory() local 2878 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocate_ion_memory() 2879 ion_info_fd.handle = alloc.handle; in allocate_ion_memory() 2880 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocate_ion_memory() 2887 mem_info->fd = ion_info_fd.fd; in allocate_ion_memory() 2888 mem_info->handle = ion_info_fd.handle; in allocate_ion_memory() 2894 handle_data.handle = ion_info_fd.handle; in allocate_ion_memory()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 117 struct ion_fd_data ion_info_fd; in mm_app_allocate_ion_memory() local 140 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in mm_app_allocate_ion_memory() 141 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 152 ion_info_fd.fd, in mm_app_allocate_ion_memory() 160 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory() 161 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory() 168 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 117 struct ion_fd_data ion_info_fd; in mm_app_allocate_ion_memory() local 140 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in mm_app_allocate_ion_memory() 141 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 152 ion_info_fd.fd, in mm_app_allocate_ion_memory() 160 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory() 161 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory() 168 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 66 struct ion_fd_data ion_info_fd[MM_CAMERA_MAX_NUM_FRAMES]; member
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 117 struct ion_fd_data ion_info_fd; in mm_app_allocate_ion_memory() local 140 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in mm_app_allocate_ion_memory() 141 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory() 142 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 152 ion_info_fd.fd, in mm_app_allocate_ion_memory() 160 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory() 161 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory() 168 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
D | QCameraStream.h | 75 struct ion_fd_data ion_info_fd[MM_CAMERA_MAX_NUM_FRAMES]; member
|