Searched defs:ion_fd (Results 1 - 13 of 13) sorted by relevance

/hardware/qcom/display/msm8998/gpu_tonemapper/
H A DEGLImageWrapper.h31 int ion_fd; member in class:EGLImageWrapper::DeleteEGLImageCallback
33 DeleteEGLImageCallback(int ion_fd);
39 int ion_fd; member in class:EGLImageWrapper
H A DEGLImageWrapper.cpp28 void free_ion_cookie(int ion_fd, int cookie) argument
31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) {
33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie);
38 int get_ion_cookie(int ion_fd, int fd) argument
47 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) {
50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, f
[all...]
/hardware/qcom/display/sdm845/gpu_tonemapper/
H A DEGLImageWrapper.h31 int ion_fd; member in class:EGLImageWrapper::DeleteEGLImageCallback
33 DeleteEGLImageCallback(int ion_fd);
39 int ion_fd; member in class:EGLImageWrapper
H A DEGLImageWrapper.cpp28 void free_ion_cookie(int ion_fd, int cookie) argument
31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) {
33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie);
38 int get_ion_cookie(int ion_fd, int fd) argument
47 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) {
50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, f
[all...]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/
H A Dmm_jpeg_ionbuf.h44 int ion_fd; member in struct:__anon2448
/hardware/intel/img/psb_video/src/
H A Dpsb_surface_attrib.c655 int ion_fd = 0; local
669 ion_fd = open("/dev/ion", O_RDWR);
670 if (ion_fd < 0) {
678 ion_ret = ioctl(ion_fd, ION_IOC_IMPORT, &ion_source_share);
680 close(ion_fd);
692 close(ion_fd);
700 close(ion_fd);
720 close(ion_fd);
734 close(ion_fd);
748 close(ion_fd);
[all...]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
H A DQCameraHAL3Base.h98 int ion_fd; member in struct:qcamera::__anon1942
/hardware/qcom/keymaster/
H A Dkeymaster_qcom.cpp56 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 >
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp12344 int ion_fd = open(MEM_DEVICE, O_RDONLY); local
12345 if (ion_fd < 0) {
12346 DEBUG_PRINT_ERROR("Ion fd open failed : %d\n", ion_fd);
12375 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data);
12381 close(ion_fd);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp13551 int ion_fd = open(MEM_DEVICE, O_RDONLY); local
13552 if (ion_fd < 0) {
13553 DEBUG_PRINT_ERROR("Ion fd open failed : %d\n", ion_fd);
13582 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data);
13588 close(ion_fd);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp4537 int venc_dev::venc_get_index_from_fd(OMX_U32 ion_fd, OMX_U32 buffer_fd) argument
4544 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) {
4552 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &fdData.handle)) {
/hardware/qcom/media/sdm845/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp11899 int ion_fd = open(MEM_DEVICE, O_RDONLY); local
11900 if (ion_fd < 0) {
11901 DEBUG_PRINT_ERROR("Ion fd open failed : %d\n", ion_fd);
11930 rc = ioctl(ion_fd, ION_IOC_CUSTOM, custom_data);
11936 close(ion_fd);
/hardware/qcom/media/sdm845/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp4153 int venc_dev::venc_get_index_from_fd(OMX_U32 ion_fd, OMX_U32 buffer_fd) argument
4160 if (ion_fd && !ioctl(ion_fd, ION_IOC_IMPORT, &fdData)) {
4168 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &fdData.handle)) {

Completed in 674 milliseconds