Lines Matching refs:devattr
403 struct device_attribute *devattr, char *buf) in in_input_show() argument
405 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show()
426 struct device_attribute *devattr, char *buf) in in_status_show() argument
428 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show()
448 struct device_attribute *devattr, char *buf) in in_min_show() argument
450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show()
457 struct device_attribute *devattr, const char *buf, in in_min_store() argument
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store()
492 struct device_attribute *devattr, char *buf) in in_max_show() argument
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show()
501 struct device_attribute *devattr, const char *buf, in in_max_store() argument
504 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_store()
548 struct device_attribute *devattr, char *buf) in in_min_alarm_show() argument
551 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_min_alarm_show()
571 struct device_attribute *devattr, char *buf) in in_max_alarm_show() argument
574 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_max_alarm_show()
665 struct device_attribute *devattr, char *buf) in therm_input_show() argument
667 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_input_show()
684 struct device_attribute *devattr, char *buf) in therm_status_show() argument
686 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_status_show()
698 struct device_attribute *devattr, char *buf) in therm_min_show() argument
700 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_min_show()
707 struct device_attribute *devattr, in therm_min_store() argument
710 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_min_store()
734 struct device_attribute *devattr, char *buf) in therm_max_show() argument
736 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_max_show()
743 struct device_attribute *devattr, in therm_max_store() argument
746 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_max_store()
770 struct device_attribute *devattr, char *buf) in therm_crit_show() argument
772 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_crit_show()
779 struct device_attribute *devattr, in therm_crit_store() argument
782 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_crit_store()
810 struct device_attribute *devattr, in therm_min_alarm_show() argument
814 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_min_alarm_show()
826 struct device_attribute *devattr, in therm_max_alarm_show() argument
830 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_max_alarm_show()
842 struct device_attribute *devattr, in therm_crit_alarm_show() argument
846 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_crit_alarm_show()
878 struct device_attribute *devattr, char *buf) in temp_input_show() argument
880 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_input_show()
892 struct device_attribute *devattr, char *buf) in temp_status_show() argument
894 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_status_show()
906 struct device_attribute *devattr, char *buf) in temp_min_show() argument
908 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show()
914 struct device_attribute *devattr, in temp_min_store() argument
917 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store()
941 struct device_attribute *devattr, char *buf) in temp_max_show() argument
943 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show()
949 struct device_attribute *devattr, in temp_max_store() argument
952 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store()
976 struct device_attribute *devattr, char *buf) in temp_crit_show() argument
978 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_crit_show()
985 struct device_attribute *devattr, in temp_crit_store() argument
988 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_crit_store()
1017 struct device_attribute *devattr, in temp_min_alarm_show() argument
1021 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_min_alarm_show()
1033 struct device_attribute *devattr, in temp_max_alarm_show() argument
1037 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_max_alarm_show()
1049 struct device_attribute *devattr, in temp_crit_alarm_show() argument
1053 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_crit_alarm_show()
1066 struct device_attribute *devattr, char *buf) in temp_fault_show() argument
1069 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_fault_show()
1115 struct device_attribute *devattr, char *buf) in fan_input_show() argument
1117 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_input_show()
1130 struct device_attribute *devattr, char *buf) in fan_status_show() argument
1132 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_status_show()
1145 struct device_attribute *devattr, char *buf) in fan_div_show() argument
1147 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
1160 struct device_attribute *devattr, char *buf) in fan_min_show() argument
1162 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show()
1169 struct device_attribute *devattr, in fan_min_store() argument
1172 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_store()
1232 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, in pwm_show() argument
1235 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show()
1243 static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr, in pwm_store() argument
1246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store()
1271 struct device_attribute *devattr, char *buf) in name_show() argument