Home
last modified time | relevance | path

Searched refs:dma_attrs (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c29 rk_obj->dma_attrs = DMA_ATTR_WRITE_COMBINE; in rockchip_gem_alloc_buf()
32 rk_obj->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in rockchip_gem_alloc_buf()
36 rk_obj->dma_attrs); in rockchip_gem_alloc_buf()
51 rk_obj->dma_attrs); in rockchip_gem_free_buf()
70 obj->size, rk_obj->dma_attrs); in rockchip_drm_gem_object_mmap()
262 rk_obj->dma_attrs); in rockchip_gem_prime_get_sg_table()
276 if (rk_obj->dma_attrs & DMA_ATTR_NO_KERNEL_MAPPING) in rockchip_gem_prime_vmap()
Drockchip_drm_gem.h26 unsigned long dma_attrs; member
/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c57 mtk_gem->dma_attrs = DMA_ATTR_WRITE_COMBINE; in mtk_drm_gem_create()
60 mtk_gem->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in mtk_drm_gem_create()
64 mtk_gem->dma_attrs); in mtk_drm_gem_create()
95 mtk_gem->dma_addr, mtk_gem->dma_attrs); in mtk_drm_gem_free_object()
175 mtk_gem->dma_addr, obj->size, mtk_gem->dma_attrs); in mtk_drm_gem_object_mmap()
226 mtk_gem->dma_attrs); in mtk_gem_prime_get_sg_table()
Dmtk_drm_gem.h38 unsigned long dma_attrs; member
/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c37 exynos_gem->dma_attrs = 0; in exynos_drm_alloc_buf()
45 exynos_gem->dma_attrs |= DMA_ATTR_FORCE_CONTIGUOUS; in exynos_drm_alloc_buf()
57 exynos_gem->dma_attrs |= attr; in exynos_drm_alloc_buf()
58 exynos_gem->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in exynos_drm_alloc_buf()
70 exynos_gem->dma_attrs); in exynos_drm_alloc_buf()
78 exynos_gem->dma_attrs); in exynos_drm_alloc_buf()
102 exynos_gem->dma_addr, exynos_gem->dma_attrs); in exynos_drm_alloc_buf()
123 exynos_gem->dma_attrs); in exynos_drm_free_buf()
358 exynos_gem->dma_attrs); in exynos_drm_gem_mmap_buffer()
Dexynos_drm_gem.h53 unsigned long dma_attrs; member
Dexynos_drm_fbdev.c55 exynos_gem->dma_attrs); in exynos_drm_fb_mmap()
/drivers/infiniband/core/
Dumem.c94 unsigned long dma_attrs = 0; in ib_umem_get() local
100 dma_attrs |= DMA_ATTR_WRITE_BARRIER; in ib_umem_get()
223 dma_attrs); in ib_umem_get()
/drivers/remoteproc/
Dqcom_q6v5_pil.c352 unsigned long dma_attrs = DMA_ATTR_FORCE_CONTIGUOUS; in q6v5_mpss_init_image() local
357 ptr = dma_alloc_attrs(qproc->dev, fw->size, &phys, GFP_KERNEL, dma_attrs); in q6v5_mpss_init_image()
374 dma_free_attrs(qproc->dev, fw->size, ptr, phys, dma_attrs); in q6v5_mpss_init_image()
/drivers/media/v4l2-core/
Dvideobuf2-dma-sg.c98 static void *vb2_dma_sg_alloc(struct device *dev, unsigned long dma_attrs, in vb2_dma_sg_alloc() argument
Dvideobuf2-core.c212 q->dma_attrs, size, dma_dir, q->gfp_flags); in __vb2_buf_mem_alloc()