Home
last modified time | relevance | path

Searched refs:ion_hnd (Results 1 – 4 of 4) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_priv.h204 ion_user_handle_t ion_hnd; member
241 ion_hnd(ION_INVALID_HANDLE) in private_handle_t()
274 ion_hnd(ION_INVALID_HANDLE) in private_handle_t()
310 ion_hnd(ION_INVALID_HANDLE) in private_handle_t()
Dalloc_device.cpp127 ion_user_handle_t ion_hnd; in gralloc_alloc_buffer() local
152 ret = ion_alloc(m->ion_client, size, 0, ION_HEAP_TYPE_DMA_MASK, 0, &(ion_hnd)); in gralloc_alloc_buffer()
154 ret = ion_alloc(m->ion_client, size, 0, ION_HEAP_SYSTEM_MASK, 0, &(ion_hnd)); in gralloc_alloc_buffer()
162 ret = ion_share(m->ion_client, ion_hnd, &shared_fd); in gralloc_alloc_buffer()
168 if (0 != ion_free(m->ion_client, ion_hnd)) in gralloc_alloc_buffer()
177 if (0 != ion_free(m->ion_client, ion_hnd)) in gralloc_alloc_buffer()
181 ion_hnd = ION_INVALID_HANDLE; in gralloc_alloc_buffer()
/device/amlogic/yukawa/gralloc/
Dmali_gralloc_ion.cpp156 ion_user_handle_t ion_hnd = -1; in alloc_from_ion_heap() local
172 ret = ion_alloc(ion_fd, size, 0, heap_mask, flags, &ion_hnd); in alloc_from_ion_heap()
188 ret = ion_alloc(ion_fd, size, 0, heap_mask, flags, &ion_hnd); in alloc_from_ion_heap()
192 ret = ion_share(ion_fd, ion_hnd, &shared_fd); in alloc_from_ion_heap()
200 ret = ion_free(ion_fd, ion_hnd); in alloc_from_ion_heap()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp170 ion_user_handle_t ion_hnd = -1; in alloc_from_ion_heap() local