Lines Matching refs:val
92 int pm_notifier_call_chain(unsigned long val) in pm_notifier_call_chain() argument
94 return blocking_notifier_call_chain(&pm_chain_head, val, NULL); in pm_notifier_call_chain()
109 unsigned long val; in pm_async_store() local
111 if (kstrtoul(buf, 10, &val)) in pm_async_store()
114 if (val > 1) in pm_async_store()
117 pm_async_enabled = val; in pm_async_store()
212 unsigned long val; in sync_on_suspend_store() local
214 if (kstrtoul(buf, 10, &val)) in sync_on_suspend_store()
217 if (val > 1) in sync_on_suspend_store()
220 sync_on_suspend_enabled = !!val; in sync_on_suspend_store()
484 unsigned long val; in pm_print_times_store() local
486 if (kstrtoul(buf, 10, &val)) in pm_print_times_store()
489 if (val > 1) in pm_print_times_store()
492 pm_print_times_enabled = !!val; in pm_print_times_store()
527 unsigned long val; in pm_debug_messages_store() local
529 if (kstrtoul(buf, 10, &val)) in pm_debug_messages_store()
532 if (val > 1) in pm_debug_messages_store()
535 pm_debug_messages_on = !!val; in pm_debug_messages_store()
708 unsigned int val; in wakeup_count_show() local
710 return pm_get_wakeup_count(&val, true) ? in wakeup_count_show()
711 sprintf(buf, "%u\n", val) : -EINTR; in wakeup_count_show()
718 unsigned int val; in wakeup_count_store() local
731 if (sscanf(buf, "%u", &val) == 1) { in wakeup_count_store()
732 if (pm_save_wakeup_count(val)) in wakeup_count_store()
839 int val; in pm_trace_store() local
841 if (sscanf(buf, "%d", &val) == 1) { in pm_trace_store()
842 pm_trace_enabled = !!val; in pm_trace_store()
876 unsigned long val; in pm_freeze_timeout_store() local
878 if (kstrtoul(buf, 10, &val)) in pm_freeze_timeout_store()
881 freeze_timeout_msecs = val; in pm_freeze_timeout_store()