Home
last modified time | relevance | path

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

/openbmc/linux/arch/s390/pci/
H A Dpci_bus.c106 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local
232 kfree(zbus); in zpci_bus_release()
251 zbus = NULL; in zpci_bus_get()
254 return zbus; in zpci_bus_get()
261 zbus = kzalloc(sizeof(*zbus), GFP_KERNEL); in zpci_bus_alloc()
262 if (!zbus) in zpci_bus_alloc()
279 return zbus; in zpci_bus_alloc()
305 zdev->zbus = zbus; in zpci_bus_add_device()
344 if (!zbus) { in zpci_bus_device_register()
346 if (!zbus) in zpci_bus_device_register()
[all …]
H A 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()
H A 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()
H A 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
H A 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()
H A Dpci_sysfs.c113 pci_rescan_bus(zdev->zbus->bus); in recover_store()
H A 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()
/openbmc/linux/drivers/pci/hotplug/
H A 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()
/openbmc/linux/arch/s390/include/asm/
H A 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()