Lines Matching defs:intel_iommu
708 struct intel_iommu { struct
709 void __iomem *reg; /* Pointer to hardware regs, virtual addr */
710 u64 reg_phys; /* physical address of hw register set */
711 u64 reg_size; /* size of hw register set */
712 u64 cap;
713 u64 ecap;
714 u64 vccap;
715 u64 ecmdcap[DMA_MAX_NUM_ECMDCAP];
716 u32 gcmd; /* Holds TE, EAFL. Don't need SRTP, SFL, WBF */
717 raw_spinlock_t register_lock; /* protect register handling */
718 int seq_id; /* sequence id of the iommu */
719 int agaw; /* agaw of this iommu */
720 int msagaw; /* max sagaw of this iommu */
721 unsigned int irq, pr_irq, perf_irq;
722 u16 segment; /* PCI segment# */
723 unsigned char name[13]; /* Device Name */
726 unsigned long *domain_ids; /* bitmap of domains */
727 unsigned long *copied_tables; /* bitmap of copied tables */
728 spinlock_t lock; /* protect context, domain ids */
729 struct root_entry *root_entry; /* virtual address */
731 struct iommu_flush flush;
734 struct page_req_dsc *prq;
735 unsigned char prq_name[16]; /* Name for PRQ interrupt */
736 unsigned long prq_seq_number;
737 struct completion prq_complete;
739 struct iopf_queue *iopf_queue;
740 unsigned char iopfq_name[16];
742 struct mutex iopf_lock;
743 struct q_inval *qi; /* Queued invalidation info */
744 u32 iommu_state[MAX_SR_DMAR_REGS]; /* Store iommu states between suspend and resume.*/
747 struct rb_root device_rbtree;
749 spinlock_t device_rbtree_lock;
752 struct ir_table *ir_table; /* Interrupt remapping info */
753 struct irq_domain *ir_domain;
755 struct iommu_device iommu; /* IOMMU core code handle */
756 int node;
757 u32 flags; /* Software defined flags */
781 struct intel_iommu *iommu; /* IOMMU used by this device */ argument