Searched refs:iommu_state (Results 1 – 2 of 2) sorted by relevance
3167 iommu->iommu_state = kcalloc(MAX_SR_DMAR_REGS, sizeof(u32), in iommu_suspend()3169 if (!iommu->iommu_state) in iommu_suspend()3180 iommu->iommu_state[SR_DMAR_FECTL_REG] = in iommu_suspend()3182 iommu->iommu_state[SR_DMAR_FEDATA_REG] = in iommu_suspend()3184 iommu->iommu_state[SR_DMAR_FEADDR_REG] = in iommu_suspend()3186 iommu->iommu_state[SR_DMAR_FEUADDR_REG] = in iommu_suspend()3195 kfree(iommu->iommu_state); in iommu_suspend()3218 writel(iommu->iommu_state[SR_DMAR_FECTL_REG], in iommu_resume()3220 writel(iommu->iommu_state[SR_DMAR_FEDATA_REG], in iommu_resume()3222 writel(iommu->iommu_state[SR_DMAR_FEADDR_REG], in iommu_resume()[all …]
598 u32 *iommu_state; /* Store iommu states between suspend and resume.*/ member