• Home
  • Raw
  • Download

Lines Matching refs:hotplug_slot

36 	struct hotplug_slot *hotplug_slot;  member
62 static int enable_slot(struct hotplug_slot *hotplug_slot) in enable_slot() argument
64 struct slot *slot = hotplug_slot->private; in enable_slot()
90 static int disable_slot(struct hotplug_slot *hotplug_slot) in disable_slot() argument
92 struct slot *slot = hotplug_slot->private; in disable_slot()
112 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() argument
114 struct slot *slot = hotplug_slot->private; in get_power_status()
127 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_adapter_status() argument
134 static void release_slot(struct hotplug_slot *hotplug_slot) in release_slot() argument
136 struct slot *slot = hotplug_slot->private; in release_slot()
138 kfree(slot->hotplug_slot->info); in release_slot()
139 kfree(slot->hotplug_slot); in release_slot()
152 struct hotplug_slot *hotplug_slot; in zpci_init_slot() local
165 hotplug_slot = kzalloc(sizeof(*hotplug_slot), GFP_KERNEL); in zpci_init_slot()
166 if (!hotplug_slot) in zpci_init_slot()
168 hotplug_slot->private = slot; in zpci_init_slot()
170 slot->hotplug_slot = hotplug_slot; in zpci_init_slot()
176 hotplug_slot->info = info; in zpci_init_slot()
178 hotplug_slot->ops = &s390_hotplug_slot_ops; in zpci_init_slot()
179 hotplug_slot->release = &release_slot; in zpci_init_slot()
181 get_power_status(hotplug_slot, &info->power_status); in zpci_init_slot()
182 get_adapter_status(hotplug_slot, &info->adapter_status); in zpci_init_slot()
185 rc = pci_hp_register(slot->hotplug_slot, zdev->bus, in zpci_init_slot()
196 kfree(hotplug_slot); in zpci_init_slot()
212 pci_hp_deregister(slot->hotplug_slot); in zpci_exit_slot()