Searched refs:to_dma_dev (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gem.c | 31 DRM_DEV_DEBUG_KMS(to_dma_dev(dev), "already allocated.\n"); in exynos_drm_alloc_buf() 56 exynos_gem->cookie = dma_alloc_attrs(to_dma_dev(dev), exynos_gem->size, in exynos_drm_alloc_buf() 60 DRM_DEV_ERROR(to_dma_dev(dev), "failed to allocate buffer.\n"); in exynos_drm_alloc_buf() 67 DRM_DEV_DEBUG_KMS(to_dma_dev(dev), "dma_addr(0x%lx), size(0x%lx)\n", in exynos_drm_alloc_buf() 84 dma_free_attrs(to_dma_dev(dev), exynos_gem->size, exynos_gem->cookie, in exynos_drm_free_buf() 103 DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "gem handle = 0x%x\n", *handle); in exynos_drm_gem_handle_create() 115 DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "handle count = %d\n", in exynos_drm_gem_destroy() 286 ret = dma_mmap_attrs(to_dma_dev(drm_dev), vma, exynos_gem->cookie, in exynos_drm_gem_mmap_buffer() 373 DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "flags = 0x%x\n", in exynos_drm_gem_mmap() 402 return drm_gem_prime_import_dev(dev, dma_buf, to_dma_dev(dev)); in exynos_drm_gem_prime_import() [all …]
|
H A D | exynos_drm_g2d.c | 280 g2d->cmdlist_pool_virt = dma_alloc_attrs(to_dma_dev(g2d->drm_dev), in g2d_init_cmdlist() 313 dma_free_attrs(to_dma_dev(g2d->drm_dev), G2D_CMDLIST_POOL_SIZE, in g2d_init_cmdlist() 324 dma_free_attrs(to_dma_dev(g2d->drm_dev), in g2d_fini_cmdlist() 399 dma_unmap_sgtable(to_dma_dev(g2d->drm_dev), g2d_userptr->sgt, in g2d_userptr_put_dma_addr() 509 ret = dma_map_sgtable(to_dma_dev(g2d->drm_dev), sgt, in g2d_userptr_get_dma_addr()
|
H A D | exynos_drm_drv.h | 210 static inline struct device *to_dma_dev(struct drm_device *dev) in to_dma_dev() function
|
H A D | exynos_drm_fbdev.c | 70 DRM_DEV_ERROR(to_dma_dev(helper->dev), in exynos_drm_fbdev_update()
|