Lines Matching refs:kobj_attribute

103 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr,  in pm_async_show()
109 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
127 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
172 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
209 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
215 struct kobj_attribute *attr, in sync_on_suspend_store()
245 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
266 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
319 struct kobj_attribute *attr, char *buf) \
323 static struct kobj_attribute _name = __ATTR_RO(_name)
337 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
348 static struct kobj_attribute last_failed_dev = __ATTR_RO(last_failed_dev);
351 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
362 static struct kobj_attribute last_failed_errno = __ATTR_RO(last_failed_errno);
365 struct kobj_attribute *attr, char *buf) in last_failed_step_show()
378 static struct kobj_attribute last_failed_step = __ATTR_RO(last_failed_step);
482 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
488 struct kobj_attribute *attr, in pm_print_times_store()
511 struct kobj_attribute *attr, in pm_wakeup_irq_show()
525 struct kobj_attribute *attr, char *buf) in pm_debug_messages_show()
531 struct kobj_attribute *attr, in pm_debug_messages_store()
572 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
619 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
683 struct kobj_attribute *attr, in wakeup_count_show()
693 struct kobj_attribute *attr, in wakeup_count_store()
725 struct kobj_attribute *attr, in autosleep_show()
746 struct kobj_attribute *attr, in autosleep_store()
768 struct kobj_attribute *attr, in wake_lock_show()
775 struct kobj_attribute *attr, in wake_lock_store()
785 struct kobj_attribute *attr, in wake_unlock_show()
792 struct kobj_attribute *attr, in wake_unlock_store()
807 static ssize_t pm_trace_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_show()
814 pm_trace_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_store()
833 struct kobj_attribute *attr, in pm_trace_dev_match_show()
845 struct kobj_attribute *attr, char *buf) in pm_freeze_timeout_show()
851 struct kobj_attribute *attr, in pm_freeze_timeout_store()