Lines Matching refs:hotplug
964 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
966 return sprintf(buf, "%d\n", hotplug->enabled);
973 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
979 acpi_scan_hotplug_enabled(hotplug, val);
997 void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug,
1005 error = kobject_init_and_add(&hotplug->kobj,
1008 kobject_put(&hotplug->kobj);
1012 kobject_uevent(&hotplug->kobj, KOBJ_ADD);
1016 pr_err(PREFIX "Unable to add hotplug profile '%s'\n", name);
1055 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj);