Lines Matching refs:devattr

331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,  in show_fan()  argument
334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan()
361 static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr, in show_pwm1() argument
364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1()
379 static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr, in set_pwm1() argument
382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1()
457 struct device_attribute *devattr, in show_local_temp8() argument
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8()
466 struct device_attribute *devattr, in show_remote_temp8() argument
469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8()
476 struct device_attribute *devattr, in show_lut_temp() argument
479 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp()
485 static ssize_t set_temp8(struct device *dev, struct device_attribute *devattr, in set_temp8() argument
488 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp8()
524 static ssize_t show_temp11(struct device *dev, struct device_attribute *devattr, in show_temp11() argument
527 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp11()
550 static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, in set_temp11() argument
562 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp11()
601 struct device_attribute *devattr, char *buf) in show_lut_temp_hyst() argument
603 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp_hyst()
730 static ssize_t show_alarm(struct device *dev, struct device_attribute *devattr, in show_alarm() argument
733 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_alarm()