Lines Matching refs:zpci_dev

106 	struct zpci_dev		*function[ZPCI_FUNCTIONS_PER_BUS];
117 struct zpci_dev { struct
189 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
212 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state);
213 int zpci_enable_device(struct zpci_dev *);
214 int zpci_disable_device(struct zpci_dev *);
215 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh);
216 int zpci_deconfigure_device(struct zpci_dev *zdev);
217 void zpci_device_reserved(struct zpci_dev *zdev);
218 bool zpci_is_device_configured(struct zpci_dev *zdev);
220 int zpci_hot_reset_device(struct zpci_dev *zdev);
221 int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64, u8 *);
222 int zpci_unregister_ioat(struct zpci_dev *, u8);
224 void zpci_update_fh(struct zpci_dev *zdev, u32 fh);
229 int clp_query_pci_fn(struct zpci_dev *zdev);
230 int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as);
231 int clp_disable_fh(struct zpci_dev *zdev, u32 *fh);
239 int zpci_init_iommu(struct zpci_dev *zdev);
240 void zpci_destroy_iommu(struct zpci_dev *zdev);
243 static inline bool zpci_use_mio(struct zpci_dev *zdev) in zpci_use_mio()
258 int zpci_init_slot(struct zpci_dev *);
259 void zpci_exit_slot(struct zpci_dev *);
261 static inline int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
265 static inline void zpci_exit_slot(struct zpci_dev *zdev) {} in zpci_exit_slot()
269 static inline struct zpci_dev *to_zpci(struct pci_dev *pdev) in to_zpci()
276 static inline struct zpci_dev *to_zpci_dev(struct device *dev) in to_zpci_dev()
281 struct zpci_dev *get_zdev_by_fid(u32);
286 int zpci_dma_init_device(struct zpci_dev *zdev);
287 int zpci_dma_exit_device(struct zpci_dev *zdev);
294 int zpci_fmb_enable_device(struct zpci_dev *);
295 int zpci_fmb_disable_device(struct zpci_dev *);
300 void zpci_debug_init_device(struct zpci_dev *, const char *);
301 void zpci_debug_exit_device(struct zpci_dev *);
305 int zpci_clear_error_state(struct zpci_dev *zdev);
306 int zpci_reset_load_store_blocked(struct zpci_dev *zdev);