Home
last modified time | relevance | path

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

/linux-4.4.14/arch/s390/include/asm/
Dpci.h69 struct zpci_dev { struct
128 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
139 int zpci_create_device(struct zpci_dev *);
140 int zpci_enable_device(struct zpci_dev *);
141 int zpci_disable_device(struct zpci_dev *);
142 void zpci_stop_device(struct zpci_dev *);
143 int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64);
144 int zpci_unregister_ioat(struct zpci_dev *, u8);
151 int clp_enable_fh(struct zpci_dev *, u8);
152 int clp_disable_fh(struct zpci_dev *);
[all …]
Dpci_dma.h193 int zpci_dma_init_device(struct zpci_dev *);
194 void zpci_dma_exit_device(struct zpci_dev *);
/linux-4.4.14/arch/s390/pci/
Dpci.c79 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
81 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
94 static struct zpci_dev *get_zdev_by_bus(struct pci_bus *bus) in get_zdev_by_bus()
96 return (bus && bus->sysdata) ? (struct zpci_dev *) bus->sysdata : NULL; in get_zdev_by_bus()
101 return ((struct zpci_dev *) bus->sysdata)->domain; in pci_domain_nr()
112 static int zpci_set_airq(struct zpci_dev *zdev) in zpci_set_airq()
135 static int mod_pci(struct zpci_dev *zdev, int fn, u8 dmaas, struct mod_pci_args *args) in mod_pci()
149 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
160 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
168 static int zpci_clear_airq(struct zpci_dev *zdev) in zpci_clear_airq()
[all …]
Dpci_clp.c59 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp()
78 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp()
105 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn()
131 static int clp_query_pci_fn(struct zpci_dev *zdev, u32 fh) in clp_query_pci_fn()
165 struct zpci_dev *zdev; in clp_add_pci_device()
237 int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as) in clp_enable_fh()
251 int clp_disable_fh(struct zpci_dev *zdev) in clp_disable_fh()
315 struct zpci_dev *zdev; in __clp_rescan()
338 struct zpci_dev *zdev; in __clp_update()
Dpci_debug.c44 struct zpci_dev *zdev = m->private; in pci_sw_counter_show()
55 struct zpci_dev *zdev = m->private; in pci_perf_show()
93 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write()
131 void zpci_debug_init_device(struct zpci_dev *zdev) in zpci_debug_init_device()
146 void zpci_debug_exit_device(struct zpci_dev *zdev) in zpci_debug_exit_device()
Dpci_dma.c21 static int zpci_refresh_global(struct zpci_dev *zdev) in zpci_refresh_global()
132 static int dma_update_trans(struct zpci_dev *zdev, unsigned long pa, in dma_update_trans()
220 static unsigned long __dma_alloc_iommu(struct zpci_dev *zdev, in __dma_alloc_iommu()
231 static unsigned long dma_alloc_iommu(struct zpci_dev *zdev, int size) in dma_alloc_iommu()
254 static void dma_free_iommu(struct zpci_dev *zdev, unsigned long offset, int size) in dma_free_iommu()
287 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_map_pages()
333 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_unmap_pages()
356 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_alloc()
386 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_free()
441 int zpci_dma_init_device(struct zpci_dev *zdev) in zpci_dma_init_device()
[all …]
Dpci_sysfs.c19 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
41 struct zpci_dev *zdev = to_zpci(pdev); in recover_store()
74 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read()
Dpci_event.c48 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
66 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
/linux-4.4.14/drivers/pci/hotplug/
Ds390_pci_hpc.c40 struct zpci_dev *zdev;
149 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
202 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
/linux-4.4.14/drivers/iommu/
Ds390-iommu.c32 struct zpci_dev *zdev;
88 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_attach_device()
141 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_detach_device()
188 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_remove_device()