/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 58 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); 59 if(p_buffer->ion_fd < 0) { 66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); 74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, 96 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); 126 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); 128 close(p_buffer->ion_fd);
|
mm_jpeg_ionbuf.h | 48 int ion_fd; member in struct:__anon1820
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 58 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); 59 if(p_buffer->ion_fd < 0) { 66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); 74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, 96 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); 126 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); 128 close(p_buffer->ion_fd);
|
mm_jpeg_ionbuf.h | 48 int ion_fd; member in struct:__anon31448
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_helper.c | 105 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 115 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); 122 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); 144 ioctl(ion_fd, ION_IOC_FREE, &handle_data); 149 int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd, 158 ioctl(ion_fd, ION_IOC_FREE, &handle_data); 257 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 268 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); 275 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); 297 ioctl(ion_fd, ION_IOC_FREE, &handle_data) [all...] |
mm_camera_channel.c | 1055 int ion_fd; local [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_helper.c | 105 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 115 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); 122 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); 144 ioctl(ion_fd, ION_IOC_FREE, &handle_data); 149 int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd, 158 ioctl(ion_fd, ION_IOC_FREE, &handle_data); 275 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 285 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); 292 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); 314 ioctl(ion_fd, ION_IOC_FREE, &handle_data) [all...] |
mm_camera_interface2.h | 513 extern uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 515 extern int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd, 525 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 527 int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd,
|
mm_camera_channel.c | 401 int ion_fd; local 471 ion_fd = cache_frame->ion_dev_fd; 472 if(ion_fd > 0) { 473 if(ioctl(ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) 478 ion_fd = cache_frame1->ion_dev_fd; 485 if(ioctl(ion_fd, ION_IOC_CUSTOM, &custom_data) < 0)
|
/hardware/qcom/keymaster/ |
keymaster_qcom.cpp | 55 int32_t ion_fd; member in struct:qcom_km_ion_info_t 199 int32_t ion_fd; local 211 ion_fd = open("/dev/ion", O_RDONLY | O_DSYNC); 212 if (ion_fd < 0) { 232 rc = ioctl(ion_fd, ION_IOC_ALLOC, &ion_alloc_data); 245 rc = ioctl(ion_fd, ION_IOC_MAP, &ifd_data); 260 handle->ion_fd = ion_fd; 278 iret = ioctl(ion_fd, ION_IOC_FREE, &handle_data); 284 if (ion_fd > 0 [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/ |
omx_proxy_camera.c | 123 int ion_fd; variable 450 ion_fd = ion_open(); 451 if(ion_fd == 0) 457 ret = ion_alloc(ion_fd, dccbuf_size, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, &DCC_Buff); 461 if (ion_map(ion_fd, DCC_Buff, dccbuf_size, PROT_READ | PROT_WRITE, MAP_SHARED, 0, 646 ion_free(ion_fd, DCC_Buff); 647 ion_close(ion_fd);
|
/hardware/ti/omap4xxx/domx/domx/ |
omx_proxy_common.h | 206 int ion_fd; member in struct:PROXY_COMPONENT_PRIVATE
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Record.cpp | 348 int ion_fd; local 349 ion_fd = frame->video.video.frame->ion_dev_fd; 355 if (mHalCamCtrl->cache_ops(ion_fd, &cache_inv_data, ION_IOC_CLEAN_CACHES) < 0)
|
QCameraHWI_Preview.cpp | 876 int ion_fd; local 1106 int ion_fd; local [all...] |
QCameraHWI_Still.cpp | 1655 int ion_fd; local [all...] |
QCameraHWI.cpp | [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Record.cpp | 347 int ion_fd; local 348 ion_fd = frame->video.video.frame->ion_dev_fd; 354 if (mHalCamCtrl->cache_ops(ion_fd, &cache_inv_data, ION_IOC_CLEAN_CACHES) < 0)
|
QCameraHWI_Preview.cpp | 936 int ion_fd; local 1176 int ion_fd; local [all...] |
QCameraHWI.cpp | 2480 int ion_fd; local [all...] |
QCameraHWI_Still.cpp | 1854 int ion_fd; local [all...] |
QCameraHWI.h | 487 int cache_ops(int ion_fd, struct ion_flush_data *cache_inv_data, int type);
|
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 48 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, 58 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); 65 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); 87 ioctl(ion_fd, ION_IOC_FREE, &handle_data); 97 int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd, 106 ioctl(ion_fd, ION_IOC_FREE, &handle_data); [all...] |
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/ |
omx_proxy_common.c | 206 ret = ion_alloc(pCompPrv->ion_fd, len, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, &temp); 211 ret = ion_share(pCompPrv->ion_fd, temp, &fd); 213 ion_free(pCompPrv->ion_fd, temp); 218 ion_free(pCompPrv->ion_fd, temp); 803 ion_free(pCompPrv->ion_fd, pMemptr); 817 if (ion_map(pCompPrv->ion_fd, handle, nSize, PROT_READ | PROT_WRITE, MAP_SHARED, 0, 824 //ion_free(pCompPrv->ion_fd, handleToMap); [all...] |
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
QCameraHWI.h | 484 int cache_ops(int ion_fd, struct ion_flush_data *cache_inv_data, int type);
|