Lines Matching refs:hotplug
947 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
949 return sprintf(buf, "%d\n", hotplug->enabled);
955 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
961 acpi_scan_hotplug_enabled(hotplug, val);
978 void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug,
986 error = kobject_init_and_add(&hotplug->kobj,
989 kobject_put(&hotplug->kobj);
993 kobject_uevent(&hotplug->kobj, KOBJ_ADD);
997 pr_err("Unable to add hotplug profile '%s'\n", name);
1034 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj);