Searched refs:zbus (Results 1 – 8 of 8) sorted by relevance
/arch/s390/pci/ |
D | pci_bus.c | 61 pci_bus_add_resource(zdev->zbus->bus, zdev->bars[i].res, 0); in zpci_bus_prepare_device() 84 pdev = pci_scan_single_device(zdev->zbus->bus, zdev->devfn); in zpci_bus_scan_device() 90 pci_bus_add_devices(zdev->zbus->bus); in zpci_bus_scan_device() 107 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local 110 if (!zdev->zbus->bus) in zpci_bus_remove_device() 113 pdev = pci_get_slot(zbus->bus, zdev->devfn); in zpci_bus_remove_device() 141 int zpci_bus_scan_bus(struct zpci_bus *zbus) in zpci_bus_scan_bus() argument 146 if (!zbus->function[0]) in zpci_bus_scan_bus() 150 zdev = zbus->function[devfn]; in zpci_bus_scan_bus() 159 pci_scan_child_bus(zbus->bus); in zpci_bus_scan_bus() [all …]
|
D | pci_iov.c | 63 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument 71 if (!zbus->multifunction) in zpci_iov_setup_virtfn() 82 zdev = zbus->function[i]; in zpci_iov_setup_virtfn() 84 pdev = pci_get_slot(zbus->bus, zdev->devfn); in zpci_iov_setup_virtfn()
|
D | pci_bus.h | 13 int zpci_bus_scan_bus(struct zpci_bus *zbus); 38 struct zpci_bus *zbus = bus->sysdata; in get_zdev_by_bus() local 40 return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn]; in get_zdev_by_bus()
|
D | pci_iov.h | 18 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn); 25 static inline int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
|
D | pci.c | 560 pci_bus_remove_resource(zdev->zbus->bus, res); in zpci_cleanup_bus_resources() 786 if (!zdev->zbus->bus) in zpci_scan_configured_device() 793 if (zdev->devfn == 0 && zdev->zbus->multifunction) in zpci_scan_configured_device() 794 rc = zpci_bus_scan_bus(zdev->zbus); in zpci_scan_configured_device() 815 if (zdev->zbus->bus) in zpci_deconfigure_device() 868 if (zdev->zbus->bus) in zpci_release_device()
|
D | pci_event.c | 59 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error()
|
D | pci_sysfs.c | 105 pci_rescan_bus(zdev->zbus->bus); in recover_store()
|
/arch/s390/include/asm/ |
D | pci.h | 117 struct zpci_bus *zbus; member 262 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local 264 return zbus->function[pdev->devfn]; in to_zpci()
|