Home
last modified time | relevance | path

Searched refs:tlb_offset (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/dma/
H A Dswiotlb.c867 int tlb_offset; in swiotlb_bounce() local
882 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()
/linux/drivers/iommu/intel/
H A Diommu.c1190 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb() local
1219 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()