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