Home
last modified time | relevance | path

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

/arch/s390/include/asm/
Dpci.h69 struct zpci_dev { struct
124 static inline bool zdev_enabled(struct zpci_dev *zdev) in zdev_enabled() argument
135 int zpci_create_device(struct zpci_dev *);
136 int zpci_enable_device(struct zpci_dev *);
137 int zpci_disable_device(struct zpci_dev *);
138 void zpci_stop_device(struct zpci_dev *);
139 int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64);
140 int zpci_unregister_ioat(struct zpci_dev *, u8);
147 int clp_enable_fh(struct zpci_dev *, u8);
148 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 *);
/arch/s390/pci/
Dpci.c79 struct zpci_dev *get_zdev(struct pci_dev *pdev) in get_zdev()
81 return (struct zpci_dev *) pdev->sysdata; in get_zdev()
84 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
86 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
99 static struct zpci_dev *get_zdev_by_bus(struct pci_bus *bus) in get_zdev_by_bus()
101 return (bus && bus->sysdata) ? (struct zpci_dev *) bus->sysdata : NULL; in get_zdev_by_bus()
106 return ((struct zpci_dev *) bus->sysdata)->domain; in pci_domain_nr()
117 static int zpci_set_airq(struct zpci_dev *zdev) in zpci_set_airq()
140 static int mod_pci(struct zpci_dev *zdev, int fn, u8 dmaas, struct mod_pci_args *args) in mod_pci()
154 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
[all …]
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()
87 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write()
127 void zpci_debug_init_device(struct zpci_dev *zdev) in zpci_debug_init_device()
142 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()
117 static void dma_update_cpu_trans(struct zpci_dev *zdev, void *page_addr, in dma_update_cpu_trans()
142 static int dma_update_trans(struct zpci_dev *zdev, unsigned long pa, in dma_update_trans()
196 static void dma_cleanup_tables(struct zpci_dev *zdev) in dma_cleanup_tables()
213 static unsigned long __dma_alloc_iommu(struct zpci_dev *zdev, in __dma_alloc_iommu()
224 static unsigned long dma_alloc_iommu(struct zpci_dev *zdev, int size) in dma_alloc_iommu()
247 static void dma_free_iommu(struct zpci_dev *zdev, unsigned long offset, int size) in dma_free_iommu()
280 struct zpci_dev *zdev = get_zdev(to_pci_dev(dev)); in s390_dma_map_pages()
319 struct zpci_dev *zdev = get_zdev(to_pci_dev(dev)); in s390_dma_unmap_pages()
340 struct zpci_dev *zdev = get_zdev(to_pci_dev(dev)); in s390_dma_alloc()
[all …]
Dpci_clp.c59 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp()
77 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp()
104 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn()
130 static int clp_query_pci_fn(struct zpci_dev *zdev, u32 fh) in clp_query_pci_fn()
164 struct zpci_dev *zdev; in clp_add_pci_device()
236 int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as) in clp_enable_fh()
250 int clp_disable_fh(struct zpci_dev *zdev) in clp_disable_fh()
314 struct zpci_dev *zdev; in __clp_rescan()
337 struct zpci_dev *zdev; in __clp_update()
Dpci_sysfs.c19 struct zpci_dev *zdev = get_zdev(to_pci_dev(dev)); \
41 struct zpci_dev *zdev = get_zdev(pdev); in recover_store()
67 struct zpci_dev *zdev = get_zdev(pdev); in util_string_read()
Dpci_event.c48 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
68 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()