Lines Matching full:enabled
27 bool enabled; member
47 if (data->enabled) in state_show()
48 return sprintf(buf, "enabled\n"); in state_show()
57 bool enabled; in state_store() local
64 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) in state_store()
65 enabled = true; in state_store()
67 enabled = false; in state_store()
74 if (enabled != data->enabled) { in state_store()
75 if (enabled) in state_store()
83 data->enabled = enabled; in state_store()
185 drvdata->enabled = !!ret; in regulator_userspace_consumer_probe()
201 if (data->enabled && !data->no_autoswitch) in regulator_userspace_consumer_remove()