Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c71 mtk_gem->dma_attrs = DMA_ATTR_WRITE_COMBINE; in mtk_drm_gem_create()
74 mtk_gem->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in mtk_drm_gem_create()
78 mtk_gem->dma_attrs); in mtk_drm_gem_create()
109 mtk_gem->dma_addr, mtk_gem->dma_attrs); in mtk_drm_gem_free_object()
178 mtk_gem->dma_addr, obj->size, mtk_gem->dma_attrs); in mtk_drm_gem_object_mmap()
202 mtk_gem->dma_attrs); in mtk_gem_prime_get_sg_table()
Dmtk_drm_gem.h30 unsigned long dma_attrs; member
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/
Dvde.c71 bo->dma_attrs = DMA_ATTR_WRITE_COMBINE | in tegra_vde_alloc_bo()
75 bo->dma_attrs |= DMA_ATTR_FORCE_CONTIGUOUS; in tegra_vde_alloc_bo()
78 GFP_KERNEL, bo->dma_attrs); in tegra_vde_alloc_bo()
87 bo->dma_handle, bo->size, bo->dma_attrs); in tegra_vde_alloc_bo()
93 err = dma_map_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_alloc_bo()
116 dma_unmap_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_alloc_bo()
121 bo->dma_attrs); in tegra_vde_alloc_bo()
136 dma_unmap_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_free_bo()
141 bo->dma_attrs); in tegra_vde_free_bo()
Dv4l2.c342 unsigned long dma_attrs; in tegra_queue_init() local
357 dma_attrs = DMA_ATTR_WRITE_COMBINE; in tegra_queue_init()
366 src_vq->dma_attrs = dma_attrs; in tegra_queue_init()
384 dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in tegra_queue_init()
391 dst_vq->dma_attrs = dma_attrs; in tegra_queue_init()
Dvde.h88 unsigned long dma_attrs; member
/linux-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c162 rk_obj->dma_attrs = DMA_ATTR_WRITE_COMBINE; in rockchip_gem_alloc_dma()
165 rk_obj->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in rockchip_gem_alloc_dma()
169 rk_obj->dma_attrs); in rockchip_gem_alloc_dma()
204 rk_obj->dma_attrs); in rockchip_gem_free_dma()
235 obj->size, rk_obj->dma_attrs); in rockchip_drm_gem_object_mmap_dma()
442 rk_obj->dma_attrs); in rockchip_gem_prime_get_sg_table()
532 if (rk_obj->dma_attrs & DMA_ATTR_NO_KERNEL_MAPPING) in rockchip_gem_prime_vmap()
Drockchip_drm_gem.h19 unsigned long dma_attrs; member
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c55 exynos_gem->dma_attrs = attr; in exynos_drm_alloc_buf()
58 exynos_gem->dma_attrs); in exynos_drm_alloc_buf()
86 exynos_gem->dma_attrs); in exynos_drm_free_buf()
288 exynos_gem->dma_attrs); in exynos_drm_gem_mmap_buffer()
418 exynos_gem->dma_attrs); in exynos_drm_gem_prime_get_sg_table()
Dexynos_drm_gem.h45 unsigned long dma_attrs; member
/linux-6.6.21/include/rdma/
Dib_verbs.h4145 unsigned long dma_attrs) in ib_dma_map_sg_attrs() argument
4150 dma_attrs); in ib_dma_map_sg_attrs()
4156 unsigned long dma_attrs) in ib_dma_unmap_sg_attrs() argument
4160 dma_attrs); in ib_dma_unmap_sg_attrs()
4173 unsigned long dma_attrs) in ib_dma_map_sgtable_attrs() argument
4184 return dma_map_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_map_sgtable_attrs()
4190 unsigned long dma_attrs) in ib_dma_unmap_sgtable_attrs() argument
4193 dma_unmap_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_unmap_sgtable_attrs()
/linux-6.6.21/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c203 if (q->dma_attrs & DMA_ATTR_NO_KERNEL_MAPPING) in vb2_dc_alloc_coherent()
245 buf->attrs = vb->vb2_queue->dma_attrs; in vb2_dc_alloc()
/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_drv.c219 src_vq->dma_attrs = DMA_ATTR_ALLOC_SINGLE_PAGES | in queue_init()
233 dst_vq->dma_attrs = DMA_ATTR_ALLOC_SINGLE_PAGES; in queue_init()
239 dst_vq->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in queue_init()
/linux-6.6.21/include/media/
Dvideobuf2-core.h589 unsigned long dma_attrs; member
/linux-6.6.21/drivers/staging/media/rkvdec/
Drkvdec.c736 src_vq->dma_attrs = DMA_ATTR_ALLOC_SINGLE_PAGES | in rkvdec_queue_init()
751 dst_vq->dma_attrs = DMA_ATTR_ALLOC_SINGLE_PAGES | in rkvdec_queue_init()
/linux-6.6.21/drivers/remoteproc/
Dqcom_q6v5_mss.c982 unsigned long dma_attrs = DMA_ATTR_FORCE_CONTIGUOUS; in q6v5_mpss_init_image() local
1011 ptr = dma_alloc_attrs(qproc->dev, size, &phys, GFP_KERNEL, dma_attrs); in q6v5_mpss_init_image()
1053 dma_free_attrs(qproc->dev, size, ptr, phys, dma_attrs); in q6v5_mpss_init_image()
/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc.c876 q->dma_attrs = DMA_ATTR_ALLOC_SINGLE_PAGES; in s5p_mfc_open()
911 q->dma_attrs = DMA_ATTR_ALLOC_SINGLE_PAGES; in s5p_mfc_open()
/linux-6.6.21/Documentation/core-api/
Ddma-api.rst493 dma_attrs.
499 If dma_attrs are 0, the semantics of each of these functions
/linux-6.6.21/drivers/media/platform/chips-media/
Dcoda-common.c2590 dst_vq->dma_attrs = DMA_ATTR_NO_KERNEL_MAPPING; in coda_decoder_queue_init()