Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iommu/
Dintel-iommu.c4232 iommu->iommu_state = kcalloc(MAX_SR_DMAR_REGS, sizeof(u32), in iommu_suspend()
4234 if (!iommu->iommu_state) in iommu_suspend()
4245 iommu->iommu_state[SR_DMAR_FECTL_REG] = in iommu_suspend()
4247 iommu->iommu_state[SR_DMAR_FEDATA_REG] = in iommu_suspend()
4249 iommu->iommu_state[SR_DMAR_FEADDR_REG] = in iommu_suspend()
4251 iommu->iommu_state[SR_DMAR_FEUADDR_REG] = in iommu_suspend()
4260 kfree(iommu->iommu_state); in iommu_suspend()
4283 writel(iommu->iommu_state[SR_DMAR_FECTL_REG], in iommu_resume()
4285 writel(iommu->iommu_state[SR_DMAR_FEDATA_REG], in iommu_resume()
4287 writel(iommu->iommu_state[SR_DMAR_FEADDR_REG], in iommu_resume()
[all …]
/Linux-v5.4/include/linux/
Dintel-iommu.h547 u32 *iommu_state; /* Store iommu states between suspend and resume.*/ member