Home
last modified time | relevance | path

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

/linux/arch/s390/pci/
A Dpci_bus.c101 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local
227 kfree(zbus); in zpci_bus_release()
246 zbus = NULL; in zpci_bus_get()
249 return zbus; in zpci_bus_get()
256 zbus = kzalloc(sizeof(*zbus), GFP_KERNEL); in zpci_bus_alloc()
257 if (!zbus) in zpci_bus_alloc()
274 return zbus; in zpci_bus_alloc()
300 zdev->zbus = zbus; in zpci_bus_add_device()
339 if (!zbus) { in zpci_bus_device_register()
341 if (!zbus) in zpci_bus_device_register()
[all …]
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()
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()
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
A Dpci_event.c272 if (zdev->zbus->bus) in __zpci_event_error()
273 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error()
A Dpci.c570 pci_bus_remove_resource(zdev->zbus->bus, res); in zpci_cleanup_bus_resources()
873 if (zdev->zbus->bus) in zpci_deconfigure_device()
922 if (zdev->zbus->bus) in zpci_release_device()
A Dpci_sysfs.c125 pci_rescan_bus(zdev->zbus->bus); in recover_store()
/linux/drivers/pci/hotplug/
A Ds390_pci_hpc.c60 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in disable_slot()
131 struct zpci_bus *zbus = zdev->zbus; in zpci_init_slot() local
136 return pci_hp_register(&zdev->hotplug_slot, zbus->bus, in zpci_init_slot()
/linux/arch/s390/include/asm/
A Dpci.h118 struct zpci_bus *zbus; member
271 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local
273 return zbus->function[pdev->devfn]; in to_zpci()

Completed in 16 milliseconds