Lines Matching refs:hotplug_slot
23 static int enable_slot(struct hotplug_slot *hotplug_slot)
25 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
26 hotplug_slot);
47 static int disable_slot(struct hotplug_slot *hotplug_slot)
49 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
50 hotplug_slot);
75 static int reset_slot(struct hotplug_slot *hotplug_slot, bool probe)
77 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
78 hotplug_slot);
104 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
106 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev,
107 hotplug_slot);
113 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
133 zdev->hotplug_slot.ops = &s390_hotplug_slot_ops;
136 return pci_hp_register(&zdev->hotplug_slot, zbus->bus,
142 pci_hp_deregister(&zdev->hotplug_slot);