Searched refs:ion_info_fd (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 81 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate() 83 &p_buffer->ion_info_fd); in buffer_allocate() 89 p_buffer->p_pmem_fd = p_buffer->ion_info_fd.fd; in buffer_allocate() 103 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate() 131 close(p_buffer->ion_info_fd.fd); in buffer_deallocate() 133 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate() 161 cache_inv_data.fd = p_buffer->ion_info_fd.fd; in buffer_invalidate() 162 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate() 195 cache_clean_data.fd = p_buffer->ion_info_fd.fd; in buffer_clean() 196 cache_clean_data.handle = p_buffer->ion_info_fd.handle; in buffer_clean()
|
D | mm_jpeg.c | 2767 p_session->work_buffer.ion_info_fd.fd = p_jobparams->work_buf.fd; in mm_jpeg_start_job()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3Test.cpp | 99 struct ion_fd_data ion_info_fd; in allocateBuffers() local 120 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocateBuffers() 121 ion_info_fd.handle = alloc.handle; in allocateBuffers() 122 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocateBuffers() 128 req_meminfo->ion_handle = ion_info_fd.handle; in allocateBuffers() 129 LOGD("%s ION FD %d len %d\n", __func__, ion_info_fd.fd, alloc.len); in allocateBuffers() 131 nh_test->data[0] = ion_info_fd.fd; in allocateBuffers()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 311 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 334 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 335 ion_info_fd.handle = allocData.handle; in allocOneBuffer() 336 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 342 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 343 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 349 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 785 struct ion_fd_data ion_info_fd; in registerBuffer() local 791 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in registerBuffer() 821 ion_info_fd.fd = mPrivateHandle[idx]->fd; in registerBuffer() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 469 struct ion_fd_data ion_info_fd; in allocOneBuffer() local 501 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in allocOneBuffer() 502 ion_info_fd.handle = alloc.handle; in allocOneBuffer() 503 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in allocOneBuffer() 510 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 511 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 522 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 2033 struct ion_fd_data ion_info_fd; in displayBuffer() local 2034 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in displayBuffer() 2035 ion_info_fd.fd = mPrivateHandle[dequeuedIdx]->fd; in displayBuffer() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 40 struct ion_fd_data ion_info_fd; member
|
/hardware/qcom/camera/msm8998/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 …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 127 struct ion_fd_data ion_info_fd; in mm_app_allocate_ion_memory() local 150 memset(&ion_info_fd, 0, sizeof(ion_info_fd)); in mm_app_allocate_ion_memory() 151 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory() 152 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); in mm_app_allocate_ion_memory() 162 ion_info_fd.fd, in mm_app_allocate_ion_memory() 170 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory() 171 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory() 178 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
|