Lines Matching defs:attr
444 static ssize_t nowayout_show(struct device *dev, struct device_attribute *attr, in nowayout_show()
453 static ssize_t nowayout_store(struct device *dev, struct device_attribute *attr, in nowayout_store()
473 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
489 struct device_attribute *attr, char *buf) in bootstatus_show()
497 static ssize_t timeleft_show(struct device *dev, struct device_attribute *attr, in timeleft_show()
515 static ssize_t timeout_show(struct device *dev, struct device_attribute *attr, in timeout_show()
525 struct device_attribute *attr, char *buf) in min_timeout_show()
534 struct device_attribute *attr, char *buf) in max_timeout_show()
543 struct device_attribute *attr, char *buf) in pretimeout_show()
551 static ssize_t options_show(struct device *dev, struct device_attribute *attr, in options_show()
560 static ssize_t fw_version_show(struct device *dev, struct device_attribute *attr, in fw_version_show()
569 static ssize_t identity_show(struct device *dev, struct device_attribute *attr, in identity_show()
578 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
591 struct device_attribute *attr, char *buf) in pretimeout_available_governors_show()
598 struct device_attribute *attr, in pretimeout_governor_show()
607 struct device_attribute *attr, in pretimeout_governor_store()
620 static umode_t wdt_is_visible(struct kobject *kobj, struct attribute *attr, in wdt_is_visible()