Lines Matching refs:zdev
197 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
199 return (zdev->fh & (1UL << 31)) ? true : false; in zdev_enabled()
221 int zpci_add_device(struct zpci_dev *zdev);
223 int zpci_reenable_device(struct zpci_dev *zdev);
225 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh);
226 int zpci_deconfigure_device(struct zpci_dev *zdev);
227 void zpci_device_reserved(struct zpci_dev *zdev);
228 bool zpci_is_device_configured(struct zpci_dev *zdev);
231 int zpci_hot_reset_device(struct zpci_dev *zdev);
235 void zpci_update_fh(struct zpci_dev *zdev, u32 fh);
240 int clp_query_pci_fn(struct zpci_dev *zdev);
241 int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as);
242 int clp_disable_fh(struct zpci_dev *zdev, u32 *fh);
250 int zpci_init_iommu(struct zpci_dev *zdev);
251 void zpci_destroy_iommu(struct zpci_dev *zdev);
252 int zpci_iommu_register_ioat(struct zpci_dev *zdev, u8 *status);
255 static inline bool zpci_use_mio(struct zpci_dev *zdev) in zpci_use_mio() argument
257 return static_branch_likely(&have_mio) && zdev->mio_capable; in zpci_use_mio()
273 static inline int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot() argument
277 static inline void zpci_exit_slot(struct zpci_dev *zdev) {} in zpci_exit_slot() argument
298 int zpci_dma_init_device(struct zpci_dev *zdev);
299 int zpci_dma_exit_device(struct zpci_dev *zdev);
317 int zpci_clear_error_state(struct zpci_dev *zdev);
318 int zpci_reset_load_store_blocked(struct zpci_dev *zdev);