Lines Matching refs:devattr
779 struct device_attribute *devattr, char *buf) in temp_min_show() argument
781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show()
791 struct device_attribute *devattr, in temp_min_store() argument
794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store()
815 struct device_attribute *devattr, char *buf) in temp_max_show() argument
817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show()
827 struct device_attribute *devattr, in temp_max_store() argument
830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store()
850 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
865 struct device_attribute *devattr, char *buf) in temp_label_show() argument
867 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_label_show()
874 struct device_attribute *devattr, char *buf) in volt_max_show() argument
876 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_show()
887 struct device_attribute *devattr, in volt_max_store() argument
890 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_store()
914 struct device_attribute *devattr, char *buf) in volt_min_show() argument
916 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_show()
927 struct device_attribute *devattr, in volt_min_store() argument
930 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_store()
954 struct device_attribute *devattr, char *buf) in voltage_show() argument
956 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in voltage_show()
967 struct device_attribute *devattr, char *buf) in voltage_label_show() argument
969 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in voltage_label_show()
976 struct device_attribute *devattr, char *buf) in alarm_show() argument
978 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in alarm_show()
995 struct device_attribute *devattr, char *buf) in fan_min_show() argument
997 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show()
1013 struct device_attribute *devattr, in fan_min_store() argument
1016 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_store()
1038 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show() argument
1041 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
1053 struct device_attribute *devattr, char *buf) in force_pwm_max_show() argument
1060 struct device_attribute *devattr, in force_pwm_max_store() argument
1084 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, in pwm_show() argument
1087 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show()
1092 static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr, in pwm_store() argument
1095 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store()
1114 struct device_attribute *devattr, char *buf) in pwm_max_show() argument
1121 struct device_attribute *devattr, in pwm_max_store() argument
1142 struct device_attribute *devattr, char *buf) in pwm_min_show() argument
1144 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_min_show()
1150 struct device_attribute *devattr, in pwm_min_store() argument
1153 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_min_store()
1173 struct device_attribute *devattr, char *buf) in pwm_hyst_show() argument
1175 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_hyst_show()
1182 struct device_attribute *devattr, in pwm_hyst_store() argument
1185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_hyst_store()
1210 struct device_attribute *devattr, char *buf) in pwm_tmax_show() argument
1212 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmax_show()
1224 struct device_attribute *devattr, in pwm_tmax_store() argument
1228 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmax_store()
1256 struct device_attribute *devattr, char *buf) in pwm_tmin_show() argument
1258 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmin_show()
1264 struct device_attribute *devattr, in pwm_tmin_store() argument
1267 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmin_store()
1288 struct device_attribute *devattr, char *buf) in pwm_auto_show() argument
1290 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_show()
1319 struct device_attribute *devattr, in pwm_auto_store() argument
1322 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_store()
1343 struct device_attribute *devattr, char *buf) in pwm_auto_temp_show() argument
1345 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_temp_show()
1376 struct device_attribute *devattr, in pwm_auto_temp_store() argument
1379 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_temp_store()