/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | ion.h | 24 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 …]
|
D | msm_ion.h | 268 struct ion_handle *handle; 284 struct ion_handle *handle;
|
/hardware/qcom/msm8x27/original-kernel-headers/linux/ |
D | ion.h | 22 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);
|
D | msm_ion.h | 268 struct ion_handle *handle; 284 struct ion_handle *handle;
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_ion_alloc.cpp | 98 data->ion_handle = handle_data.handle; in AllocBuffer() 100 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 106 int ion_handle) { in FreeBuffer() argument 110 ion_handle); in FreeBuffer() 116 if (ion_handle > 0) { in FreeBuffer() 118 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_ion_alloc.cpp | 98 data->ion_handle = handle_data.handle; in AllocBuffer() 100 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 106 int ion_handle) { in FreeBuffer() argument 110 ion_handle); in FreeBuffer() 116 if (ion_handle > 0) { in FreeBuffer() 118 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_ion_alloc.cpp | 98 data->ion_handle = handle_data.handle; in AllocBuffer() 100 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 106 int ion_handle) { in FreeBuffer() argument 110 ion_handle); in FreeBuffer() 116 if (ion_handle > 0) { in FreeBuffer() 118 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_ion_alloc.cpp | 107 data->ion_handle = handle_data.handle; in AllocBuffer() 109 data->ion_handle); in AllocBuffer() 115 int ion_handle) { in FreeBuffer() argument 119 ion_handle); in FreeBuffer() 125 if (ion_handle > 0) { in FreeBuffer() 127 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.cpp | 97 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, in RegisterHandleLocked() argument 99 auto buffer = std::make_shared<Buffer>(hnd, ion_handle, ion_handle_meta); in RegisterHandleLocked() 109 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() local 110 if (ion_handle < 0) { in ImportHandleLocked() 127 RegisterHandleLocked(hnd, ion_handle, ion_handle_meta); in ImportHandleLocked() 374 RegisterHandleLocked(hnd, data.ion_handle, e_data.ion_handle); in AllocateBuffer()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_ion_alloc.cpp | 112 data->ion_handle = handle_data.handle; in AllocBuffer() 114 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 120 int ion_handle) { in FreeBuffer() argument 124 ion_handle); in FreeBuffer() 130 if (ion_handle > 0) { in FreeBuffer() 132 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_ion_alloc.cpp | 104 data->ion_handle = fd; // For new ion api ion_handle does not exists so reusing fd for now in AllocBuffer() 213 data->ion_handle = handle_data.handle; in AllocBuffer() 215 data->ion_handle); in AllocBuffer() 221 int ion_handle) { in FreeBuffer() argument 225 ion_handle); in FreeBuffer() 231 if (ion_handle > 0) { in FreeBuffer() 233 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 49 int ion_handle = -1; member 68 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.cpp | 100 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, in RegisterHandleLocked() argument 102 auto buffer = std::make_shared<Buffer>(hnd, ion_handle, ion_handle_meta); in RegisterHandleLocked() 112 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() local 113 if (ion_handle < 0) { in ImportHandleLocked() 130 RegisterHandleLocked(hnd, ion_handle, ion_handle_meta); in ImportHandleLocked() 344 RegisterHandleLocked(hnd, data.ion_handle, e_data.ion_handle); in AllocateBuffer()
|
/hardware/qcom/msm8x27/kernel-headers/linux/ |
D | ion.h | 22 struct ion_handle; 24 typedef struct ion_handle *ion_user_handle_t;
|
D | msm_ion.h | 86 struct ion_handle *handle; 95 struct ion_handle *handle;
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
D | ion.h | 24 struct ion_handle; 25 typedef struct ion_handle *ion_user_handle_t;
|
D | msm_ion.h | 86 struct ion_handle *handle; 95 struct ion_handle *handle;
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
D | msmb_pproc.h | 165 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/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 2304 struct ion_handle_data ion_handle; in allocate() local 2305 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate() 2306 ion_handle.handle = mMemInfo[i].handle; in allocate() 2307 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate() 2331 struct ion_handle_data ion_handle; in allocate() local 2332 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate() 2333 ion_handle.handle = mMemInfo[i].handle; in allocate() 2334 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate() 2354 struct ion_handle_data ion_handle; in allocate() local 2355 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate() [all …]
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
D | msmb_pproc.h | 154 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;
|