Home
last modified time | relevance | path

Searched refs:fd_data (Results 1 – 25 of 40) sorted by relevance

12

/hardware/qcom/display/msm8960/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
114 clean_buffer(base, data.size, data.offset, fd_data.fd, in alloc_buffer()
119 data.fd = fd_data.fd; in alloc_buffer()
182 struct ion_fd_data fd_data; in clean_buffer() local
190 fd_data.fd = fd; in clean_buffer()
191 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
198 handle_data.handle = fd_data.handle; in clean_buffer()
[all …]
/hardware/qcom/display/msm8996/libgralloc/
Dionalloc.cpp79 struct ion_fd_data fd_data; in alloc_buffer() local
97 fd_data.handle = ionAllocData.handle; in alloc_buffer()
99 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
109 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
120 data.fd = fd_data.fd; in alloc_buffer()
192 struct ion_fd_data fd_data; in clean_buffer() local
200 fd_data.fd = fd; in clean_buffer()
201 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
208 handle_data.handle = fd_data.handle; in clean_buffer()
209 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8226/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
115 data.fd = fd_data.fd; in alloc_buffer()
182 struct ion_fd_data fd_data; in clean_buffer() local
190 fd_data.fd = fd; in clean_buffer()
191 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
198 handle_data.handle = fd_data.handle; in clean_buffer()
199 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8994/libgralloc/
Dionalloc.cpp75 struct ion_fd_data fd_data; in alloc_buffer() local
103 fd_data.handle = ionAllocData.handle; in alloc_buffer()
105 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
115 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
126 data.fd = fd_data.fd; in alloc_buffer()
198 struct ion_fd_data fd_data; in clean_buffer() local
206 fd_data.fd = fd; in clean_buffer()
207 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
214 handle_data.handle = fd_data.handle; in clean_buffer()
215 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8909/libgralloc/
Dionalloc.cpp74 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
115 data.fd = fd_data.fd; in alloc_buffer()
187 struct ion_fd_data fd_data; in clean_buffer() local
195 fd_data.fd = fd; in clean_buffer()
196 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
203 handle_data.handle = fd_data.handle; in clean_buffer()
204 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8084/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
115 data.fd = fd_data.fd; in alloc_buffer()
178 struct ion_fd_data fd_data; in clean_buffer() local
186 fd_data.fd = fd; in clean_buffer()
187 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
194 handle_data.handle = fd_data.handle; in clean_buffer()
195 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dionalloc.cpp74 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
115 data.fd = fd_data.fd; in alloc_buffer()
187 struct ion_fd_data fd_data; in clean_buffer() local
195 fd_data.fd = fd; in clean_buffer()
196 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
203 handle_data.handle = fd_data.handle; in clean_buffer()
204 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_ion_alloc.cpp73 struct ion_fd_data fd_data; in AllocBuffer() local
88 fd_data.handle = ion_alloc_data.handle; in AllocBuffer()
90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
97 data->fd = fd_data.fd; in AllocBuffer()
145 struct ion_fd_data fd_data; in ImportBuffer() local
147 fd_data.fd = fd; in ImportBuffer()
148 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
153 return fd_data.handle; in ImportBuffer()
/hardware/qcom/display/msm8909/gralloc/
Dgr_ion_alloc.cpp73 struct ion_fd_data fd_data; in AllocBuffer() local
88 fd_data.handle = ion_alloc_data.handle; in AllocBuffer()
90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
97 data->fd = fd_data.fd; in AllocBuffer()
145 struct ion_fd_data fd_data; in ImportBuffer() local
147 fd_data.fd = fd; in ImportBuffer()
148 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
153 return fd_data.handle; in ImportBuffer()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_ion_alloc.cpp73 struct ion_fd_data fd_data; in AllocBuffer() local
88 fd_data.handle = ion_alloc_data.handle; in AllocBuffer()
90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
97 data->fd = fd_data.fd; in AllocBuffer()
145 struct ion_fd_data fd_data; in ImportBuffer() local
147 fd_data.fd = fd; in ImportBuffer()
148 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
153 return fd_data.handle; in ImportBuffer()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_ion_alloc.cpp79 struct ion_fd_data fd_data; in AllocBuffer() local
100 fd_data.handle = ion_alloc_data.handle; in AllocBuffer()
103 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
111 data->fd = fd_data.fd; in AllocBuffer()
159 struct ion_fd_data fd_data; in ImportBuffer() local
161 fd_data.fd = fd; in ImportBuffer()
162 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
167 return fd_data.handle; in ImportBuffer()
/hardware/qcom/sm8150/display/gralloc/
Dgr_ion_alloc.cpp180 struct ion_fd_data fd_data; in AllocBuffer() local
201 fd_data.handle = ion_alloc_data.handle; in AllocBuffer()
204 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
212 data->fd = fd_data.fd; in AllocBuffer()
241 struct ion_fd_data fd_data; in ImportBuffer() local
243 fd_data.fd = fd; in ImportBuffer()
244 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
249 return fd_data.handle; in ImportBuffer()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Domx_video_base.h595 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp4303 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
4307 if (size <=0 || !alloc_data || !fd_data) { in alloc_map_ion_memory()
4340 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
4341 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
4346 buf_ion_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
4348 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h560 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h584 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h595 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4392 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
4396 if (size <=0 || !alloc_data || !fd_data) { in alloc_map_ion_memory()
4439 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
4440 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
4445 buf_ion_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
4447 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h728 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h619 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4724 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
4728 if (size <=0 || !alloc_data || !fd_data) { in alloc_map_ion_memory()
4774 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
4775 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
4780 buf_ion_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
4782 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4871 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
4875 if (size <=0 || !alloc_data || !fd_data) { in alloc_map_ion_memory()
4921 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
4922 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
4927 buf_ion_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
4929 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h631 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h634 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.h469 int32_t processFaceDetectionResult(cam_faces_data_t *fd_data);

12