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