Lines Matching refs:devattr

419 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr,  in show_in0()  argument
423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0()
430 *devattr, char *buf) in show_in0_max()
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max()
440 *devattr, char *buf) in show_in0_min()
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min()
450 *devattr, const char *buf, size_t count) in set_in0_max()
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max()
471 *devattr, const char *buf, size_t count) in set_in0_min()
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min()
491 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() argument
495 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in()
502 *devattr, char *buf) in show_in_max()
505 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max()
512 *devattr, char *buf) in show_in_min()
515 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min()
522 *devattr, const char *buf, size_t count) in set_in_max()
525 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max()
543 *devattr, const char *buf, size_t count) in set_in_min()
546 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min()
563 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() argument
567 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan()
574 *devattr, char *buf) in show_fan_min()
577 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min()
584 *devattr, char *buf) in show_fan_target()
587 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_target()
594 *devattr, const char *buf, size_t count) in set_fan_min()
597 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min()
615 *devattr, const char *buf, size_t count) in set_fan_target()
618 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_target()
636 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() argument
640 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm()
647 *devattr, char *buf) in show_pwm_enable()
650 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm_enable()
669 *devattr, char *buf) in show_pwm_freq()
672 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm_freq()
679 *devattr, char *buf) in show_pwm_mode()
682 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm_mode()
688 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() argument
692 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm()
715 *devattr, const char *buf, size_t count) in set_pwm_enable()
718 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm_enable()
765 *devattr, const char *buf, size_t count) in set_pwm_freq()
768 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm_freq()
786 struct device_attribute *devattr, in show_pwm_auto_point_temp() argument
790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_pwm_auto_point_temp()
799 struct device_attribute *devattr, in set_pwm_auto_point_temp() argument
803 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in set_pwm_auto_point_temp()
823 struct device_attribute *devattr, in show_pwm_auto_point_fan() argument
827 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_pwm_auto_point_fan()
836 struct device_attribute *devattr, in set_pwm_auto_point_fan() argument
840 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in set_pwm_auto_point_fan()
859 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() argument
863 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp()
870 *devattr, char *buf) in show_temp_max()
873 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max()
880 *devattr, char *buf) in show_temp_hyst()
883 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_hyst()
890 *devattr, char *buf) in show_temp_type()
893 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_type()
901 *devattr, const char *buf, size_t count) in set_temp_max()
904 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max()
922 *devattr, const char *buf, size_t count) in set_temp_hyst()
925 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_hyst()
943 *devattr, char *buf) in alarms_in_show()
951 *devattr, char *buf) in alarms_fan_show()
959 *devattr, char *buf) in alarms_temp_show()
967 *devattr, char *buf) in show_alarm()
970 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_alarm()
977 *devattr, char *buf) in name_show()