Searched refs:ionfd (Results 1 – 5 of 5) sorted by relevance
/hardware/samsung_slsi/exynos5/gralloc/ |
D | gralloc.cpp | 112 ionfd: -1, 129 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, in gralloc_alloc_rgb() argument 191 err = ion_alloc_fd(ionfd, size, alignment, heap_mask, ion_flags, in gralloc_alloc_rgb() 199 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_framework_yuv() argument 221 err = ion_alloc_fd(ionfd, size, 0, heap_mask, ion_flags, &fd); in gralloc_alloc_framework_yuv() 229 static int gralloc_alloc_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_yuv() argument 273 return gralloc_alloc_framework_yuv(ionfd, w, h, format, usage, in gralloc_alloc_yuv() 291 err = ion_alloc_fd(ionfd, luma_size, 0, heap_mask, ion_flags, &fd); in gralloc_alloc_yuv() 298 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1); in gralloc_alloc_yuv() 302 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd2); in gralloc_alloc_yuv() [all …]
|
D | mapper.cpp | 78 if (m->ionfd == -1) in getIonFd() 79 m->ionfd = ion_open(); in getIonFd() 80 return m->ionfd; in getIonFd()
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
D | Exynos_OSAL_SharedMemory.c | 275 OMX_PTR Exynos_OSAL_SharedMemory_Map(OMX_HANDLETYPE handle, OMX_U32 size, unsigned int ionfd) in Exynos_OSAL_SharedMemory_Map() argument 290 IONBuffer = (OMX_PTR)ionfd; in Exynos_OSAL_SharedMemory_Map() 331 void Exynos_OSAL_SharedMemory_Unmap(OMX_HANDLETYPE handle, unsigned int ionfd) in Exynos_OSAL_SharedMemory_Unmap() argument 349 if (pSMList->IONBuffer == ionfd) { in Exynos_OSAL_SharedMemory_Unmap() 354 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->IONBuffer != ionfd)) in Exynos_OSAL_SharedMemory_Unmap() 358 (((EXYNOS_SHAREDMEM_LIST *)(pCurrentElement->pNextMemory))->IONBuffer == ionfd)) { in Exynos_OSAL_SharedMemory_Unmap()
|
D | Exynos_OSAL_Android.cpp | 67 return m->ionfd; in getIonFd()
|
/hardware/samsung_slsi/exynos5/include/ |
D | gralloc_priv.h | 48 int ionfd; member
|