Lines Matching defs:attr
428 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep()
439 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, in store_beep()
474 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
530 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
552 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
567 static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div()
708 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
717 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm()
749 static ssize_t show_pwmenable(struct device *dev, struct device_attribute *attr, in show_pwmenable()
759 struct device_attribute *attr, const char *buf, size_t count) in store_pwmenable()
816 struct device_attribute *attr, char *buf) in show_temp_target()
825 struct device_attribute *attr, const char *buf, size_t count) in store_temp_target()
857 struct device_attribute *attr, char *buf) in show_temp_tolerance()
866 struct device_attribute *attr, const char *buf, size_t count) in store_temp_tolerance()
922 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp1() local
930 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_temp1() local
952 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_temp23() local
963 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_temp23() local
1027 static ssize_t alarms_show(struct device *dev, struct device_attribute *attr, in alarms_show()
1042 struct device_attribute *attr, char *buf) in show_beep_enable()
1049 struct device_attribute *attr, char *buf) in show_beep_mask()
1057 struct device_attribute *attr, in store_beep_mask()
1092 struct device_attribute *attr, in store_beep_enable()
1134 struct device_attribute *attr, char *buf) in cpu0_vid_show()
1142 static ssize_t vrm_show(struct device *dev, struct device_attribute *attr, in vrm_show()
1149 static ssize_t vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store()