Home
last modified time | relevance | path

Searched refs:ion_fd (Results 1 – 12 of 12) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c57 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); in buffer_allocate()
58 if(p_buffer->ion_fd < 0) { in buffer_allocate()
65 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
73 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate()
95 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_allocate()
125 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_deallocate()
127 close(p_buffer->ion_fd); in buffer_deallocate()
158 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate()
Dmm_jpeg.c2212 p_session->work_buffer.ion_fd = -1; in mm_jpeg_create_session()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c59 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); in buffer_allocate()
60 if(p_buffer->ion_fd < 0) { in buffer_allocate()
67 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
75 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate()
97 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_allocate()
127 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_deallocate()
129 close(p_buffer->ion_fd); in buffer_deallocate()
160 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate()
Dmm_jpeg.c2354 p_session->work_buffer.ion_fd = -1; in mm_jpeg_create_session()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c59 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); in buffer_allocate()
60 if(p_buffer->ion_fd < 0) { in buffer_allocate()
67 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
75 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate()
97 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_allocate()
127 ioctl(p_buffer->ion_fd, ION_IOC_FREE, &lhandle_data); in buffer_deallocate()
129 close(p_buffer->ion_fd); in buffer_deallocate()
160 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate()
Dmm_jpeg.c2354 p_session->work_buffer.ion_fd = -1; in mm_jpeg_create_session()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_app.c44 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; in mm_stream_invalid_cache() local
486 ion_fd = pme->ionfd; in mm_stream_invalid_cache()
489 cache_inv_data.vaddr,cache_inv_data.fd,cache_inv_data.handle,cache_inv_data.length,ion_fd); in mm_stream_invalid_cache()
490 if(ion_fd > 0) { in mm_stream_invalid_cache()
491 if(ioctl(ion_fd, ION_IOC_CUSTOM, &custom_data) < 0) in mm_stream_invalid_cache()
509 int ion_fd; in mm_stream_clear_invalid_cache() local
542 ion_fd = pme->ionfd; in mm_stream_clear_invalid_cache()
543 if(ion_fd > 0) { in mm_stream_clear_invalid_cache()
[all …]
Dmm_qcamera_preview.c62 uint8_t *mm_camera_do_mmap_ion(int ion_fd, struct ion_allocation_data *alloc, in mm_camera_do_mmap_ion() argument
72 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); in mm_camera_do_mmap_ion()
79 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); in mm_camera_do_mmap_ion()
101 ioctl(ion_fd, ION_IOC_FREE, &handle_data); 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
120 ioctl(ion_fd, ION_IOC_FREE, &handle_data); in mm_camera_do_munmap_ion()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_ionbuf.h48 int ion_fd; member
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_ionbuf.h47 int ion_fd; member
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_ionbuf.h47 int ion_fd; member
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h497 int cache_ops(int ion_fd, struct ion_flush_data *cache_inv_data, int type);