Lines Matching defs:attr
128 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
134 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
152 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
197 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
234 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
240 struct kobj_attribute *attr, in sync_on_suspend_store()
270 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
291 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
365 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
379 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
393 struct kobj_attribute *attr, char *buf) in last_failed_step_show()
428 static umode_t suspend_attr_is_visible(struct kobject *kobj, struct attribute *attr, int idx) in suspend_attr_is_visible()
528 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
534 struct kobj_attribute *attr, in pm_print_times_store()
557 struct kobj_attribute *attr, in pm_wakeup_irq_show()
577 struct kobj_attribute *attr, char *buf) in pm_debug_messages_show()
583 struct kobj_attribute *attr, in pm_debug_messages_store()
624 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
671 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
735 struct kobj_attribute *attr, in wakeup_count_show()
745 struct kobj_attribute *attr, in wakeup_count_store()
777 struct kobj_attribute *attr, in autosleep_show()
798 struct kobj_attribute *attr, in autosleep_store()
820 struct kobj_attribute *attr, in wake_lock_show()
827 struct kobj_attribute *attr, in wake_lock_store()
837 struct kobj_attribute *attr, in wake_unlock_show()
844 struct kobj_attribute *attr, in wake_unlock_store()
859 static ssize_t pm_trace_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_show()
866 pm_trace_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_store()
885 struct kobj_attribute *attr, in pm_trace_dev_match_show()
897 struct kobj_attribute *attr, char *buf) in pm_freeze_timeout_show()
903 struct kobj_attribute *attr, in pm_freeze_timeout_store()