Home
last modified time | relevance | path

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

/Linux-v5.10/arch/s390/include/asm/
Dpci.h106 struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS];
117 struct zpci_dev { struct
191 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
204 int zpci_create_device(struct zpci_dev *);
205 void zpci_remove_device(struct zpci_dev *zdev);
206 int zpci_enable_device(struct zpci_dev *);
207 int zpci_disable_device(struct zpci_dev *);
208 int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64);
209 int zpci_unregister_ioat(struct zpci_dev *, u8);
216 int clp_enable_fh(struct zpci_dev *, u8);
[all …]
Dpci_dma.h185 int zpci_dma_init_device(struct zpci_dev *);
186 void zpci_dma_exit_device(struct zpci_dev *);
/Linux-v5.10/drivers/pci/hotplug/
Ds390_pci_hpc.c29 static inline int zdev_configure(struct zpci_dev *zdev) in zdev_configure()
40 static inline int zdev_deconfigure(struct zpci_dev *zdev) in zdev_deconfigure()
53 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in enable_slot()
83 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in disable_slot()
108 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status()
136 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
148 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
/Linux-v5.10/arch/s390/pci/
Dpci.c64 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
66 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
81 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices()
111 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
126 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
139 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
168 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
189 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load()
205 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store()
293 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh()
[all …]
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);
14 static inline void zpci_zdev_put(struct zpci_dev *zdev) in zpci_zdev_put()
21 int zpci_setup_bus_resources(struct zpci_dev *zdev,
24 static inline struct zpci_dev *get_zdev_by_bus(struct pci_bus *bus, in get_zdev_by_bus()
Dpci_dma.c22 static int zpci_refresh_global(struct zpci_dev *zdev) in zpci_refresh_global()
133 static int __dma_update_trans(struct zpci_dev *zdev, unsigned long pa, in __dma_update_trans()
179 static int __dma_purge_tlb(struct zpci_dev *zdev, dma_addr_t dma_addr, in __dma_purge_tlb()
218 static int dma_update_trans(struct zpci_dev *zdev, unsigned long pa, in dma_update_trans()
263 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in __dma_alloc_iommu()
273 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_alloc_address()
305 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_free_address()
338 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_map_pages()
378 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_unmap_pages()
399 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_alloc()
[all …]
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_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()
108 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read()
122 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write()
Dpci_clp.c97 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp()
117 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp()
144 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn()
184 static int clp_query_pci_fn(struct zpci_dev *zdev, u32 fh) in clp_query_pci_fn()
217 struct zpci_dev *zdev; in clp_add_pci_device()
254 static int clp_set_pci_fn(struct zpci_dev *zdev, u8 nr_dma_as, u8 command) in clp_set_pci_fn()
332 int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as) in clp_enable_fh()
352 int clp_disable_fh(struct zpci_dev *zdev) in clp_disable_fh()
404 struct zpci_dev *zdev; in __clp_add()
431 struct zpci_dev *zdev; in __clp_refresh_fh()
Dpci_irq.c39 static int zpci_set_airq(struct zpci_dev *zdev) in zpci_set_airq()
57 static int zpci_clear_airq(struct zpci_dev *zdev) in zpci_clear_airq()
72 static int zpci_set_directed_irq(struct zpci_dev *zdev) in zpci_set_directed_irq()
86 static int zpci_clear_directed_irq(struct zpci_dev *zdev) in zpci_clear_directed_irq()
237 struct zpci_dev *zdev = to_zpci(pdev); in arch_setup_msi_irqs()
328 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs()
Dpci_bus.c132 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device()
144 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device()
193 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops) in zpci_bus_device_register()
268 void zpci_bus_device_unregister(struct zpci_dev *zdev) in zpci_bus_device_unregister()
Dpci_event.c51 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
78 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
Dpci_iov.c66 struct zpci_dev *zdev; in zpci_iov_setup_virtfn()
/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_zdev.c27 static int zpci_base_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_base_cap()
48 static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_group_cap()
69 static int zpci_util_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_util_cap()
93 static int zpci_pfip_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_pfip_cap()
120 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_info_zdev_add_caps()
/Linux-v5.10/drivers/iommu/
Ds390-iommu.c34 struct zpci_dev *zdev;
90 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device()
142 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_detach_device()
171 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_probe_device()
178 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_release_device()
327 int zpci_init_iommu(struct zpci_dev *zdev) in zpci_init_iommu()
351 void zpci_destroy_iommu(struct zpci_dev *zdev) in zpci_destroy_iommu()
/Linux-v5.10/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-v5.10/arch/s390/net/
Dpnet.c57 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in pnet_ids_by_device()