Home
last modified time | relevance | path

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

/Linux-v5.4/arch/s390/include/asm/
Dpci.h99 struct zpci_dev { struct
163 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
175 int zpci_create_device(struct zpci_dev *);
176 void zpci_remove_device(struct zpci_dev *zdev);
177 int zpci_enable_device(struct zpci_dev *);
178 int zpci_disable_device(struct zpci_dev *);
179 int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64);
180 int zpci_unregister_ioat(struct zpci_dev *, u8);
188 int clp_enable_fh(struct zpci_dev *, u8);
189 int clp_disable_fh(struct zpci_dev *);
[all …]
Dpci_dma.h196 int zpci_dma_init_device(struct zpci_dev *);
197 void zpci_dma_exit_device(struct zpci_dev *);
/Linux-v5.4/arch/s390/pci/
Dpci.c58 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
60 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
75 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices()
92 static struct zpci_dev *get_zdev_by_bus(struct pci_bus *bus) in get_zdev_by_bus()
94 return (bus && bus->sysdata) ? (struct zpci_dev *) bus->sysdata : NULL; in get_zdev_by_bus()
99 return ((struct zpci_dev *) bus->sysdata)->domain; in pci_domain_nr()
110 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
125 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
138 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
167 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
[all …]
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()
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_sysfs.c22 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
43 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show()
53 struct zpci_dev *zdev = to_zpci(pdev); in recover_store()
86 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read()
100 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write()
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_clp.c97 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp()
116 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp()
143 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn()
177 static int clp_query_pci_fn(struct zpci_dev *zdev, u32 fh) in clp_query_pci_fn()
210 struct zpci_dev *zdev; in clp_add_pci_device()
283 int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as) in clp_enable_fh()
304 int clp_disable_fh(struct zpci_dev *zdev) in clp_disable_fh()
360 struct zpci_dev *zdev; in __clp_add()
372 struct zpci_dev *zdev; in __clp_update()
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()
319 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs()
Dpci_event.c49 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
76 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
/Linux-v5.4/drivers/iommu/
Ds390-iommu.c34 struct zpci_dev *zdev;
90 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_attach_device()
142 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_detach_device()
172 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_add_device()
185 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_remove_device()
337 int zpci_init_iommu(struct zpci_dev *zdev) in zpci_init_iommu()
361 void zpci_destroy_iommu(struct zpci_dev *zdev) in zpci_destroy_iommu()
/Linux-v5.4/drivers/pci/hotplug/
Ds390_pci_hpc.c36 struct zpci_dev *zdev;
145 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
176 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
/Linux-v5.4/drivers/s390/net/
Dism.h214 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_read_cmd()
228 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_write_cmd()
238 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_move()
/Linux-v5.4/arch/s390/net/
Dpnet.c57 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in pnet_ids_by_device()