Home
last modified time | relevance | path

Searched defs:zdev (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-6.6/arch/s390/pci/
Dpci.c72 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid() local
88 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices() local
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()
273 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh() local
292 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_mio() local
[all …]
Dpci_bus.c42 static int zpci_bus_prepare_device(struct zpci_dev *zdev) in zpci_bus_prepare_device()
75 int zpci_bus_scan_device(struct zpci_dev *zdev) in zpci_bus_scan_device()
104 void zpci_bus_remove_device(struct zpci_dev *zdev, bool set_error) in zpci_bus_remove_device()
139 struct zpci_dev *zdev; in zpci_bus_scan_bus() local
284 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device() local
296 static int zpci_bus_add_device(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_bus_add_device()
327 int zpci_bus_device_register(struct zpci_dev *zdev, struct pci_ops *ops) in zpci_bus_device_register()
372 void zpci_bus_device_unregister(struct zpci_dev *zdev) in zpci_bus_device_unregister()
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()
271 static int __alloc_airq(struct zpci_dev *zdev, int msi_vecs, in __alloc_airq()
302 struct zpci_dev *zdev = to_zpci(pdev); in arch_setup_msi_irqs() local
390 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs() local
428 struct zpci_dev *zdev = to_zpci(pdev); in arch_restore_msi_irqs() local
Dpci_dma.c24 static int zpci_refresh_global(struct zpci_dev *zdev) in zpci_refresh_global()
159 static int __dma_update_trans(struct zpci_dev *zdev, phys_addr_t pa, in __dma_update_trans()
201 static int __dma_purge_tlb(struct zpci_dev *zdev, dma_addr_t dma_addr, in __dma_purge_tlb()
240 static int dma_update_trans(struct zpci_dev *zdev, phys_addr_t pa, in dma_update_trans()
285 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in __dma_alloc_iommu() local
295 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_alloc_address() local
327 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_free_address() local
360 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_map_pages() local
400 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_unmap_pages() local
421 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_alloc() local
[all …]
Dpci_debug.c72 struct zpci_dev *zdev = m->private; in pci_sw_counter_show() local
83 struct zpci_dev *zdev = m->private; in pci_perf_show() local
134 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write() local
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.c46 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() local
57 struct zpci_dev *zdev = to_zpci(pdev); in recover_store() local
129 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read() local
143 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write() local
167 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show() local
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() local
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() local
257 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error() local
304 static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) in zpci_event_hard_deconfigured()
323 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability() local
Dpci_bus.h20 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()
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci.c66 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid() local
82 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices() local
112 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
127 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
140 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
169 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
190 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load()
206 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store()
294 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh() local
313 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_mio() local
[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() local
273 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_alloc_address() local
305 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in dma_free_address() local
338 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_map_pages() local
378 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_unmap_pages() local
399 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_alloc() local
[all …]
Dpci_debug.c72 struct zpci_dev *zdev = m->private; in pci_sw_counter_show() local
83 struct zpci_dev *zdev = m->private; in pci_perf_show() local
134 struct zpci_dev *zdev = ((struct seq_file *) file->private_data)->private; in pci_perf_seq_write() local
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.c99 static void clp_store_query_pci_fngrp(struct zpci_dev *zdev, in clp_store_query_pci_fngrp()
119 static int clp_query_pci_fngrp(struct zpci_dev *zdev, u8 pfgid) in clp_query_pci_fngrp()
146 static int clp_store_query_pci_fn(struct zpci_dev *zdev, in clp_store_query_pci_fn()
186 int clp_query_pci_fn(struct zpci_dev *zdev) in clp_query_pci_fn()
227 static int clp_set_pci_fn(struct zpci_dev *zdev, u8 nr_dma_as, u8 command) in clp_set_pci_fn()
303 int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as) in clp_enable_fh()
319 int clp_disable_fh(struct zpci_dev *zdev) in clp_disable_fh()
371 struct zpci_dev *zdev; in __clp_add() local
401 struct zpci_dev *zdev; in __clp_refresh_fh() local
Dpci_bus.c132 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_bus_add_device() local
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_sysfs.c46 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() local
57 struct zpci_dev *zdev = to_zpci(pdev); in recover_store() local
108 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read() local
122 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write() local
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() local
328 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs() local
Dpci_bus.h14 static inline void zpci_zdev_put(struct zpci_dev *zdev) in zpci_zdev_put()
20 static inline void zpci_zdev_get(struct zpci_dev *zdev) in zpci_zdev_get()
/kernel/linux/linux-6.6/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() local
146 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_zdev_open_device() local
162 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_zdev_close_device() local
/kernel/linux/linux-5.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() local
83 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in disable_slot() local
109 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status() local
130 int zpci_init_slot(struct zpci_dev *zdev) in zpci_init_slot()
142 void zpci_exit_slot(struct zpci_dev *zdev) in zpci_exit_slot()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
Ds390_pci_hpc.c25 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in enable_slot() local
43 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in disable_slot() local
62 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in reset_slot() local
85 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in get_power_status() local
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()
/kernel/linux/linux-6.6/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() local
518 struct zpci_dev *zdev = opaque; in kvm_s390_pci_unregister_kvm() local
592 struct zpci_dev *zdev = NULL; in get_zdev_from_kvm_by_fh() local
607 static int kvm_s390_pci_zpci_reg_aen(struct zpci_dev *zdev, in kvm_s390_pci_zpci_reg_aen()
[all …]
/kernel/linux/linux-5.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()
95 static int zpci_pfip_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_pfip_cap()
124 struct zpci_dev *zdev = to_zpci(vdev->pdev); in vfio_pci_info_zdev_add_caps() local
/kernel/linux/linux-6.6/drivers/iommu/
Ds390-iommu.c87 static void __s390_iommu_detach_device(struct zpci_dev *zdev) in __s390_iommu_detach_device()
108 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() local
147 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_set_platform_dma() local
156 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_get_resv_regions() local
179 struct zpci_dev *zdev; in s390_iommu_probe_device() local
198 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_release_device() local
211 struct zpci_dev *zdev; in s390_iommu_flush_iotlb_all() local
226 struct zpci_dev *zdev; in s390_iommu_iotlb_sync() local
244 struct zpci_dev *zdev; in s390_iommu_iotlb_sync_map() local
402 int zpci_init_iommu(struct zpci_dev *zdev) in zpci_init_iommu()
[all …]
/kernel/linux/linux-5.10/drivers/iommu/
Ds390-iommu.c34 struct zpci_dev *zdev; member
90 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() local
142 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_detach_device() local
171 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_probe_device() local
178 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_release_device() local
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()
/kernel/linux/linux-6.6/drivers/dma/xilinx/
Dzynqmp_dma.c216 struct zynqmp_dma_device *zdev; member
890 static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev, in zynqmp_dma_chan_probe()
959 struct zynqmp_dma_device *zdev = ofdma->of_dma_data; in of_zynqmp_dma_xlate() local
1003 struct zynqmp_dma_device *zdev = dev_get_drvdata(dev); in zynqmp_dma_runtime_suspend() local
1020 struct zynqmp_dma_device *zdev = dev_get_drvdata(dev); in zynqmp_dma_runtime_resume() local
1053 struct zynqmp_dma_device *zdev; in zynqmp_dma_probe() local
1152 struct zynqmp_dma_device *zdev = platform_get_drvdata(pdev); in zynqmp_dma_remove() local

12