Searched refs:ioprot (Results 1 - 2 of 2) sorted by relevance
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
H A D | rga_dma_buf.c | 439 int ioprot; in rga_iommu_map_virt_addr() local 448 ioprot = rga_dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, 0); in rga_iommu_map_virt_addr() 468 if (!(ioprot & IOMMU_CACHE)) { in rga_iommu_map_virt_addr() 476 map_size = iommu_map_sg_atomic(domain, iova, sgt->sgl, sgt->orig_nents, ioprot); in rga_iommu_map_virt_addr() 513 int ioprot; in rga_viraddr_get_channel_info() local 537 ioprot = rga_dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, 0); in rga_viraddr_get_channel_info() 592 if (!(ioprot & IOMMU_CACHE)) { in rga_viraddr_get_channel_info() 600 map_size = iommu_map_sg_atomic(domain, iova, sgt.sgl, sgt.orig_nents, ioprot); in rga_viraddr_get_channel_info()
|
/device/soc/rockchip/common/sdk_linux/drivers/iommu/ |
H A D | dma-iommu.c | 660 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc_remap() local 700 if (!(ioprot & IOMMU_CACHE)) { in iommu_dma_alloc_remap() 707 if (iommu_map_sg_atomic(domain, iova, sgt.sgl, sgt.orig_nents, ioprot) < size) { in iommu_dma_alloc_remap() 1111 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc() local 1130 *handle = iommu_dma_map_ext(dev, page_to_phys(page), size, ioprot, dev->coherent_dma_mask); in iommu_dma_alloc()
|
Completed in 4 milliseconds