Lines Matching refs:zpci_dev
106 struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS];
117 struct zpci_dev { struct
191 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
204 int zpci_create_device(struct zpci_dev *);
205 void zpci_remove_device(struct zpci_dev *zdev);
206 int zpci_enable_device(struct zpci_dev *);
207 int zpci_disable_device(struct zpci_dev *);
208 int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64);
209 int zpci_unregister_ioat(struct zpci_dev *, u8);
216 int clp_enable_fh(struct zpci_dev *, u8);
217 int clp_disable_fh(struct zpci_dev *);
224 int zpci_init_iommu(struct zpci_dev *zdev);
225 void zpci_destroy_iommu(struct zpci_dev *zdev);
228 static inline bool zpci_use_mio(struct zpci_dev *zdev) in zpci_use_mio()
243 int zpci_init_slot(struct zpci_dev *);
244 void zpci_exit_slot(struct zpci_dev *);
246 static inline int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
250 static inline void zpci_exit_slot(struct zpci_dev *zdev) {} in zpci_exit_slot()
254 static inline struct zpci_dev *to_zpci(struct pci_dev *pdev) in to_zpci()
261 static inline struct zpci_dev *to_zpci_dev(struct device *dev) in to_zpci_dev()
266 struct zpci_dev *get_zdev_by_fid(u32);
276 int zpci_fmb_enable_device(struct zpci_dev *);
277 int zpci_fmb_disable_device(struct zpci_dev *);
282 void zpci_debug_init_device(struct zpci_dev *, const char *);
283 void zpci_debug_exit_device(struct zpci_dev *);