Home
last modified time | relevance | path

Searched refs:getIonFd (Results 1 – 2 of 2) sorted by relevance

/hardware/samsung_slsi/exynos5/gralloc/
Dmapper.cpp75 int getIonFd(gralloc_module_t const *module) in getIonFd() function
98 ret = ion_import(getIonFd(module), hnd->fd, &hnd->handle); in gralloc_register_buffer()
102 ret = ion_import(getIonFd(module), hnd->fd1, &hnd->handle1); in gralloc_register_buffer()
107 ret = ion_import(getIonFd(module), hnd->fd2, &hnd->handle2); in gralloc_register_buffer()
128 ion_free(getIonFd(module), hnd->handle); in gralloc_unregister_buffer()
130 ion_free(getIonFd(module), hnd->handle1); in gralloc_unregister_buffer()
132 ion_free(getIonFd(module), hnd->handle2); in gralloc_unregister_buffer()
166 ion_sync_fd(getIonFd(module), hnd->fd); in gralloc_unlock()
168 ion_sync_fd(getIonFd(module), hnd->fd1); in gralloc_unlock()
170 ion_sync_fd(getIonFd(module), hnd->fd2); in gralloc_unlock()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp64 int getIonFd(gralloc_module_t const *module) in getIonFd() function
282 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle); in Exynos_OSAL_RefANB_Reset()
284 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle1); in Exynos_OSAL_RefANB_Reset()
286 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle2); in Exynos_OSAL_RefANB_Reset()
358 ion_incRef(getIonFd(module), priv_hnd->fd, &pIonHandle); in Exynos_OSAL_RefANB_Increase()
361 ion_incRef(getIonFd(module), priv_hnd->fd1, &pIonHandle1); in Exynos_OSAL_RefANB_Increase()
364 ion_incRef(getIonFd(module), priv_hnd->fd2, &pIonHandle2); in Exynos_OSAL_RefANB_Increase()
424 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle); in Exynos_OSAL_RefANB_Decrease()
426 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle1); in Exynos_OSAL_RefANB_Decrease()
428 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle2); in Exynos_OSAL_RefANB_Decrease()