Home
last modified time | relevance | path

Searched refs:zpci_dev (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/arch/s390/include/asm/
Dpci.h106 struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS];
117 struct zpci_dev { struct
198 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
214 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state);
215 int zpci_enable_device(struct zpci_dev *);
216 int zpci_disable_device(struct zpci_dev *);
217 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh);
218 int zpci_deconfigure_device(struct zpci_dev *zdev);
219 void zpci_device_reserved(struct zpci_dev *zdev);
220 bool zpci_is_device_configured(struct zpci_dev *zdev);
[all …]
/linux-6.1.9/arch/s390/pci/
Dpci_bus.h10 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,
36 static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus, in zdev_from_bus()
Dpci.c70 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
72 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
88 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices()
118 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
138 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
153 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
183 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
206 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load()
222 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store()
310 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh()
[all …]
Dpci_bus.c42 static int zpci_bus_prepare_device(struct zpci_dev *zdev) in zpci_bus_prepare_device()
77 int zpci_bus_scan_device(struct zpci_dev *zdev) in zpci_bus_scan_device()
107 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error) in zpci_bus_remove_device()
145 struct zpci_dev *zdev; in zpci_bus_scan_bus()
192 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()
291 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device()
303 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device()
334 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops) in zpci_bus_device_register()
379 void zpci_bus_device_unregister(struct zpci_dev *zdev) in zpci_bus_device_unregister()
Dpci_sysfs.c24 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()
57 struct zpci_dev *zdev = to_zpci(pdev); in recover_store()
129 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read()
143 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write()
167 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
Dpci_debug.c72 struct zpci_dev *zdev = m->private; in pci_sw_counter_show()
83 struct zpci_dev *zdev = m->private; in pci_perf_show()
134 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write()
172 void zpci_debug_init_device(struct zpci_dev *zdev, const char *name) in zpci_debug_init_device()
180 void zpci_debug_exit_device(struct zpci_dev *zdev) in zpci_debug_exit_device()
Dpci_dma.c24 static int zpci_refresh_global(struct zpci_dev *zdev) in zpci_refresh_global()
135 static int __dma_update_trans(struct zpci_dev *zdev, phys_addr_t pa, in __dma_update_trans()
181 static int __dma_purge_tlb(struct zpci_dev *zdev, dma_addr_t dma_addr, in __dma_purge_tlb()
220 static int dma_update_trans(struct zpci_dev *zdev, phys_addr_t pa, in dma_update_trans()
265 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in __dma_alloc_iommu()
275 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_alloc_address()
307 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_free_address()
340 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_map_pages()
380 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_unmap_pages()
401 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_alloc()
[all …]
Dpci_irq.c33 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()
273 struct zpci_dev *zdev = to_zpci(pdev); in arch_setup_msi_irqs()
361 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs()
396 struct zpci_dev *zdev = to_zpci(pdev); in arch_restore_msi_irqs()
Dpci_event.c62 static bool is_passed_through(struct zpci_dev *zdev) in is_passed_through()
98 struct zpci_dev *zdev = to_zpci(pdev); in zpci_event_do_error_state_clear()
253 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
299 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured()
318 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
Dpci_clp.c100 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()
Dpci_iov.c66 struct zpci_dev *zdev; in zpci_iov_setup_virtfn()
/linux-6.1.9/drivers/pci/hotplug/
Ds390_pci_hpc.c25 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in enable_slot()
43 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in disable_slot()
62 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in reset_slot()
85 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status()
107 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
119 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_zdev.c23 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.1.9/drivers/iommu/
Ds390-iommu.c34 struct zpci_dev *zdev;
87 static void __s390_iommu_detach_device(struct zpci_dev *zdev) in __s390_iommu_detach_device()
116 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device()
173 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_detach_device()
183 struct zpci_dev *zdev; in s390_iommu_probe_device()
195 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_release_device()
333 int zpci_init_iommu(struct zpci_dev *zdev) in zpci_init_iommu()
355 void zpci_destroy_iommu(struct zpci_dev *zdev) in zpci_destroy_iommu()
/linux-6.1.9/arch/s390/kvm/
Dpci.c159 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()
224 static int kvm_s390_pci_aif_enable(struct zpci_dev *zdev, struct zpci_fib *fib, in kvm_s390_pci_aif_enable()
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()
517 struct zpci_dev *zdev = opaque; in kvm_s390_pci_unregister_kvm()
588 static struct zpci_dev *get_zdev_from_kvm_by_fh(struct kvm *kvm, u32 fh) in get_zdev_from_kvm_by_fh()
590 struct zpci_dev *zdev = NULL; in get_zdev_from_kvm_by_fh()
[all …]
Dpci.h21 struct zpci_dev *zdev;
/linux-6.1.9/drivers/s390/net/
Dism.h219 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_read_cmd()
233 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_write_cmd()
243 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_move()
/linux-6.1.9/arch/s390/net/
Dpnet.c57 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in pnet_ids_by_device()
/linux-6.1.9/net/smc/
Dsmc_core.h498 struct zpci_dev *zdev; in smc_set_pci_values()