Searched refs:iommu_write (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/iommu/ |
D | sun50i-iommu.c | 142 static void iommu_write(struct sun50i_iommu *iommu, u32 offset, u32 value) in iommu_write() function 306 iommu_write(iommu, IOMMU_TLB_IVLD_ADDR_REG, iova); in sun50i_iommu_zap_iova() 307 iommu_write(iommu, IOMMU_TLB_IVLD_ADDR_MASK_REG, GENMASK(31, 12)); in sun50i_iommu_zap_iova() 308 iommu_write(iommu, IOMMU_TLB_IVLD_ENABLE_REG, in sun50i_iommu_zap_iova() 323 iommu_write(iommu, IOMMU_PC_IVLD_ADDR_REG, iova); in sun50i_iommu_zap_ptw_cache() 324 iommu_write(iommu, IOMMU_PC_IVLD_ENABLE_REG, in sun50i_iommu_zap_ptw_cache() 338 iommu_write(iommu, IOMMU_AUTO_GATING_REG, 0); in sun50i_iommu_zap_range() 353 iommu_write(iommu, IOMMU_AUTO_GATING_REG, IOMMU_AUTO_GATING_ENABLE); in sun50i_iommu_zap_range() 363 iommu_write(iommu, in sun50i_iommu_flush_all_tlb() 444 iommu_write(iommu, IOMMU_TTB_REG, sun50i_domain->dt_dma); in sun50i_iommu_enable() [all …]
|
/linux-6.1.9/arch/sparc/kernel/ |
D | iommu.c | 43 #define iommu_write(__reg, __val) \ macro 54 iommu_write(iommu->iommu_flushinv, ~(u64)0); in iommu_flushall() 61 iommu_write(tag, 0); in iommu_flushall() 334 iommu_write(flushreg, ctx); in strbuf_flush() 342 iommu_write(flushreg, ctx); in strbuf_flush() 357 iommu_write(strbuf->strbuf_pflush, vaddr); in strbuf_flush() 369 iommu_write(strbuf->strbuf_fsync, strbuf->strbuf_flushflag_pa); in strbuf_flush()
|