Lines Matching refs:attr
103 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() argument
109 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() argument
127 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show() argument
172 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store() argument
209 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show() argument
215 struct kobj_attribute *attr, in sync_on_suspend_store() argument
245 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() argument
266 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() argument
319 struct kobj_attribute *attr, char *buf) \
337 struct kobj_attribute *attr, char *buf) in last_failed_dev_show() argument
351 struct kobj_attribute *attr, char *buf) in last_failed_errno_show() argument
365 struct kobj_attribute *attr, char *buf) in last_failed_step_show() argument
381 &success.attr,
382 &fail.attr,
383 &failed_freeze.attr,
384 &failed_prepare.attr,
385 &failed_suspend.attr,
386 &failed_suspend_late.attr,
387 &failed_suspend_noirq.attr,
388 &failed_resume.attr,
389 &failed_resume_early.attr,
390 &failed_resume_noirq.attr,
391 &last_failed_dev.attr,
392 &last_failed_errno.attr,
393 &last_failed_step.attr,
482 struct kobj_attribute *attr, char *buf) in pm_print_times_show() argument
488 struct kobj_attribute *attr, in pm_print_times_store() argument
511 struct kobj_attribute *attr, in pm_wakeup_irq_show() argument
525 struct kobj_attribute *attr, char *buf) in pm_debug_messages_show() argument
531 struct kobj_attribute *attr, in pm_debug_messages_store() argument
572 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show() argument
619 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store() argument
683 struct kobj_attribute *attr, in wakeup_count_show() argument
693 struct kobj_attribute *attr, in wakeup_count_store() argument
725 struct kobj_attribute *attr, in autosleep_show() argument
746 struct kobj_attribute *attr, in autosleep_store() argument
768 struct kobj_attribute *attr, in wake_lock_show() argument
775 struct kobj_attribute *attr, in wake_lock_store() argument
785 struct kobj_attribute *attr, in wake_unlock_show() argument
792 struct kobj_attribute *attr, in wake_unlock_store() argument
807 static ssize_t pm_trace_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_show() argument
814 pm_trace_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_store() argument
833 struct kobj_attribute *attr, in pm_trace_dev_match_show() argument
845 struct kobj_attribute *attr, char *buf) in pm_freeze_timeout_show() argument
851 struct kobj_attribute *attr, in pm_freeze_timeout_store() argument
868 &state_attr.attr,
870 &pm_trace_attr.attr,
871 &pm_trace_dev_match_attr.attr,
874 &pm_async_attr.attr,
875 &wakeup_count_attr.attr,
877 &mem_sleep_attr.attr,
878 &sync_on_suspend_attr.attr,
881 &autosleep_attr.attr,
884 &wake_lock_attr.attr,
885 &wake_unlock_attr.attr,
888 &pm_test_attr.attr,
889 &pm_print_times_attr.attr,
890 &pm_wakeup_irq_attr.attr,
891 &pm_debug_messages_attr.attr,
895 &pm_freeze_timeout_attr.attr,