Lines Matching defs:zpci_dev
99 struct zpci_dev { struct
101 struct list_head entry; /* list of all zpci_devices, needed for hotplug, etc. */ argument
103 enum zpci_state state;
104 u32 fid; /* function ID, used by sclp */
105 u32 fh; /* function handle, used by insn's */
106 u16 vfn; /* virtual function number */
107 u16 pchid; /* physical channel ID */
108 u8 pfgid; /* function group ID */
109 u8 pft; /* pci function type */
110 u16 domain;
112 struct mutex lock;
113 u8 pfip[CLP_PFIP_NR_SEGMENTS]; /* pci function internal path */
114 u32 uid; /* user defined id */
115 u8 util_str[CLP_UTIL_STR_LEN]; /* utility string */
118 u64 msi_addr; /* MSI address */
119 unsigned int max_msi; /* maximum number of MSI's */
120 unsigned int msi_first_bit;
121 unsigned int msi_nr_irqs;
122 struct airq_iv *aibv; /* adapter interrupt bit vector */
123 unsigned long aisb; /* number of the summary bit */
126 unsigned long *dma_table;
127 spinlock_t dma_table_lock;
128 int tlb_refresh;
130 spinlock_t iommu_bitmap_lock;
131 unsigned long *iommu_bitmap;
132 unsigned long *lazy_bitmap;
133 unsigned long iommu_size;
134 unsigned long iommu_pages;
135 unsigned int next_bit;
137 struct iommu_device iommu_dev; /* IOMMU core handle */
139 char res_name[16];
163 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument