Lines Matching refs:val

108 int pm_notifier_call_chain(unsigned long val)  in pm_notifier_call_chain()  argument
110 return blocking_notifier_call_chain(&pm_chain_head, val, NULL); in pm_notifier_call_chain()
133 unsigned long val; in pm_async_store() local
135 if (kstrtoul(buf, 10, &val)) in pm_async_store()
138 if (val > 1) in pm_async_store()
141 pm_async_enabled = val; in pm_async_store()
239 unsigned long val; in sync_on_suspend_store() local
241 if (kstrtoul(buf, 10, &val)) in sync_on_suspend_store()
244 if (val > 1) in sync_on_suspend_store()
247 sync_on_suspend_enabled = !!val; in sync_on_suspend_store()
594 unsigned long val; in pm_print_times_store() local
596 if (kstrtoul(buf, 10, &val)) in pm_print_times_store()
599 if (val > 1) in pm_print_times_store()
602 pm_print_times_enabled = !!val; in pm_print_times_store()
643 unsigned long val; in pm_debug_messages_store() local
645 if (kstrtoul(buf, 10, &val)) in pm_debug_messages_store()
648 if (val > 1) in pm_debug_messages_store()
651 pm_debug_messages_on = !!val; in pm_debug_messages_store()
797 unsigned int val; in wakeup_count_show() local
799 return pm_get_wakeup_count(&val, true) ? in wakeup_count_show()
800 sysfs_emit(buf, "%u\n", val) : -EINTR; in wakeup_count_show()
807 unsigned int val; in wakeup_count_store() local
820 if (sscanf(buf, "%u", &val) == 1) { in wakeup_count_store()
821 if (pm_save_wakeup_count(val)) in wakeup_count_store()
928 int val; in pm_trace_store() local
930 if (sscanf(buf, "%d", &val) == 1) { in pm_trace_store()
931 pm_trace_enabled = !!val; in pm_trace_store()
965 unsigned long val; in pm_freeze_timeout_store() local
967 if (kstrtoul(buf, 10, &val)) in pm_freeze_timeout_store()
970 freeze_timeout_msecs = val; in pm_freeze_timeout_store()
991 unsigned long val; in freeze_filesystems_store() local
993 if (kstrtoul(buf, 10, &val)) in freeze_filesystems_store()
996 if (val > 1) in freeze_filesystems_store()
999 filesystem_freeze_enabled = !!val; in freeze_filesystems_store()