Lines Matching defs:zpci_dev

116 struct zpci_dev {  struct
118 struct list_head entry; /* list of all zpci_devices, needed for hotplug, etc. */ argument
119 struct list_head bus_next;
120 struct kref kref;
121 struct hotplug_slot hotplug_slot;
123 enum zpci_state state;
124 u32 fid; /* function ID, used by sclp */
125 u32 fh; /* function handle, used by insn's */
126 u16 vfn; /* virtual function number */
127 u16 pchid; /* physical channel ID */
128 u8 pfgid; /* function group ID */
129 u8 pft; /* pci function type */
130 u8 port;
131 u8 rid_available : 1;
132 u8 has_hp_slot : 1;
133 u8 has_resources : 1;
134 u8 is_physfn : 1;
135 u8 util_str_avail : 1;
136 u8 irqs_registered : 1;
137 u8 reserved : 2;
138 unsigned int devfn; /* DEVFN part of the RID*/
140 struct mutex lock;
141 u8 pfip[CLP_PFIP_NR_SEGMENTS]; /* pci function internal path */
142 u32 uid; /* user defined id */
143 u8 util_str[CLP_UTIL_STR_LEN]; /* utility string */
146 u64 msi_addr; /* MSI address */
147 unsigned int max_msi; /* maximum number of MSI's */
148 unsigned int msi_first_bit;
149 unsigned int msi_nr_irqs;
150 struct airq_iv *aibv; /* adapter interrupt bit vector */
151 unsigned long aisb; /* number of the summary bit */
154 unsigned long *dma_table;
155 spinlock_t dma_table_lock;
156 int tlb_refresh;
158 spinlock_t iommu_bitmap_lock;
159 unsigned long *iommu_bitmap;
160 unsigned long *lazy_bitmap;
161 unsigned long iommu_size;
162 unsigned long iommu_pages;
163 unsigned int next_bit;
165 struct iommu_device iommu_dev; /* IOMMU core handle */
167 char res_name[16];
168 bool mio_capable;
192 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument