Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i386/
H A Damd_iommu.c62 AMDVIState *iommu_state; /* AMDVI - one per machine */ member
935 amdvi_page_fault(as->iommu_state, as->devfn, addr, perms); in amdvi_page_walk()
944 pte = amdvi_get_pte_entry(as->iommu_state, pte_addr, as->devfn); in amdvi_page_walk()
975 AMDVIState *s = as->iommu_state; in amdvi_do_translate()
1022 AMDVIState *s = as->iommu_state; in amdvi_translate()
1431 iommu_as[devfn]->iommu_state = s; in amdvi_host_dma_iommu()
H A Dintel_iommu.c1586 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_sync_shadow_page_table_range()
1613 ret = vtd_dev_to_context_entry(vtd_as->iommu_state, in vtd_address_space_sync()
1673 s = as->iommu_state; in vtd_as_pt_enabled()
1698 pt = as->iommu_state->dmar_enabled && vtd_as_pt_enabled(as); in vtd_switch_address_space()
1893 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_do_iommu_translate()
3219 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_iommu_translate()
3262 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_iommu_notify_flag_changed()
3686 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_report_ir_illegal_access()
3775 vtd_dev_as->iommu_state = s; in vtd_find_add_as()
3938 IntelIOMMUState *s = as->iommu_state; in vtd_address_space_unmap()
[all …]
/openbmc/qemu/include/hw/i386/
H A Dintel_iommu.h107 IntelIOMMUState *iommu_state; member
/openbmc/linux/drivers/iommu/intel/
H A Diommu.c3011 iommu->iommu_state[SR_DMAR_FECTL_REG] = in iommu_suspend()
3013 iommu->iommu_state[SR_DMAR_FEDATA_REG] = in iommu_suspend()
3015 iommu->iommu_state[SR_DMAR_FEADDR_REG] = in iommu_suspend()
3017 iommu->iommu_state[SR_DMAR_FEUADDR_REG] = in iommu_suspend()
3043 writel(iommu->iommu_state[SR_DMAR_FECTL_REG], in iommu_resume()
3045 writel(iommu->iommu_state[SR_DMAR_FEDATA_REG], in iommu_resume()
3047 writel(iommu->iommu_state[SR_DMAR_FEADDR_REG], in iommu_resume()
3049 writel(iommu->iommu_state[SR_DMAR_FEUADDR_REG], in iommu_resume()
H A Diommu.h687 u32 iommu_state[MAX_SR_DMAR_REGS]; /* Store iommu states between suspend and resume.*/ member