Home
last modified time | relevance | path

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

/Linux-v6.6/arch/s390/pci/
Dpci_bus.c61 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()
106 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local
109 if (!zdev->zbus->bus) in zpci_bus_remove_device()
112 pdev = pci_get_slot(zbus->bus, zdev->devfn); in zpci_bus_remove_device()
137 int zpci_bus_scan_bus(struct zpci_bus *zbus) in zpci_bus_scan_bus() argument
143 zdev = zbus->function[devfn]; in zpci_bus_scan_bus()
152 pci_scan_child_bus(zbus->bus); in zpci_bus_scan_bus()
153 pci_bus_add_devices(zbus->bus); in zpci_bus_scan_bus()
166 struct zpci_bus *zbus = NULL; in zpci_bus_scan_busses() local
[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);
38 struct zpci_bus *zbus = bus->sysdata; in zdev_from_bus() local
40 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_sysfs.c113 pci_rescan_bus(zdev->zbus->bus); in recover_store()
Dpci.c564 pci_bus_remove_resource(zdev->zbus->bus, res); in zpci_cleanup_bus_resources()
865 if (zdev->zbus->bus) in zpci_deconfigure_device()
918 if (zdev->zbus->bus) in zpci_release_device()
/Linux-v6.6/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-v6.6/arch/s390/include/asm/
Dpci.h118 struct zpci_bus *zbus; member
274 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local
276 return zbus->function[pdev->devfn]; in to_zpci()