Lines Matching full:enabled
26 bool enabled; member
45 if (data->enabled) in state_show()
46 return sprintf(buf, "enabled\n"); in state_show()
55 bool enabled; in state_store() local
62 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) in state_store()
63 enabled = true; in state_store()
65 enabled = false; in state_store()
72 if (enabled != data->enabled) { in state_store()
73 if (enabled) in state_store()
81 data->enabled = enabled; in state_store()
146 drvdata->enabled = pdata->init_on; in regulator_userspace_consumer_probe()
163 if (data->enabled) in regulator_userspace_consumer_remove()