/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_drm_gem.c | 71 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()
|
D | mtk_drm_gem.h | 30 unsigned long dma_attrs; member
|
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/ |
D | vde.c | 71 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()
|
D | v4l2.c | 342 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()
|
D | vde.h | 88 unsigned long dma_attrs; member
|
/linux-6.6.21/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 162 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()
|
D | rockchip_drm_gem.h | 19 unsigned long dma_attrs; member
|
/linux-6.6.21/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 55 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()
|
D | exynos_drm_gem.h | 45 unsigned long dma_attrs; member
|
/linux-6.6.21/include/rdma/ |
D | ib_verbs.h | 4145 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/ |
D | videobuf2-dma-contig.c | 203 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/ |
D | hantro_drv.c | 219 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/ |
D | videobuf2-core.h | 589 unsigned long dma_attrs; member
|
/linux-6.6.21/drivers/staging/media/rkvdec/ |
D | rkvdec.c | 736 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/ |
D | qcom_q6v5_mss.c | 982 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/ |
D | s5p_mfc.c | 876 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/ |
D | dma-api.rst | 493 dma_attrs. 499 If dma_attrs are 0, the semantics of each of these functions
|
/linux-6.6.21/drivers/media/platform/chips-media/ |
D | coda-common.c | 2590 dst_vq->dma_attrs = DMA_ATTR_NO_KERNEL_MAPPING; in coda_decoder_queue_init()
|