Home
last modified time | relevance | path

Searched refs:ion_handle (Results 1 – 25 of 47) sorted by relevance

12

/hardware/qcom/msm8960/original-kernel-headers/linux/
Dion.h24 struct ion_handle;
25 typedef struct ion_handle *ion_user_handle_t;
186 struct ion_handle *ion_alloc(struct ion_client *client, size_t len,
197 void ion_free(struct ion_client *client, struct ion_handle *handle);
215 int ion_phys(struct ion_client *client, struct ion_handle *handle,
227 struct ion_handle *handle);
239 void *ion_map_kernel(struct ion_client *client, struct ion_handle *handle);
246 void ion_unmap_kernel(struct ion_client *client, struct ion_handle *handle);
253 int ion_share_dma_buf(struct ion_client *client, struct ion_handle *handle);
264 struct ion_handle *ion_import_dma_buf(struct ion_client *client, int fd);
[all …]
Dmsm_ion.h268 struct ion_handle *handle;
284 struct ion_handle *handle;
/hardware/ti/omap4-aah/system-core-headers-ti/ion/
Dion.h32 struct ion_handle **handle);
34 struct ion_handle **handle, size_t *stride);
36 int ion_free(int fd, struct ion_handle *handle);
37 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
39 int ion_share(int fd, struct ion_handle *handle, int *share_fd);
40 int ion_import(int fd, int share_fd, struct ion_handle **handle);
41 int ion_map_cacheable(int fd, struct ion_handle *handle, size_t length,
43 int ion_flush_cached(int fd, struct ion_handle *handle, size_t length,
45 int ion_inval_cached(int fd, struct ion_handle *handle, size_t length,
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dion.h22 struct ion_handle;
23 typedef struct ion_handle *ion_user_handle_t;
148 struct ion_handle *ion_alloc(struct ion_client *client, size_t len,
159 void ion_free(struct ion_client *client, struct ion_handle *handle);
177 int ion_phys(struct ion_client *client, struct ion_handle *handle,
189 struct ion_handle *handle);
199 void *ion_map_kernel(struct ion_client *client, struct ion_handle *handle);
206 void ion_unmap_kernel(struct ion_client *client, struct ion_handle *handle);
213 int ion_share_dma_buf(struct ion_client *client, struct ion_handle *handle);
224 struct ion_handle *ion_import_dma_buf(struct ion_client *client, int fd);
Dmsm_ion.h268 struct ion_handle *handle;
284 struct ion_handle *handle;
/hardware/ti/omap4-aah/ion/
Dion.h27 struct ion_handle **handle);
29 struct ion_handle **handle, size_t *stride);
30 int ion_free(int fd, struct ion_handle *handle);
31 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
33 int ion_share(int fd, struct ion_handle *handle, int *share_fd);
34 int ion_import(int fd, int share_fd, struct ion_handle **handle);
Dion.c58 unsigned int flags, struct ion_handle **handle) in ion_alloc()
75 struct ion_handle **handle, size_t *stride) in ion_alloc_tiler()
100 int ion_free(int fd, struct ion_handle *handle) in ion_free()
108 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map()
130 int ion_share(int fd, struct ion_handle *handle, int *share_fd) in ion_share()
147 int ion_import(int fd, int share_fd, struct ion_handle **handle) in ion_import()
169 int ion_map_cacheable(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map_cacheable()
192 int ion_flush_cached(int fd, struct ion_handle *handle, size_t length, in ion_flush_cached()
203 int ion_inval_cached(int fd, struct ion_handle *handle, size_t length, in ion_inval_cached()
Dlinux_ion.h22 struct ion_handle;
41 struct ion_handle *handle;
45 struct ion_handle *handle;
50 struct ion_handle *handle;
Dion_test_2.c48 int _ion_alloc_test(int fd, struct ion_handle **handle) in _ion_alloc_test()
66 struct ion_handle **handle; in ion_alloc_test()
74 handle = (struct ion_handle **)malloc(count * sizeof(struct ion_handle *)); in ion_alloc_test()
154 struct ion_handle **handle; in ion_map_test()
164 handle = (struct ion_handle **)malloc(count * sizeof(struct ion_handle *)); in ion_map_test()
262 struct ion_handle **handle; in ion_alloc_fail_alloc_test()
273 handle = (struct ion_handle **)malloc(COUNT_ALLOC_MAX * sizeof(struct ion_handle *)); in ion_alloc_fail_alloc_test()
Dion_test.c29 int _ion_alloc_test(int *fd, struct ion_handle **handle) in _ion_alloc_test()
51 struct ion_handle *handle; in ion_alloc_test()
88 struct ion_handle *handle; in ion_map_test()
135 struct ion_handle *handle; in ion_share_test()
Domap_ion.h29 struct ion_handle *handle;
/hardware/ti/omap4xxx/ion/
Dion.h27 struct ion_handle **handle);
29 struct ion_handle **handle, size_t *stride);
30 int ion_free(int fd, struct ion_handle *handle);
31 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
33 int ion_share(int fd, struct ion_handle *handle, int *share_fd);
34 int ion_import(int fd, int share_fd, struct ion_handle **handle);
Dlinux_ion.h22 struct ion_handle;
41 struct ion_handle *handle;
45 struct ion_handle *handle;
50 struct ion_handle *handle;
Dion.c59 struct ion_handle **handle) in ion_alloc()
76 struct ion_handle **handle, size_t *stride) in ion_alloc_tiler()
99 int ion_free(int fd, struct ion_handle *handle) in ion_free()
107 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map()
129 int ion_share(int fd, struct ion_handle *handle, int *share_fd) in ion_share()
146 int ion_import(int fd, int share_fd, struct ion_handle **handle) in ion_import()
Domap_ion.h29 struct ion_handle *handle;
/hardware/ti/omap4-aah/kernel-headers-ti/linux/
Dion.h22 struct ion_handle;
41 struct ion_handle *handle;
45 struct ion_handle *handle;
51 struct ion_handle *handle;
60 struct ion_handle *handle;
/hardware/qcom/msm8x27/kernel-headers/linux/
Dion.h22 struct ion_handle;
24 typedef struct ion_handle *ion_user_handle_t;
Dmsm_ion.h86 struct ion_handle *handle;
95 struct ion_handle *handle;
/hardware/qcom/msm8960/kernel-headers/linux/
Dion.h24 struct ion_handle;
25 typedef struct ion_handle *ion_user_handle_t;
Dmsm_ion.h86 struct ion_handle *handle;
95 struct ion_handle *handle;
/hardware/ti/omap4-aah/camera/
DMemoryManager.cpp87 struct ion_handle *handle; in allocateBufferList()
117 buffers[i].ion_handle = handle; in allocateBufferList()
191 ion_free(mIonFd, buffers[i].ion_handle); in freeBufferList()
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_pproc.h165 struct ion_handle *src_ion_handle;
166 struct ion_handle *dest_ion_handle;
227 struct ion_handle *src_ion_handle;
229 struct ion_handle *dest_ion_handle;
/hardware/qcom/camera/QCamera2/HAL/
DQCameraMem.cpp2037 struct ion_handle_data ion_handle; in allocate() local
2038 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate()
2039 ion_handle.handle = mMemInfo[i].handle; in allocate()
2040 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate()
2064 struct ion_handle_data ion_handle; in allocate() local
2065 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate()
2066 ion_handle.handle = mMemInfo[i].handle; in allocate()
2067 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate()
2087 struct ion_handle_data ion_handle; in allocate() local
2088 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate()
[all …]
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsmb_pproc.h154 struct ion_handle *src_ion_handle;
155 struct ion_handle *dest_ion_handle;
209 struct ion_handle *src_ion_handle;
210 struct ion_handle *dest_ion_handle;
/hardware/ti/omap4xxx/camera/
DMemoryManager.cpp79 struct ion_handle *handle; in allocateBuffer()
176 ion_free(mIonFd, (ion_handle*)mIonHandleMap.valueFor(ptr)); in freeBuffer()

12