Lines Matching full:enabled
36 * + "enabled\n" to issue the events;
65 * state transitions can be enabled by writing "enabled" to this file.
71 * + "enabled\n" to permit the asynchronous suspend/resume of the device;
77 * attribute is set to "enabled" by bus type code or device drivers and in
320 static const char _enabled[] = "enabled";
352 bool enabled = false; in wakeup_count_show() local
357 enabled = true; in wakeup_count_show()
360 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_count_show()
370 bool enabled = false; in wakeup_active_count_show() local
375 enabled = true; in wakeup_active_count_show()
378 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_active_count_show()
388 bool enabled = false; in wakeup_abort_count_show() local
393 enabled = true; in wakeup_abort_count_show()
396 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_abort_count_show()
406 bool enabled = false; in wakeup_expire_count_show() local
411 enabled = true; in wakeup_expire_count_show()
414 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_expire_count_show()
423 bool enabled = false; in wakeup_active_show() local
428 enabled = true; in wakeup_active_show()
431 return enabled ? sprintf(buf, "%u\n", active) : sprintf(buf, "\n"); in wakeup_active_show()
441 bool enabled = false; in wakeup_total_time_ms_show() local
446 enabled = true; in wakeup_total_time_ms_show()
449 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_total_time_ms_show()
458 bool enabled = false; in wakeup_max_time_ms_show() local
463 enabled = true; in wakeup_max_time_ms_show()
466 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_max_time_ms_show()
476 bool enabled = false; in wakeup_last_time_ms_show() local
481 enabled = true; in wakeup_last_time_ms_show()
484 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_last_time_ms_show()
495 bool enabled = false; in wakeup_prevent_sleep_time_ms_show() local
500 enabled = true; in wakeup_prevent_sleep_time_ms_show()
503 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_prevent_sleep_time_ms_show()
536 return sprintf(buf, "enabled\n"); in runtime_enabled_show()