| /linux/arch/s390/include/asm/ |
| A D | pci.h | 117 struct zpci_dev { struct 213 int zpci_enable_device(struct zpci_dev *); 214 int zpci_disable_device(struct zpci_dev *); 229 int clp_query_pci_fn(struct zpci_dev *zdev); 239 int zpci_init_iommu(struct zpci_dev *zdev); 240 void zpci_destroy_iommu(struct zpci_dev *zdev); 258 int zpci_init_slot(struct zpci_dev *); 259 void zpci_exit_slot(struct zpci_dev *); 281 struct zpci_dev *get_zdev_by_fid(u32); 294 int zpci_fmb_enable_device(struct zpci_dev *); [all …]
|
| A D | pci_dma.h | 93 struct zpci_dev; 95 struct zpci_iommu_ctrs *zpci_get_iommu_ctrs(struct zpci_dev *zdev);
|
| /linux/arch/s390/pci/ |
| A D | pci_bus.h | 10 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops); 11 void zpci_bus_device_unregister(struct zpci_dev *zdev); 16 int zpci_bus_scan_device(struct zpci_dev *zdev); 17 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error); 20 static inline void zpci_zdev_put(struct zpci_dev *zdev) in zpci_zdev_put() 26 static inline void zpci_zdev_get(struct zpci_dev *zdev) in zpci_zdev_get() 33 int zpci_setup_bus_resources(struct zpci_dev *zdev); 35 static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus, in zdev_from_bus()
|
| A D | pci.c | 71 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid() 73 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid() 89 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices() 279 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh() 298 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_mio() 328 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_wc_range_mio() 405 struct zpci_dev *zdev = to_zpci(pdev); in zpci_map_resources() 428 struct zpci_dev *zdev = to_zpci(pdev); in zpci_unmap_resources() 581 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_device_add() 785 struct zpci_dev *zdev; in zpci_create_device() [all …]
|
| A D | pci_bus.c | 42 static int zpci_bus_prepare_device(struct zpci_dev *zdev) in zpci_bus_prepare_device() 70 int zpci_bus_scan_device(struct zpci_dev *zdev) in zpci_bus_scan_device() 99 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error) in zpci_bus_remove_device() 134 struct zpci_dev *zdev; in zpci_bus_scan_bus() 181 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() 279 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device() 291 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device() 322 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops) in zpci_bus_device_register() 367 void zpci_bus_device_unregister(struct zpci_dev *zdev) in zpci_bus_device_unregister()
|
| A D | pci_sysfs.c | 24 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \ 46 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() 52 static int _do_recover(struct pci_dev *pdev, struct zpci_dev *zdev) in _do_recover() 90 struct zpci_dev *zdev = to_zpci(pdev); in recover_store() 142 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read() 156 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write() 179 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
|
| 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()
|
| A D | pci_debug.c | 89 struct zpci_dev *zdev = m->private; in pci_perf_show() 140 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write() 178 void zpci_debug_init_device(struct zpci_dev *zdev, const char *name) in zpci_debug_init_device() 186 void zpci_debug_exit_device(struct zpci_dev *zdev) in zpci_debug_exit_device()
|
| A D | pci_event.c | 64 struct zpci_dev *zdev = to_zpci(pdev); in is_passed_through() 105 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_do_error_state_clear() 260 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error() 310 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured() 327 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
|
| A D | pci_clp.c | 100 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp() 122 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp() 149 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn() 189 int clp_query_pci_fn(struct zpci_dev *zdev) in clp_query_pci_fn() 230 static int clp_set_pci_fn(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as, u8 command) in clp_set_pci_fn() 309 int clp_enable_fh(struct zpci_dev *zdev, u32 *fh, u8 nr_dma_as) in clp_enable_fh() 325 int clp_disable_fh(struct zpci_dev *zdev, u32 *fh) in clp_disable_fh() 410 struct zpci_dev *zdev; in __clp_add()
|
| A D | pci_iov.c | 66 struct zpci_dev *zdev; in zpci_iov_setup_virtfn()
|
| /linux/drivers/pci/hotplug/ |
| 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() 77 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in reset_slot() 106 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status() 128 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot() 140 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
|
| /linux/drivers/vfio/pci/ |
| 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/ |
| 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() 337 static int kvm_s390_pci_aif_disable(struct zpci_dev *zdev, bool force) in kvm_s390_pci_aif_disable() 404 static int kvm_s390_pci_dev_open(struct zpci_dev *zdev) in kvm_s390_pci_dev_open() 418 static void kvm_s390_pci_dev_release(struct zpci_dev *zdev) in kvm_s390_pci_dev_release() 436 struct zpci_dev *zdev = opaque; in kvm_s390_pci_register_kvm() 518 struct zpci_dev *zdev = opaque; in kvm_s390_pci_unregister_kvm() 590 static struct zpci_dev *get_zdev_from_kvm_by_fh(struct kvm *kvm, u32 fh) in get_zdev_from_kvm_by_fh() 592 struct zpci_dev *zdev = NULL; in get_zdev_from_kvm_by_fh() 607 static int kvm_s390_pci_zpci_reg_aen(struct zpci_dev *zdev, in kvm_s390_pci_zpci_reg_aen() [all …]
|
| A D | pci.h | 21 struct zpci_dev *zdev;
|
| /linux/drivers/iommu/ |
| A D | s390-iommu.c | 318 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_capable() 376 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_detach_device() 392 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() 429 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_get_resv_regions() 452 struct zpci_dev *zdev; in s390_iommu_probe_device() 474 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_release_device() 493 struct zpci_dev *zdev; in s390_iommu_flush_iotlb_all() 508 struct zpci_dev *zdev; in s390_iommu_iotlb_sync() 527 struct zpci_dev *zdev; in s390_iommu_iotlb_sync_map() 705 int zpci_init_iommu(struct zpci_dev *zdev) in zpci_init_iommu() [all …]
|
| /linux/drivers/s390/net/ |
| 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/arch/s390/net/ |
| A D | pnet.c | 57 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in pnet_ids_by_device()
|
| /linux/net/smc/ |
| A D | smc_core.h | 539 struct zpci_dev *zdev; in smc_set_pci_values()
|