Lines Matching refs:device_attribute

367 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
383 struct device_attribute *attr, \
445 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep()
456 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, in store_beep()
491 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
533 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
547 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
569 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
584 static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div()
725 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
734 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm()
766 static ssize_t show_pwmenable(struct device *dev, struct device_attribute *attr, in show_pwmenable()
776 struct device_attribute *attr, const char *buf, size_t count) in store_pwmenable()
833 struct device_attribute *attr, char *buf) in show_temp_target()
842 struct device_attribute *attr, const char *buf, size_t count) in store_temp_target()
874 struct device_attribute *attr, char *buf) in show_temp_tolerance()
883 struct device_attribute *attr, const char *buf, size_t count) in store_temp_tolerance()
936 static ssize_t show_temp1(struct device *dev, struct device_attribute *devattr, in show_temp1()
944 static ssize_t store_temp1(struct device *dev, struct device_attribute *devattr, in store_temp1()
966 static ssize_t show_temp23(struct device *dev, struct device_attribute *devattr, in show_temp23()
977 struct device_attribute *devattr, in store_temp23()
1045 struct device_attribute *attr, char *buf) in show_alarms_reg()
1059 struct device_attribute *attr, char *buf) in show_beep_enable()
1066 struct device_attribute *attr, char *buf) in show_beep_mask()
1074 struct device_attribute *attr, in store_beep_mask()
1109 struct device_attribute *attr, in store_beep_enable()
1151 struct device_attribute *attr, char *buf) in show_vid_reg()
1160 struct device_attribute *attr, char *buf) in show_vrm_reg()
1167 struct device_attribute *attr, in store_vrm_reg()