Lines Matching defs:zpci_dev
117 struct zpci_dev { struct
119 struct list_head entry; /* list of all zpci_devices, needed for hotplug, etc. */ argument
120 struct list_head iommu_list;
121 struct kref kref;
122 struct rcu_head rcu;
123 struct hotplug_slot hotplug_slot;
125 struct mutex state_lock; /* protect state changes */
126 enum zpci_state state;
127 u32 fid; /* function ID, used by sclp */
128 u32 fh; /* function handle, used by insn's */
129 u32 gisa; /* GISA designation for passthrough */
130 u16 vfn; /* virtual function number */
131 u16 pchid; /* physical channel ID */
132 u16 maxstbl; /* Maximum store block size */
133 u8 pfgid; /* function group ID */
134 u8 pft; /* pci function type */
135 u8 port;
136 u8 dtsm; /* Supported DT mask */
137 u8 rid_available : 1;
138 u8 has_hp_slot : 1;
139 u8 has_resources : 1;
140 u8 is_physfn : 1;
141 u8 util_str_avail : 1;
142 u8 irqs_registered : 1;
143 u8 reserved : 2;
144 unsigned int devfn; /* DEVFN part of the RID*/
146 u8 pfip[CLP_PFIP_NR_SEGMENTS]; /* pci function internal path */
147 u32 uid; /* user defined id */
148 u8 util_str[CLP_UTIL_STR_LEN]; /* utility string */
151 u64 msi_addr; /* MSI address */
152 unsigned int max_msi; /* maximum number of MSI's */
153 unsigned int msi_first_bit;
154 unsigned int msi_nr_irqs;
155 struct airq_iv *aibv; /* adapter interrupt bit vector */
156 unsigned long aisb; /* number of the summary bit */
159 unsigned long *dma_table;
160 int tlb_refresh;
162 struct iommu_device iommu_dev; /* IOMMU core handle */
164 char res_name[16];
165 bool mio_capable;
189 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument