Home
last modified time | relevance | path

Searched refs:zbus (Results 1 – 9 of 9) sorted by relevance

/arch/s390/pci/
A Dpci_bus.c101 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local
233 kfree(zbus); in zpci_bus_release()
254 zbus = NULL; in zpci_bus_get()
257 return zbus; in zpci_bus_get()
264 zbus = kzalloc(sizeof(*zbus), GFP_KERNEL); in zpci_bus_alloc()
265 if (!zbus) in zpci_bus_alloc()
281 pci_add_resource(&zbus->resources, &zbus->bus_resource); in zpci_bus_alloc()
338 zdev->zbus = zbus; in zpci_bus_add_device()
388 if (zbus && zpci_bus_is_isolated_vf(zbus, zdev)) { in zpci_bus_device_register()
395 if (!zbus) in zpci_bus_device_register()
[all …]
A Dpci_iov.h20 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn);
22 struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev);
29 static inline int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
34 static inline struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_iov_find_parent_pf() argument
A Dpci_iov.c77 struct pci_dev *zpci_iov_find_parent_pf(struct zpci_bus *zbus, struct zpci_dev *zdev) in zpci_iov_find_parent_pf() argument
82 if (!zbus->multifunction) in zpci_iov_find_parent_pf()
99 zdev = zbus->function[i]; in zpci_iov_find_parent_pf()
101 pdev = pci_get_slot(zbus->bus, zdev->devfn); in zpci_iov_find_parent_pf()
114 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
120 pdev_pf = zpci_iov_find_parent_pf(zbus, zdev); in zpci_iov_setup_virtfn()
A Dpci_bus.h17 int zpci_bus_scan_bus(struct zpci_bus *zbus);
39 struct zpci_bus *zbus = bus->sysdata; in zdev_from_bus() local
41 return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn]; in zdev_from_bus()
A Dpci_report.c115 if (!zdev || !zdev->zbus) in zpci_report_status()
125 if (zdev->zbus->bus) in zpci_report_status()
126 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in zpci_report_status()
A Dpci_event.c314 if (zdev->zbus->bus) in __zpci_event_error()
315 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error()
A Dpci_sysfs.c117 pci_rescan_bus(zdev->zbus->bus); in recover_store()
A Dpci.c584 pci_bus_remove_resource(zdev->zbus->bus, res); in zpci_cleanup_bus_resources()
918 if (zdev->zbus->bus) in zpci_deconfigure_device()
/arch/s390/include/asm/
A Dpci.h121 struct zpci_bus *zbus; member
283 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local
285 return zbus->function[pdev->devfn]; in to_zpci()

Completed in 14 milliseconds