Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/pci/
Dpci_bus.c60 zpci_setup_bus_resources(zdev, &zdev->zbus->resources); in zpci_bus_prepare_device()
61 resource_list_for_each_entry_safe(window, n, &zdev->zbus->resources) { in zpci_bus_prepare_device()
63 pci_bus_add_resource(zdev->zbus->bus, res, 0); in zpci_bus_prepare_device()
86 pdev = pci_scan_single_device(zdev->zbus->bus, zdev->devfn); in zpci_bus_scan_device()
92 pci_bus_add_devices(zdev->zbus->bus); in zpci_bus_scan_device()
109 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local
112 if (!zdev->zbus->bus) in zpci_bus_remove_device()
115 pdev = pci_get_slot(zbus->bus, zdev->devfn); in zpci_bus_remove_device()
143 int zpci_bus_scan_bus(struct zpci_bus *zbus) in zpci_bus_scan_bus() argument
149 zdev = zbus->function[devfn]; in zpci_bus_scan_bus()
[all …]
Dpci_iov.c63 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()
Dpci_bus.h13 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()
Dpci_iov.h18 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
Dpci_event.c264 if (zdev->zbus->bus) in __zpci_event_error()
265 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error()
Dpci.c885 if (!zdev->zbus->bus) in zpci_scan_configured_device()
892 if (zdev->devfn == 0 && zdev->zbus->multifunction) in zpci_scan_configured_device()
893 rc = zpci_bus_scan_bus(zdev->zbus); in zpci_scan_configured_device()
914 if (zdev->zbus->bus) in zpci_deconfigure_device()
967 if (zdev->zbus->bus) in zpci_release_device()
Dpci_sysfs.c113 pci_rescan_bus(zdev->zbus->bus); in recover_store()
/linux-6.1.9/drivers/pci/hotplug/
Ds390_pci_hpc.c50 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in disable_slot()
110 struct zpci_bus *zbus = zdev->zbus; in zpci_init_slot() local
115 return pci_hp_register(&zdev->hotplug_slot, zbus->bus, in zpci_init_slot()
/linux-6.1.9/arch/s390/include/asm/
Dpci.h118 struct zpci_bus *zbus; member
273 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local
275 return zbus->function[pdev->devfn]; in to_zpci()