Home
last modified time | relevance | path

Searched refs:gcmd (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/iommu/intel/
Dirq_remapping.c480 writel(iommu->gcmd | DMA_GCMD_SIRTP, iommu->reg + DMAR_GCMD_REG); in iommu_set_irq_remapping()
502 iommu->gcmd |= DMA_GCMD_IRE; in iommu_enable_irq_remapping()
503 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in iommu_enable_irq_remapping()
509 iommu->gcmd &= ~DMA_GCMD_CFI; in iommu_enable_irq_remapping()
510 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in iommu_enable_irq_remapping()
676 iommu->gcmd &= ~DMA_GCMD_IRE; in iommu_disable_irq_remapping()
677 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in iommu_disable_irq_remapping()
Ddmar.c1114 iommu->gcmd |= DMA_GCMD_IRE; in alloc_iommu()
1116 iommu->gcmd |= DMA_GCMD_TE; in alloc_iommu()
1118 iommu->gcmd |= DMA_GCMD_QIE; in alloc_iommu()
1546 if (!(iommu->gcmd & DMA_GCMD_TE)) in qi_flush_dev_iotlb()
1585 if (!(iommu->gcmd & DMA_GCMD_TE)) in qi_flush_dev_iotlb_pasid()
1630 iommu->gcmd &= ~DMA_GCMD_QIE; in dmar_disable_qi()
1631 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in dmar_disable_qi()
1666 iommu->gcmd |= DMA_GCMD_QIE; in __dmar_enable_qi()
1667 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in __dmar_enable_qi()
Dcache.c298 if (!(iommu->gcmd & DMA_GCMD_TE)) in qi_batch_add_dev_iotlb()
330 if (!(iommu->gcmd & DMA_GCMD_TE)) in qi_batch_add_pasid_dev_iotlb()
Diommu.c1112 writel(iommu->gcmd | DMA_GCMD_SRTP, iommu->reg + DMAR_GCMD_REG); in iommu_set_root_entry()
1142 writel(iommu->gcmd | DMA_GCMD_WBF, iommu->reg + DMAR_GCMD_REG); in iommu_flush_write_buffer()
1334 iommu->gcmd |= DMA_GCMD_TE; in iommu_enable_translation()
1335 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in iommu_enable_translation()
1354 iommu->gcmd &= ~DMA_GCMD_TE; in iommu_disable_translation()
1355 writel(iommu->gcmd, iommu->reg + DMAR_GCMD_REG); in iommu_disable_translation()
1412 if (iommu->gcmd & DMA_GCMD_TE) in disable_dmar_iommu()
2766 if (iommu->gcmd & DMA_GCMD_TE) in intel_iommu_add()
Diommu.h716 u32 gcmd; /* Holds TE, EAFL. Don't need SRTP, SFL, WBF */ member