Searched refs:zpci_dev (Results 1 – 14 of 14) sorted by relevance
| /linux/arch/s390/include/asm/ |
| H A D | pci.h | 109 struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS]; 148 struct zpci_dev { struct 226 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument 253 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state); 254 int zpci_add_device(struct zpci_dev *zdev); 255 int zpci_enable_device(struct zpci_dev *); 256 int zpci_reenable_device(struct zpci_dev *zdev); 257 int zpci_disable_device(struct zpci_dev *); 258 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh); 259 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_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_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() 183 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show() 195 struct zpci_dev *zdev = container_of(slot->hotplug, struct zpci_dev, in zpci_uid_slot_show()
|
| H A D | pci_event.c | 58 struct zpci_dev *zdev = to_zpci(pdev); in zpci_store_pci_error() 80 int zpci_get_pending_error(struct zpci_dev *zdev, in zpci_get_pending_error() 99 void zpci_start_mediated_recovery(struct zpci_dev *zdev) in zpci_start_mediated_recovery() 106 void zpci_stop_mediated_recovery(struct zpci_dev *zdev) in zpci_stop_mediated_recovery() 136 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_do_error_state_clear() 215 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_attempt_error_recovery() 335 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error() 397 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured() 412 static void zpci_event_reappear(struct zpci_dev *zdev) in zpci_event_reappear() 441 struct zpci_dev *zdev; in zpci_event_avail_new_device() [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_report.h | 13 struct zpci_dev; 15 int zpci_report_status(struct zpci_dev *zdev, struct pci_dev *pdev,
|
| 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_report.c | 120 int zpci_report_status(struct zpci_dev *zdev, struct pci_dev *pdev, in zpci_report_status()
|
| /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() 45 static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_group_cap() 67 static int zpci_util_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_util_cap() 92 static int zpci_pfip_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_pfip_cap() 120 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_info_zdev_add_caps() 151 struct zpci_dev *zdev; in vfio_pci_zdev_feature_err() 186 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_zdev_open_device() 209 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_zdev_close_device()
|
| /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/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/drivers/s390/net/ |
| H A D | ism_drv.c | 610 struct zpci_dev *zdev; in ism_probe()
|