| /linux-6.15/arch/s390/include/asm/ |
| H A D | pci.h | 120 struct zpci_dev { struct 221 int zpci_add_device(struct zpci_dev *zdev); 222 int zpci_enable_device(struct zpci_dev *); 224 int zpci_disable_device(struct zpci_dev *); 240 int clp_query_pci_fn(struct zpci_dev *zdev); 250 int zpci_init_iommu(struct zpci_dev *zdev); 251 void zpci_destroy_iommu(struct zpci_dev *zdev); 270 int zpci_init_slot(struct zpci_dev *); 271 void zpci_exit_slot(struct zpci_dev *); 293 struct zpci_dev *get_zdev_by_fid(u32); [all …]
|
| H A D | pci_dma.h | 93 struct zpci_dev; 95 struct zpci_iommu_ctrs *zpci_get_iommu_ctrs(struct zpci_dev *zdev);
|
| /linux-6.15/arch/s390/pci/ |
| 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); 20 int zpci_bus_scan_device(struct zpci_dev *zdev); 21 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error); 24 static inline void zpci_zdev_put(struct zpci_dev *zdev) in zpci_zdev_put() 30 static inline void zpci_zdev_get(struct zpci_dev *zdev) in zpci_zdev_get() 37 int zpci_setup_bus_resources(struct zpci_dev *zdev); 39 static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus, in zdev_from_bus()
|
| H A D | pci.c | 73 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid() 75 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid() 91 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices() 283 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh() 302 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_mio() 332 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_wc_range_mio() 796 struct zpci_dev *zdev; in zpci_create_device() 948 struct zpci_dev *zdev = container_of(kref, struct zpci_dev, kref); in zpci_release_device() 1104 struct zpci_dev *za = container_of(a, struct zpci_dev, entry); in zpci_cmp_rid() 1105 struct zpci_dev *zb = container_of(b, struct zpci_dev, entry); in zpci_cmp_rid() [all …]
|
| H A D | pci_bus.c | 43 static int zpci_bus_prepare_device(struct zpci_dev *zdev) in zpci_bus_prepare_device() 71 int zpci_bus_scan_device(struct zpci_dev *zdev) in zpci_bus_scan_device() 100 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error) in zpci_bus_remove_device() 135 struct zpci_dev *zdev; in zpci_bus_scan_bus() 172 static bool zpci_bus_is_multifunction_root(struct zpci_dev *zdev) in zpci_bus_is_multifunction_root() 289 struct zpci_dev *zdev = to_zpci(pdev); in pci_dma_range_setup() 309 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device() 323 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device() 357 static bool zpci_bus_is_isolated_vf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_is_isolated_vf() 371 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops) in zpci_bus_device_register() [all …]
|
| H A D | pci_sysfs.c | 24 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \ 47 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() 53 static int _do_recover(struct pci_dev *pdev, struct zpci_dev *zdev) in _do_recover() 82 struct zpci_dev *zdev = to_zpci(pdev); in recover_store() 134 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read() 148 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write() 171 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
|
| H A D | pci_debug.c | 74 struct zpci_dev *zdev = m->private; in pci_sw_counter_show() 95 struct zpci_dev *zdev = m->private; in pci_perf_show() 146 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write() 184 void zpci_debug_init_device(struct zpci_dev *zdev, const char *name) in zpci_debug_init_device() 192 void zpci_debug_exit_device(struct zpci_dev *zdev) in zpci_debug_exit_device()
|
| 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 static int zpci_set_irq(struct zpci_dev *zdev) in zpci_set_irq() 117 static int zpci_clear_irq(struct zpci_dev *zdev) in zpci_clear_irq() 271 static int __alloc_airq(struct zpci_dev *zdev, int msi_vecs, in __alloc_airq() 302 struct zpci_dev *zdev = to_zpci(pdev); in arch_setup_msi_irqs() 390 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs() 428 struct zpci_dev *zdev = to_zpci(pdev); in arch_restore_msi_irqs()
|
| 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_event.c | 65 struct zpci_dev *zdev = to_zpci(pdev); in is_passed_through() 106 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_do_error_state_clear() 173 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_attempt_error_recovery() 273 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error() 323 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured() 340 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
|
| 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 | 104 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp() 127 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp() 154 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn() 198 int clp_query_pci_fn(struct zpci_dev *zdev) in clp_query_pci_fn() 239 static int clp_set_pci_fn(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as, u8 command) in clp_set_pci_fn() 318 int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as) in clp_enable_fh() 334 int clp_disable_fh(struct zpci_dev *zdev, u32 *fh) in clp_disable_fh() 420 struct zpci_dev *zdev; in __clp_add()
|
| H A D | pci_iov.c | 77 struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_iov_find_parent_pf() 116 struct zpci_dev *zdev = to_zpci(virtfn); in zpci_iov_setup_virtfn()
|
| H A D | pci_report.c | 107 int zpci_report_status(struct zpci_dev *zdev, const char *operation, const char *status) in zpci_report_status()
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | s390_pci_hpc.c | 25 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in enable_slot() 49 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in disable_slot() 76 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in reset_slot() 105 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status() 127 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot() 139 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
|
| /linux-6.15/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-6.15/drivers/iommu/ |
| H A D | s390-iommu.c | 320 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_capable() 427 struct zpci_dev *zdev = to_zpci_dev(dev); in blocking_domain_attach_device() 452 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() 483 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_get_resv_regions() 506 struct zpci_dev *zdev; in s390_iommu_probe_device() 539 struct zpci_dev *zdev; in s390_iommu_flush_iotlb_all() 554 struct zpci_dev *zdev; in s390_iommu_iotlb_sync() 573 struct zpci_dev *zdev; in s390_iommu_iotlb_sync_map() 757 int zpci_init_iommu(struct zpci_dev *zdev) in zpci_init_iommu() 792 void zpci_destroy_iommu(struct zpci_dev *zdev) in zpci_destroy_iommu() [all …]
|
| /linux-6.15/arch/s390/kvm/ |
| H A D | pci.c | 159 static int kvm_zpci_set_airq(struct zpci_dev *zdev) in kvm_zpci_set_airq() 178 static int kvm_zpci_clear_airq(struct zpci_dev *zdev) in kvm_zpci_clear_airq() 336 static int kvm_s390_pci_aif_disable(struct zpci_dev *zdev, bool force) in kvm_s390_pci_aif_disable() 403 static int kvm_s390_pci_dev_open(struct zpci_dev *zdev) in kvm_s390_pci_dev_open() 417 static void kvm_s390_pci_dev_release(struct zpci_dev *zdev) in kvm_s390_pci_dev_release() 435 struct zpci_dev *zdev = opaque; in kvm_s390_pci_register_kvm() 510 struct zpci_dev *zdev = opaque; in kvm_s390_pci_unregister_kvm() 576 static struct zpci_dev *get_zdev_from_kvm_by_fh(struct kvm *kvm, u32 fh) in get_zdev_from_kvm_by_fh() 578 struct zpci_dev *zdev = NULL; in get_zdev_from_kvm_by_fh() 593 static int kvm_s390_pci_zpci_reg_aen(struct zpci_dev *zdev, in kvm_s390_pci_zpci_reg_aen() [all …]
|
| H A D | pci.h | 21 struct zpci_dev *zdev;
|
| /linux-6.15/drivers/s390/net/ |
| H A D | ism.h | 197 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_read_cmd() 211 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_write_cmd() 221 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_move()
|
| /linux-6.15/arch/s390/net/ |
| H A D | pnet.c | 57 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in pnet_ids_by_device()
|
| /linux-6.15/net/smc/ |
| H A D | smc_core.h | 548 struct zpci_dev *zdev; in smc_set_pci_values()
|