Searched refs:zbus (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/arch/s390/pci/ |
| H A D | pci_bus.c | 102 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local 234 kfree(zbus); in zpci_bus_release() 255 zbus = NULL; in zpci_bus_get() 258 return zbus; in zpci_bus_get() 265 zbus = kzalloc(sizeof(*zbus), GFP_KERNEL); in zpci_bus_alloc() 266 if (!zbus) in zpci_bus_alloc() 284 return zbus; in zpci_bus_alloc() 339 zdev->zbus = zbus; in zpci_bus_add_device() 389 if (zbus && zpci_bus_is_isolated_vf(zbus, zdev)) { in zpci_bus_device_register() 396 if (!zbus) in zpci_bus_device_register() [all …]
|
| H A D | pci_iov.c | 77 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()
|
| H A D | pci_iov.h | 20 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
|
| H A D | pci_bus.h | 17 int zpci_bus_scan_bus(struct zpci_bus *zbus); 42 struct zpci_bus *zbus = bus->sysdata; in zdev_from_bus() local 44 return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn]; in zdev_from_bus()
|
| H A D | pci_report.c | 115 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()
|
| H A D | pci_event.c | 285 if (zdev->zbus->bus) in __zpci_event_error() 286 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error()
|
| H A D | pci_sysfs.c | 117 pci_rescan_bus(zdev->zbus->bus); in recover_store()
|
| H A D | pci.c | 574 pci_bus_remove_resource(zdev->zbus->bus, res); in zpci_cleanup_bus_resources() 905 if (zdev->zbus->bus) in zpci_deconfigure_device() 952 if (zdev->zbus->bus) in zpci_release_device()
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | s390_pci_hpc.c | 60 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in disable_slot() 130 struct zpci_bus *zbus = zdev->zbus; in zpci_init_slot() local 135 return pci_hp_register(&zdev->hotplug_slot, zbus->bus, in zpci_init_slot()
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | pci.h | 121 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()
|