Lines Matching refs:val
41 int __pm_notifier_call_chain(unsigned long val, int nr_to_call, int *nr_calls) in __pm_notifier_call_chain() argument
45 ret = __blocking_notifier_call_chain(&pm_chain_head, val, NULL, in __pm_notifier_call_chain()
50 int pm_notifier_call_chain(unsigned long val) in pm_notifier_call_chain() argument
52 return __pm_notifier_call_chain(val, -1, NULL); in pm_notifier_call_chain()
67 unsigned long val; in pm_async_store() local
69 if (kstrtoul(buf, 10, &val)) in pm_async_store()
72 if (val > 1) in pm_async_store()
75 pm_async_enabled = val; in pm_async_store()
264 unsigned long val; in pm_print_times_store() local
266 if (kstrtoul(buf, 10, &val)) in pm_print_times_store()
269 if (val > 1) in pm_print_times_store()
272 pm_print_times_enabled = !!val; in pm_print_times_store()
408 unsigned int val; in wakeup_count_show() local
410 return pm_get_wakeup_count(&val, true) ? in wakeup_count_show()
411 sprintf(buf, "%u\n", val) : -EINTR; in wakeup_count_show()
418 unsigned int val; in wakeup_count_store() local
431 if (sscanf(buf, "%u", &val) == 1) { in wakeup_count_store()
432 if (pm_save_wakeup_count(val)) in wakeup_count_store()
536 int val; in pm_trace_store() local
538 if (sscanf(buf, "%d", &val) == 1) { in pm_trace_store()
539 pm_trace_enabled = !!val; in pm_trace_store()
580 unsigned long val; in pm_freeze_timeout_store() local
582 if (kstrtoul(buf, 10, &val)) in pm_freeze_timeout_store()
585 freeze_timeout_msecs = val; in pm_freeze_timeout_store()