zpci_dev
struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS];
static inline bool zdev_enabled(struct zpci_dev *zdev)
struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state);
int zpci_add_device(struct zpci_dev *zdev);
int zpci_enable_device(struct zpci_dev *);
int zpci_reenable_device(struct zpci_dev *zdev);
int zpci_disable_device(struct zpci_dev *);
int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh);
int zpci_deconfigure_device(struct zpci_dev *zdev);
void zpci_device_reserved(struct zpci_dev *zdev);
bool zpci_is_device_configured(struct zpci_dev *zdev);
int zpci_hot_reset_device(struct zpci_dev *zdev);
int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64, u8 *);
int zpci_unregister_ioat(struct zpci_dev *, u8);
void zpci_update_fh(struct zpci_dev *zdev, u32 fh);
int clp_query_pci_fn(struct zpci_dev *zdev);
int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as);
int clp_disable_fh(struct zpci_dev *zdev, u32 *fh);
int zpci_init_iommu(struct zpci_dev *zdev);
void zpci_destroy_iommu(struct zpci_dev *zdev);
int zpci_iommu_register_ioat(struct zpci_dev *zdev, u8 *status);
static inline bool zpci_use_mio(struct zpci_dev *zdev)
int zpci_init_slot(struct zpci_dev *);
void zpci_exit_slot(struct zpci_dev *);
static inline int zpci_init_slot(struct zpci_dev *zdev)
static inline void zpci_exit_slot(struct zpci_dev *zdev) {}
static inline struct zpci_dev *to_zpci(struct pci_dev *pdev)
static inline struct zpci_dev *to_zpci_dev(struct device *dev)
struct zpci_dev *get_zdev_by_fid(u32);
int zpci_dma_init_device(struct zpci_dev *zdev);
int zpci_dma_exit_device(struct zpci_dev *zdev);
int zpci_set_irq(struct zpci_dev *zdev);
int zpci_fmb_enable_device(struct zpci_dev *);
int zpci_fmb_disable_device(struct zpci_dev *);
void zpci_debug_init_device(struct zpci_dev *, const char *);
void zpci_debug_exit_device(struct zpci_dev *);
int zpci_clear_error_state(struct zpci_dev *zdev);
int zpci_reset_load_store_blocked(struct zpci_dev *zdev);
struct zpci_dev;
struct zpci_iommu_ctrs *zpci_get_iommu_ctrs(struct zpci_dev *zdev);
static int kvm_zpci_set_airq(struct zpci_dev *zdev)
static int kvm_zpci_clear_airq(struct zpci_dev *zdev)
static int kvm_s390_pci_aif_enable(struct zpci_dev *zdev, struct zpci_fib *fib,
static int kvm_s390_pci_aif_disable(struct zpci_dev *zdev, bool force)
static int kvm_s390_pci_dev_open(struct zpci_dev *zdev)
static void kvm_s390_pci_dev_release(struct zpci_dev *zdev)
struct zpci_dev *zdev = opaque;
struct zpci_dev *zdev = opaque;
static struct zpci_dev *get_zdev_from_kvm_by_fh(struct kvm *kvm, u32 fh)
struct zpci_dev *zdev = NULL;
static int kvm_s390_pci_zpci_reg_aen(struct zpci_dev *zdev,
struct zpci_dev *zdev;
struct zpci_dev *zdev;
struct zpci_dev *zdev = to_zpci(to_pci_dev(dev));
struct zpci_dev *tmp, *zdev;
struct zpci_dev *zdev = to_zpci(pdev);
int zpci_clear_error_state(struct zpci_dev *zdev)
int zpci_reset_load_store_blocked(struct zpci_dev *zdev)
struct zpci_dev *za = container_of(a, struct zpci_dev, entry);
struct zpci_dev *zb = container_of(b, struct zpci_dev, entry);
struct zpci_dev *zdev, *tmp;
int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas,
int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas)
int zpci_fmb_enable_device(struct zpci_dev *zdev)
int zpci_fmb_disable_device(struct zpci_dev *zdev)
static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len)
static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len)
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = zdev_from_bus(bus, devfn);
struct zpci_dev *zdev = zdev_from_bus(bus, devfn);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
static int zpci_alloc_iomap(struct zpci_dev *zdev)
static void zpci_free_iomap(struct zpci_dev *zdev, int entry)
static void zpci_do_update_iomap_fh(struct zpci_dev *zdev, u32 fh)
void zpci_update_fh(struct zpci_dev *zdev, u32 fh)
static struct resource *__alloc_res(struct zpci_dev *zdev, unsigned long start,
int zpci_setup_bus_resources(struct zpci_dev *zdev)
static void zpci_cleanup_bus_resources(struct zpci_dev *zdev)
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
int zpci_enable_device(struct zpci_dev *zdev)
int zpci_reenable_device(struct zpci_dev *zdev)
void zpci_zdev_put(struct zpci_dev *zdev)
int zpci_disable_device(struct zpci_dev *zdev)
int zpci_hot_reset_device(struct zpci_dev *zdev)
struct zpci_dev *get_zdev_by_fid(u32 fid)
struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state)
struct zpci_dev *zdev;
struct zpci_dev *tmp, *zdev = NULL;
int zpci_add_device(struct zpci_dev *zdev)
bool zpci_is_device_configured(struct zpci_dev *zdev)
int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh)
int zpci_deconfigure_device(struct zpci_dev *zdev)
void zpci_device_reserved(struct zpci_dev *zdev)
struct zpci_dev *zdev = container_of(kref, struct zpci_dev, kref);
void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error)
struct zpci_dev *zdev;
static bool zpci_bus_is_multifunction_root(struct zpci_dev *zdev)
static int zpci_bus_create_pci_bus(struct zpci_bus *zbus, struct zpci_dev *fr, struct pci_ops *ops)
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev)
static bool zpci_bus_is_isolated_vf(struct zpci_bus *zbus, struct zpci_dev *zdev)
static int zpci_bus_prepare_device(struct zpci_dev *zdev)
int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops)
void zpci_bus_device_unregister(struct zpci_dev *zdev)
int zpci_bus_scan_device(struct zpci_dev *zdev)
int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops);
void zpci_bus_device_unregister(struct zpci_dev *zdev);
int zpci_bus_scan_device(struct zpci_dev *zdev);
void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error);
void zpci_zdev_put(struct zpci_dev *zdev);
static inline void zpci_zdev_get(struct zpci_dev *zdev)
int zpci_setup_bus_resources(struct zpci_dev *zdev);
static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus,
static void clp_store_query_pci_fngrp(struct zpci_dev *zdev,
static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid)
static int clp_store_query_pci_fn(struct zpci_dev *zdev,
int clp_query_pci_fn(struct zpci_dev *zdev)
static int clp_set_pci_fn(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as, u8 command)
int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as)
int clp_disable_fh(struct zpci_dev *zdev, u32 *fh)
struct zpci_dev *zdev;
struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private;
void zpci_debug_init_device(struct zpci_dev *zdev, const char *name)
void zpci_debug_exit_device(struct zpci_dev *zdev)
struct zpci_dev *zdev = m->private;
struct zpci_dev *zdev = m->private;
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid);
static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh)
static void zpci_event_reappear(struct zpci_dev *zdev)
struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(virtfn);
struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev)
struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev);
static inline struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev)
int zpci_set_irq(struct zpci_dev *zdev)
static int zpci_clear_irq(struct zpci_dev *zdev)
struct zpci_dev *zdev = to_zpci_dev(desc->dev);
static int __alloc_airq(struct zpci_dev *zdev, int msi_vecs,
struct zpci_dev *zdev = to_zpci(pdev);
static int zpci_set_airq(struct zpci_dev *zdev)
static void zpci_msi_teardown_directed(struct zpci_dev *zdev)
static void zpci_msi_teardown_floating(struct zpci_dev *zdev)
struct zpci_dev *zdev = to_zpci_dev(domain->dev);
struct zpci_dev *zdev = to_zpci_dev(dev);
struct zpci_dev *zdev = to_zpci_dev(desc->dev);
struct zpci_dev *zdev = to_zpci_dev(desc->dev);
static int zpci_clear_airq(struct zpci_dev *zdev)
static int zpci_set_directed_irq(struct zpci_dev *zdev)
static int zpci_clear_directed_irq(struct zpci_dev *zdev)
int zpci_report_status(struct zpci_dev *zdev, const char *operation, const char *status)
struct zpci_dev;
int zpci_report_status(struct zpci_dev *zdev, const char *operation, const char *status);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_dev *zdev = to_zpci(to_pci_dev(dev));
struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
struct zpci_dev *zdev = to_zpci(to_pci_dev(dev));
static int _do_recover(struct pci_dev *pdev, struct zpci_dev *zdev)
struct zpci_dev *zdev = to_zpci(pdev);
struct zpci_iommu_ctrs *zpci_get_iommu_ctrs(struct zpci_dev *zdev)
int zpci_init_iommu(struct zpci_dev *zdev)
void zpci_destroy_iommu(struct zpci_dev *zdev)
struct zpci_dev *zdev = to_zpci_dev(dev);
struct zpci_dev *zdev = to_zpci_dev(dev);
struct zpci_dev *zdev = to_zpci_dev(dev);
static void zdev_s390_domain_update(struct zpci_dev *zdev,
static int s390_iommu_domain_reg_ioat(struct zpci_dev *zdev,
int zpci_iommu_register_ioat(struct zpci_dev *zdev, u8 *status)
struct zpci_dev *zdev = to_zpci_dev(dev);
struct zpci_dev *zdev = to_zpci_dev(dev);
struct zpci_dev *zdev = to_zpci_dev(dev);
struct zpci_dev *zdev;
static int zpci_refresh_all(struct zpci_dev *zdev)
struct zpci_dev *zdev;
struct zpci_dev *zdev;
struct zpci_dev *zdev;
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
int zpci_init_slot(struct zpci_dev *zdev)
void zpci_exit_slot(struct zpci_dev *zdev)
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
struct zpci_dev *zdev = to_zpci(ism->pdev);
struct zpci_dev *zdev = to_zpci(ism->pdev);
struct zpci_dev *zdev = to_zpci(ism->pdev);
struct zpci_dev *zdev;
struct zpci_dev *zdev = to_zpci(vdev->pdev);
struct zpci_dev *zdev = to_zpci(vdev->pdev);
struct zpci_dev *zdev = to_zpci(vdev->pdev);
static int zpci_base_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps)
static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps)
static int zpci_util_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps)
static int zpci_pfip_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps)
struct zpci_dev *zdev;