Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c26 DRM_DEV_DEBUG_KMS(to_dma_dev(dev), "already allocated.\n"); in exynos_drm_alloc_buf()
51 exynos_gem->cookie = dma_alloc_attrs(to_dma_dev(dev), exynos_gem->size, in exynos_drm_alloc_buf()
55 DRM_DEV_ERROR(to_dma_dev(dev), "failed to allocate buffer.\n"); in exynos_drm_alloc_buf()
62 DRM_DEV_DEBUG_KMS(to_dma_dev(dev), "dma_addr(0x%lx), size(0x%lx)\n", in exynos_drm_alloc_buf()
79 dma_free_attrs(to_dma_dev(dev), exynos_gem->size, exynos_gem->cookie, in exynos_drm_free_buf()
98 DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "gem handle = 0x%x\n", *handle); in exynos_drm_gem_handle_create()
110 DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "handle count = %d\n", in exynos_drm_gem_destroy()
267 ret = dma_mmap_attrs(to_dma_dev(drm_dev), vma, exynos_gem->cookie, in exynos_drm_gem_mmap_buffer()
350 DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "flags = 0x%x\n", in exynos_drm_gem_mmap_obj()
399 return drm_gem_prime_import_dev(dev, dma_buf, to_dma_dev(dev)); in exynos_drm_gem_prime_import()
[all …]
Dexynos_drm_fbdev.c52 ret = dma_mmap_attrs(to_dma_dev(helper->dev), vma, exynos_gem->cookie, in exynos_drm_fb_mmap()
56 DRM_DEV_ERROR(to_dma_dev(helper->dev), "failed to mmap.\n"); in exynos_drm_fb_mmap()
83 DRM_DEV_ERROR(to_dma_dev(helper->dev), in exynos_drm_fbdev_update()
Dexynos_drm_drv.h212 static inline struct device *to_dma_dev(struct drm_device *dev) in to_dma_dev() function
Dexynos_drm_g2d.c278 g2d->cmdlist_pool_virt = dma_alloc_attrs(to_dma_dev(g2d->drm_dev), in g2d_init_cmdlist()
311 dma_free_attrs(to_dma_dev(g2d->drm_dev), G2D_CMDLIST_POOL_SIZE, in g2d_init_cmdlist()
322 dma_free_attrs(to_dma_dev(g2d->drm_dev), in g2d_fini_cmdlist()
398 dma_unmap_sgtable(to_dma_dev(g2d->drm_dev), g2d_userptr->sgt, in g2d_userptr_put_dma_addr()
514 ret = dma_map_sgtable(to_dma_dev(g2d->drm_dev), sgt, in g2d_userptr_get_dma_addr()