Searched refs:tlb_offset (Results 1 – 2 of 2) sorted by relevance
867 int tlb_offset; in swiotlb_bounce() local882 tlb_offset = (tlb_addr & (IO_TLB_SIZE - 1)) - in swiotlb_bounce()885 orig_addr += tlb_offset; in swiotlb_bounce()886 alloc_size -= tlb_offset; in swiotlb_bounce()
1190 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb() local1219 dmar_writeq(iommu->reg + tlb_offset, val_iva); in __iommu_flush_iotlb()1220 dmar_writeq(iommu->reg + tlb_offset + 8, val); in __iommu_flush_iotlb()1223 IOMMU_WAIT_OP(iommu, tlb_offset + 8, in __iommu_flush_iotlb()