HomeSort by relevance Sort by last modified time
    Searched refs:ion_fd (Results 1 - 25 of 37) sorted by null

1 2

  /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 47 int ion_fd; member in struct:__anon2833
  /device/lge/hammerhead/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 47 int ion_fd; member in struct:__anon3340
  /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg_ionbuf.c 57 p_buffer->ion_fd = open("/dev/ion", O_RDONLY);
58 if(p_buffer->ion_fd < 0) {
65 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc);
73 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE,
95 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data);
125 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data);
127 close(p_buffer->ion_fd);
  /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg_ionbuf.h 47 int ion_fd; member in struct:__anon4496
  /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/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/
omx_proxy_camera.c 132 int ion_fd; variable
181 ion_free(pCompPrv->ion_fd, gCamIonHdl[i][0]);
185 ion_free(pCompPrv->ion_fd, gCamIonHdl[i][1]);
194 ion_free(pCompPrv->ion_fd, gComponentBufferAllocation[i][j]);
253 ion_free(pCompPrv->ion_fd, gComponentBufferAllocation[i][j]);
425 ret = ion_alloc_tiler(pCompPrv->ion_fd, MAX_VTC_WIDTH_WITH_VNF, MAX_VTC_HEIGHT_WITH_VNF, TILER_PIXEL_FMT_8BIT, OMAP_ION_HEAP_TILER_MASK, &handle, (size_t *)&stride_Y);
431 ret = ion_share(pCompPrv->ion_fd, handle, &fd1);
434 ion_free(pCompPrv->ion_fd, handle);
442 ret = ion_alloc_tiler(pCompPrv->ion_fd, MAX_VTC_WIDTH_WITH_VNF/2, MAX_VTC_HEIGHT_WITH_VNF/2, TILER_PIXEL_FMT_16BIT, OMAP_ION_HEAP_TILER_MASK, &handle, (size_t *)&stride_UV);
448 ret = ion_share(pCompPrv->ion_fd, handle, &fd2)
    [all...]
  /device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
mm_qcamera_app.c 44 extern uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc,
46 extern int mm_camera_do_munmap_ion (int ion_fd, struct ion_fd_data *ion_info_fd,
449 int ion_fd; local
486 ion_fd = pme->ionfd;
489 cache_inv_data.vaddr,cache_inv_data.fd,cache_inv_data.handle,cache_inv_data.length,ion_fd);
490 if(ion_fd > 0) {
491 if(ioctl(ion_fd, ION_IOC_CUSTOM, &custom_data) < 0)
509 int ion_fd; local
542 ion_fd = pme->ionfd;
543 if(ion_fd > 0)
    [all...]
  /hardware/qcom/keymaster/
keymaster_qcom.cpp 56 int32_t ion_fd; member in struct:qcom_km_ion_info_t
200 int32_t ion_fd; local
212 ion_fd = open("/dev/ion", O_RDONLY | O_DSYNC);
213 if (ion_fd < 0) {
233 rc = ioctl(ion_fd, ION_IOC_ALLOC, &ion_alloc_data);
246 rc = ioctl(ion_fd, ION_IOC_MAP, &ifd_data);
261 handle->ion_fd = ion_fd;
279 iret = ioctl(ion_fd, ION_IOC_FREE, &handle_data);
285 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/intel/img/psb_video/src/
psb_surface_attrib.c 657 int ion_fd = 0; local
671 ion_fd = open("/dev/ion", O_RDWR);
672 if (ion_fd < 0) {
680 ion_ret = ioctl(ion_fd, ION_IOC_IMPORT, &ion_source_share);
682 close(ion_fd);
694 close(ion_fd);
702 close(ion_fd);
722 close(ion_fd);
736 close(ion_fd);
750 close(ion_fd);
    [all...]
  /hardware/ti/omap4-aah/camera/
MemoryManager.cpp 118 buffers[i].ion_fd = mIonFd;
  /hardware/ti/omap4xxx/domx/domx/
omx_proxy_common.h 206 int ion_fd; member in struct:PROXY_COMPONENT_PRIVATE
  /hardware/ti/omap4-aah/domx/domx/omx_proxy_common/src/
omx_proxy_common.c 222 ret = ion_alloc(pCompPrv->ion_fd, len, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, &temp);
225 ret = ion_alloc_tiler(pCompPrv->ion_fd, len, 1, TILER_PIXEL_FMT_PAGE,
741 if (ion_map(pCompPrv->ion_fd, handle, nSize, PROT_READ | PROT_WRITE, MAP_SHARED, 0,
749 if (ion_share(pCompPrv->ion_fd, handle, &(pCompPrv->tBufList[currentBuffer].mmap_fd)) < 0) {
770 ion_free(pCompPrv->ion_fd,
    [all...]
  /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...]
  /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)
  /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...]
  /hardware/ti/omap4-aah/domx/domx/
omx_proxy_common.h 275 int ion_fd; member in struct:PROXY_COMPONENT_PRIVATE

Completed in 840 milliseconds

1 2