/linux/arch/s390/include/asm/ |
H A D | pci.h | 108 struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS]; 120 struct zpci_dev { struct 197 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument 220 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state); 221 int zpci_add_device(struct zpci_dev *zdev); 222 int zpci_enable_device(struct zpci_dev *); 223 int zpci_reenable_device(struct zpci_dev *zdev); 224 int zpci_disable_device(struct zpci_dev *); 225 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh); 226 int zpci_deconfigure_device(struct zpci_dev *zde 122 entryzpci_dev global() argument 123 iommu_listzpci_dev global() argument 124 krefzpci_dev global() argument 125 rcuzpci_dev global() argument 126 hotplug_slotzpci_dev global() argument 128 state_lockzpci_dev global() argument 129 statezpci_dev global() argument 130 fidzpci_dev global() argument 131 fhzpci_dev global() argument 132 gisazpci_dev global() argument 133 vfnzpci_dev global() argument 134 pchidzpci_dev global() argument 135 maxstblzpci_dev global() argument 136 ridzpci_dev global() argument 137 tidzpci_dev global() argument 138 pfgidzpci_dev global() argument 139 pftzpci_dev global() argument 140 portzpci_dev global() argument 141 fidparmzpci_dev global() argument 142 dtsmzpci_dev global() argument 143 rid_availablezpci_dev global() argument 144 has_hp_slotzpci_dev global() argument 145 has_resourceszpci_dev global() argument 146 is_physfnzpci_dev global() argument 147 util_str_availzpci_dev global() argument 148 irqs_registeredzpci_dev global() argument 149 tid_availzpci_dev global() argument 150 rtr_availzpci_dev global() argument 151 devfnzpci_dev global() argument 153 pfipzpci_dev global() argument 154 uidzpci_dev global() argument 155 util_strzpci_dev global() argument 158 msi_addrzpci_dev global() argument 159 max_msizpci_dev global() argument 160 msi_first_bitzpci_dev global() argument 161 msi_nr_irqszpci_dev global() argument 162 aibvzpci_dev global() argument 163 aisbzpci_dev global() argument 166 dma_tablezpci_dev global() argument 167 tlb_refreshzpci_dev global() argument 169 iommu_devzpci_dev global() argument 171 res_namezpci_dev global() argument 172 mio_capablezpci_dev global() argument 173 barszpci_dev global() argument [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_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); 25 void zpci_zdev_put(struct zpci_dev *zdev); 27 static inline void zpci_zdev_get(struct zpci_dev *zdev) in zpci_zdev_get() 34 int zpci_setup_bus_resources(struct zpci_dev *zdev); 36 static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus, in zdev_from_bus()
|
H A D | pci.c | 74 void zpci_zdev_put(struct zpci_dev *zdev) in zpci_zdev_put() 83 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid() 85 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid() 101 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices() 131 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat() 154 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat() 169 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device() 209 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device() 232 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load() 248 static int zpci_cfg_store(struct zpci_dev *zde [all...] |
H 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() 171 static bool zpci_bus_is_multifunction_root(struct zpci_dev *zdev) in zpci_bus_is_multifunction_root() 187 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() 288 struct zpci_dev *zdev = to_zpci(pdev); in pci_dma_range_setup() 308 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device() 322 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device() 356 static bool zpci_bus_is_isolated_vf(struct zpci_bus *zbus, struct zpci_dev *zde [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 *zde in arch_restore_msi_irqs() [all...] |
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 | 66 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() 291 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error() 352 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured() 367 static void zpci_event_reappear(struct zpci_dev *zdev) in zpci_event_reappear() 385 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/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 *zde [all...] |
/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 | 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() 223 static int kvm_s390_pci_aif_enable(struct zpci_dev *zdev, struct zpci_fib *fib, in kvm_s390_pci_aif_enable() 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 *zde 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() 615 static int s390_iommu_domain_reg_ioat(struct zpci_dev *zdev, in s390_iommu_domain_reg_ioat() 641 int zpci_iommu_register_ioat(struct zpci_dev *zdev, u8 *status) in zpci_iommu_register_ioat() 658 struct zpci_dev *zdev = to_zpci_dev(dev); in blocking_domain_attach_device() 683 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() 714 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_get_resv_regions() 750 struct zpci_dev *zdev; in s390_iommu_probe_device() 770 static int zpci_refresh_all(struct zpci_dev *zde [all...] |
/linux/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/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 | 548 struct zpci_dev *zdev; in smc_set_pci_values()
|