Searched refs:zbus (Results 1 – 8 of 8) sorted by relevance
/arch/s390/pci/ |
D | pci_bus.c | 41 static int zpci_bus_scan(struct zpci_bus *zbus, int domain, struct pci_ops *ops) in zpci_bus_scan() argument 49 zbus->domain_nr = rc; in zpci_bus_scan() 51 bus = pci_scan_root_bus(NULL, ZPCI_BUS_NR, ops, zbus, &zbus->resources); in zpci_bus_scan() 53 zpci_free_domain(zbus->domain_nr); in zpci_bus_scan() 57 zbus->bus = bus; in zpci_bus_scan() 64 struct zpci_bus *zbus = container_of(kref, struct zpci_bus, kref); in zpci_bus_release() local 66 if (zbus->bus) { in zpci_bus_release() 68 pci_stop_root_bus(zbus->bus); in zpci_bus_release() 70 zpci_free_domain(zbus->domain_nr); in zpci_bus_release() 71 pci_free_resource_list(&zbus->resources); in zpci_bus_release() [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_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_event.c | 58 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error() 105 if (!zdev->zbus->bus) in __zpci_event_availability() 108 pdev = pci_scan_single_device(zdev->zbus->bus, zdev->devfn); in __zpci_event_availability() 114 pci_bus_add_devices(zdev->zbus->bus); in __zpci_event_availability()
|
D | pci_bus.h | 33 struct zpci_bus *zbus = bus->sysdata; in get_zdev_by_bus() local 35 return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn]; in get_zdev_by_bus()
|
D | pci.c | 704 struct zpci_bus *zbus = zdev->zbus; in zpci_remove_device() local 707 if (!zdev->zbus->bus) in zpci_remove_device() 710 pdev = pci_get_slot(zbus->bus, zdev->devfn); in zpci_remove_device() 828 if (zdev->zbus->bus) in zpci_release_device()
|
D | pci_sysfs.c | 92 pci_rescan_bus(zdev->zbus->bus); in recover_store()
|
/arch/s390/include/asm/ |
D | pci.h | 118 struct zpci_bus *zbus; member 259 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local 261 return zbus->function[pdev->devfn]; in to_zpci()
|