Searched refs:tlb_offset (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | swiotlb.c | 844 unsigned int tlb_offset, orig_addr_offset; in swiotlb_bounce() local 849 tlb_offset = tlb_addr & (IO_TLB_SIZE - 1); in swiotlb_bounce() 851 if (tlb_offset < orig_addr_offset) { in swiotlb_bounce() 854 orig_addr_offset, tlb_offset); in swiotlb_bounce() 858 tlb_offset -= orig_addr_offset; in swiotlb_bounce() 859 if (tlb_offset > alloc_size) { in swiotlb_bounce() 862 alloc_size, size, tlb_offset); in swiotlb_bounce() 866 orig_addr += tlb_offset; in swiotlb_bounce() 867 alloc_size -= tlb_offset; in swiotlb_bounce()
|
/kernel/linux/linux-5.10/drivers/iommu/intel/ |
H A D | iommu.c | 1436 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb() local 1471 dmar_writeq(iommu->reg + tlb_offset, val_iva); in __iommu_flush_iotlb() 1472 dmar_writeq(iommu->reg + tlb_offset + 8, val); in __iommu_flush_iotlb() 1475 IOMMU_WAIT_OP(iommu, tlb_offset + 8, in __iommu_flush_iotlb()
|
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | iommu.c | 1298 int tlb_offset = ecap_iotlb_offset(iommu->ecap); in __iommu_flush_iotlb() local 1327 dmar_writeq(iommu->reg + tlb_offset, val_iva); in __iommu_flush_iotlb() 1328 dmar_writeq(iommu->reg + tlb_offset + 8, val); in __iommu_flush_iotlb() 1331 IOMMU_WAIT_OP(iommu, tlb_offset + 8, in __iommu_flush_iotlb()
|
Completed in 17 milliseconds