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