Lines Matching refs:to_dma_dev
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()
416 ret = dma_get_sgtable_attrs(to_dma_dev(drm_dev), sgt, exynos_gem->cookie, in exynos_drm_gem_prime_get_sg_table()