| /linux/arch/s390/include/asm/ |
| H A D | pci.h | 109 struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS]; 122 struct zpci_dev { struct 198 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument 221 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state); 222 int zpci_add_device(struct zpci_dev *zdev); 223 int zpci_enable_device(struct zpci_dev *); 224 int zpci_reenable_device(struct zpci_dev *zdev); 225 int zpci_disable_device(struct zpci_dev *); 226 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh); 227 int zpci_deconfigure_device(struct zpci_dev *zdev); [all …]
|
| H A D | pci_dma.h | 96 struct zpci_dev; 98 struct zpci_iommu_ctrs *zpci_get_iommu_ctrs(struct zpci_dev *zdev);
|
| /linux/arch/s390/pci/ |
| H A D | pci.c | 73 void zpci_zdev_put(struct zpci_dev *zdev) in zpci_zdev_put() 82 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid() 84 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid() 100 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices() 130 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat() 153 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat() 168 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device() 208 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device() 231 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load() 253 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store() [all …]
|
| H A D | pci_bus.h | 14 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops); 15 void zpci_bus_device_unregister(struct zpci_dev *zdev); 33 int zpci_bus_scan_device(struct zpci_dev *zdev); 34 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error); 38 void zpci_zdev_put(struct zpci_dev *zdev); 40 static inline void zpci_zdev_get(struct zpci_dev *zdev) in zpci_zdev_get() 47 int zpci_setup_bus_resources(struct zpci_dev *zdev); 49 static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus, in zdev_from_bus()
|
| H A D | pci_bus.c | 42 static int zpci_bus_prepare_device(struct zpci_dev *zdev) in zpci_bus_prepare_device() 72 int zpci_bus_scan_device(struct zpci_dev *zdev) in zpci_bus_scan_device() 101 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error) in zpci_bus_remove_device() 136 struct zpci_dev *zdev; in zpci_bus_scan_bus() 156 static bool zpci_bus_is_multifunction_root(struct zpci_dev *zdev) in zpci_bus_is_multifunction_root() 172 static int zpci_bus_create_pci_bus(struct zpci_bus *zbus, struct zpci_dev *fr, struct pci_ops *ops) in zpci_bus_create_pci_bus() 343 struct zpci_dev *zdev = to_zpci(pdev); in pci_dma_range_setup() 363 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device() 377 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device() 411 static bool zpci_bus_is_isolated_vf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_is_isolated_vf() [all …]
|
| H A D | pci_irq.c | 33 static int zpci_set_airq(struct zpci_dev *zdev) in zpci_set_airq() 52 static int zpci_clear_airq(struct zpci_dev *zdev) in zpci_clear_airq() 69 static int zpci_set_directed_irq(struct zpci_dev *zdev) in zpci_set_directed_irq() 84 static int zpci_clear_directed_irq(struct zpci_dev *zdev) in zpci_clear_directed_irq() 101 int zpci_set_irq(struct zpci_dev *zdev) in zpci_set_irq() 114 static int zpci_clear_irq(struct zpci_dev *zdev) in zpci_clear_irq() 151 struct zpci_dev *zdev = to_zpci_dev(desc->dev); in zpci_compose_msi_msg() 297 static int __alloc_airq(struct zpci_dev *zdev, int msi_vecs, in __alloc_airq() 329 struct zpci_dev *zdev = to_zpci(pdev); in arch_restore_msi_irqs() 340 static void zpci_msi_teardown_directed(struct zpci_dev *zdev) in zpci_msi_teardown_directed() [all …]
|
| H A D | pci_sysfs.c | 23 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \ 49 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() 55 static int _do_recover(struct pci_dev *pdev, struct zpci_dev *zdev) in _do_recover() 84 struct zpci_dev *zdev = to_zpci(pdev); in recover_store() 136 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read() 150 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write() 180 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
|
| H A D | pci_debug.c | 73 struct zpci_dev *zdev = m->private; in pci_sw_counter_show() 94 struct zpci_dev *zdev = m->private; in pci_perf_show() 145 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write() 183 void zpci_debug_init_device(struct zpci_dev *zdev, const char *name) in zpci_debug_init_device() 191 void zpci_debug_exit_device(struct zpci_dev *zdev) in zpci_debug_exit_device()
|
| H A D | pci_event.c | 65 struct zpci_dev *zdev = to_zpci(pdev); in is_passed_through() 103 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_do_error_state_clear() 181 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_attempt_error_recovery() 293 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error() 354 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured() 369 static void zpci_event_reappear(struct zpci_dev *zdev) in zpci_event_reappear() 387 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
|
| H A D | pci_report.h | 12 struct zpci_dev; 14 int zpci_report_status(struct zpci_dev *zdev, const char *operation, const char *status);
|
| H A D | pci_iov.h | 22 struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev); 34 static inline struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_iov_find_parent_pf()
|
| H A D | pci_clp.c | 102 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp() 125 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp() 152 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn() 196 int clp_query_pci_fn(struct zpci_dev *zdev) in clp_query_pci_fn() 237 static int clp_set_pci_fn(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as, u8 command) in clp_set_pci_fn() 316 int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as) in clp_enable_fh() 332 int clp_disable_fh(struct zpci_dev *zdev, u32 *fh) in clp_disable_fh() 418 struct zpci_dev *zdev; in __clp_add()
|
| H A D | pci_iov.c | 76 struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_iov_find_parent_pf() 115 struct zpci_dev *zdev = to_zpci(virtfn); in zpci_iov_setup_virtfn()
|
| H A D | pci_report.c | 106 int zpci_report_status(struct zpci_dev *zdev, const char *operation, const char *status) in zpci_report_status()
|
| /linux/drivers/pci/hotplug/ |
| H A D | s390_pci_hpc.c | 24 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in enable_slot() 48 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in disable_slot() 75 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in reset_slot() 104 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status() 126 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot() 138 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_zdev.c | 23 static int zpci_base_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_base_cap() 44 static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_group_cap() 66 static int zpci_util_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_util_cap() 91 static int zpci_pfip_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_pfip_cap() 119 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_info_zdev_add_caps() 146 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_zdev_open_device() 162 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_zdev_close_device()
|
| /linux/arch/s390/kvm/ |
| H A D | pci.c | 158 static int kvm_zpci_set_airq(struct zpci_dev *zdev) in kvm_zpci_set_airq() 177 static int kvm_zpci_clear_airq(struct zpci_dev *zdev) in kvm_zpci_clear_airq() 222 static int kvm_s390_pci_aif_enable(struct zpci_dev *zdev, struct zpci_fib *fib, in kvm_s390_pci_aif_enable() 335 static int kvm_s390_pci_aif_disable(struct zpci_dev *zdev, bool force) in kvm_s390_pci_aif_disable() 402 static int kvm_s390_pci_dev_open(struct zpci_dev *zdev) in kvm_s390_pci_dev_open() 416 static void kvm_s390_pci_dev_release(struct zpci_dev *zdev) in kvm_s390_pci_dev_release() 434 struct zpci_dev *zdev = opaque; in kvm_s390_pci_register_kvm() 509 struct zpci_dev *zdev = opaque; in kvm_s390_pci_unregister_kvm() 575 static struct zpci_dev *get_zdev_from_kvm_by_fh(struct kvm *kvm, u32 fh) in get_zdev_from_kvm_by_fh() 577 struct zpci_dev *zdev = NULL; in get_zdev_from_kvm_by_fh() [all …]
|
| H A D | pci.h | 21 struct zpci_dev *zdev;
|
| /linux/drivers/iommu/ |
| H A D | s390-iommu.c | 502 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_capable() 530 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_domain_alloc_paging() 590 static void zdev_s390_domain_update(struct zpci_dev *zdev, in zdev_s390_domain_update() 632 static int s390_iommu_domain_reg_ioat(struct zpci_dev *zdev, in s390_iommu_domain_reg_ioat() 658 int zpci_iommu_register_ioat(struct zpci_dev *zdev, u8 *status) in zpci_iommu_register_ioat() 676 struct zpci_dev *zdev = to_zpci_dev(dev); in blocking_domain_attach_device() 702 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() 733 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_get_resv_regions() 769 struct zpci_dev *zdev; in s390_iommu_probe_device() 789 static int zpci_refresh_all(struct zpci_dev *zdev) in zpci_refresh_all() [all …]
|
| /linux/drivers/s390/net/ |
| H A D | ism.h | 246 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_read_cmd() 260 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_write_cmd() 270 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_move()
|
| H A D | ism_drv.c | 597 struct zpci_dev *zdev; in ism_probe()
|
| /linux/arch/s390/net/ |
| H A D | pnet.c | 58 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in pnet_ids_by_device()
|
| /linux/net/smc/ |
| H A D | smc_core.h | 561 struct zpci_dev *zdev; in smc_set_pci_values()
|