Lines Matching refs:sprintf
104 return sprintf(buf, "%s\n", in control_show()
136 ret = sprintf(buf, "%i\n", jiffies_to_msecs(dev->power.active_jiffies)); in rtpm_active_time_show()
149 ret = sprintf(buf, "%i\n", in rtpm_suspended_time_show()
184 return sprintf(buf, p); in rtpm_status_show()
194 return sprintf(buf, "%d\n", dev->power.autosuspend_delay); in autosuspend_delay_ms_show()
221 return sprintf(buf, "%d\n", dev_pm_qos_requested_resume_latency(dev)); in pm_qos_resume_latency_show()
252 return sprintf(buf, "auto\n"); in pm_qos_latency_tolerance_show()
254 return sprintf(buf, "any\n"); in pm_qos_latency_tolerance_show()
256 return sprintf(buf, "%d\n", value); in pm_qos_latency_tolerance_show()
283 return sprintf(buf, "%d\n", !!(dev_pm_qos_requested_flags(dev) in pm_qos_no_power_off_show()
310 return sprintf(buf, "%d\n", !!(dev_pm_qos_requested_flags(dev) in pm_qos_remote_wakeup_show()
340 return sprintf(buf, "%s\n", device_can_wakeup(dev) in wake_show()
383 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_count_show()
400 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_active_count_show()
418 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_abort_count_show()
436 return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n"); in wakeup_expire_count_show()
453 return enabled ? sprintf(buf, "%u\n", active) : sprintf(buf, "\n"); in wakeup_active_show()
470 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_total_time_show()
487 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_max_time_show()
504 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_last_time_show()
523 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_prevent_sleep_time_show()
535 return sprintf(buf, "%d\n", atomic_read(&dev->power.usage_count)); in rtpm_usagecount_show()
541 return sprintf(buf, "%d\n", dev->power.ignore_children ? in rtpm_children_show()
549 return sprintf(buf, "disabled & forbidden\n"); in rtpm_enabled_show()
551 return sprintf(buf, "disabled\n"); in rtpm_enabled_show()
553 return sprintf(buf, "forbidden\n"); in rtpm_enabled_show()
554 return sprintf(buf, "enabled\n"); in rtpm_enabled_show()
565 return sprintf(buf, "%s\n", in async_show()