Lines Matching defs:zpci_dev
69 struct zpci_dev { struct
72 struct list_head entry; /* list of all zpci_devices, needed for hotplug, etc. */ argument
74 enum zpci_state state;
75 u32 fid; /* function ID, used by sclp */
76 u32 fh; /* function handle, used by insn's */
77 u16 vfn; /* virtual function number */
78 u16 pchid; /* physical channel ID */
79 u8 pfgid; /* function group ID */
80 u8 pft; /* pci function type */
81 u16 domain;
83 struct mutex lock;
84 u8 pfip[CLP_PFIP_NR_SEGMENTS]; /* pci function internal path */
85 u32 uid; /* user defined id */
86 u8 util_str[CLP_UTIL_STR_LEN]; /* utility string */
89 u64 msi_addr; /* MSI address */
90 unsigned int max_msi; /* maximum number of MSI's */
91 struct airq_iv *aibv; /* adapter interrupt bit vector */
92 unsigned int aisb; /* number of the summary bit */
95 unsigned long *dma_table;
96 spinlock_t dma_table_lock;
97 int tlb_refresh;
99 spinlock_t iommu_bitmap_lock;
100 unsigned long *iommu_bitmap;
101 unsigned long iommu_size;
102 unsigned long iommu_pages;
103 unsigned int next_bit;
128 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument