Home
last modified time | relevance | path

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

/linux/kernel/dma/
H A Dswiotlb.c866 int tlb_offset; in swiotlb_bounce() local
884 tlb_offset = (tlb_addr & (IO_TLB_SIZE - 1)) - in swiotlb_bounce()
887 orig_addr += tlb_offset; in swiotlb_bounce()
888 alloc_size -= tlb_offset; in swiotlb_bounce()
/linux/drivers/iommu/intel/
H A Diommu.c780 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb() local
809 writeq(val_iva, iommu->reg + tlb_offset); in __iommu_flush_iotlb()
810 writeq(val, iommu->reg + tlb_offset + 8); in __iommu_flush_iotlb()
813 IOMMU_WAIT_OP(iommu, tlb_offset + 8, in __iommu_flush_iotlb()