Home
last modified time | relevance | path

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

/linux/arch/s390/pci/
A Dpci_bus.c109 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_remove_device() local
242 kfree(zbus); in zpci_bus_release()
261 zbus = NULL; in zpci_bus_get()
264 return zbus; in zpci_bus_get()
271 zbus = kzalloc(sizeof(*zbus), GFP_KERNEL); in zpci_bus_alloc()
272 if (!zbus) in zpci_bus_alloc()
289 return zbus; in zpci_bus_alloc()
318 struct zpci_bus *zbus = zdev->zbus; in zpci_bus_create_hotplug_slots() local
355 zdev->zbus = zbus; in zpci_bus_add_device()
399 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 get_zdev_by_bus() local
40 return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn]; in get_zdev_by_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.c264 if (zdev->zbus->bus) in __zpci_event_error()
265 pdev = pci_get_slot(zdev->zbus->bus, zdev->devfn); in __zpci_event_error()
A Dpci.c868 if (!zdev->zbus->bus) in zpci_scan_configured_device()
875 if (zdev->devfn == 0 && zdev->zbus->multifunction) in zpci_scan_configured_device()
876 rc = zpci_bus_scan_bus(zdev->zbus); in zpci_scan_configured_device()
897 if (zdev->zbus->bus) in zpci_deconfigure_device()
950 if (zdev->zbus->bus) in zpci_release_device()
A Dpci_sysfs.c113 pci_rescan_bus(zdev->zbus->bus); in recover_store()
/linux/drivers/pci/hotplug/
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()
/linux/arch/s390/include/asm/
A Dpci.h117 struct zpci_bus *zbus; member
264 struct zpci_bus *zbus = pdev->sysdata; in to_zpci() local
266 return zbus->function[pdev->devfn]; in to_zpci()

Completed in 14 milliseconds