Lines Matching defs:hotplug
951 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
953 return sysfs_emit(buf, "%d\n", hotplug->enabled);
959 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
965 acpi_scan_hotplug_enabled(hotplug, val);
982 void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug,
990 error = kobject_init_and_add(&hotplug->kobj,
993 kobject_put(&hotplug->kobj);
997 kobject_uevent(&hotplug->kobj, KOBJ_ADD);
1001 pr_err("Unable to add hotplug profile '%s'\n", name);
1038 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj);