Lines Matching refs:devattr
267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
271 int ix = to_sensor_dev_attr(devattr)->index; in temp_show()
300 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument
303 int ix = to_sensor_dev_attr(devattr)->index; in temp_alarm_show()
336 struct device_attribute *devattr, char *buf) in temp2_fault_show() argument
345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, in pwm1_show() argument
353 struct device_attribute *devattr, const char *buf, in pwm1_store() argument
371 struct device_attribute *devattr, char *buf) in pwm1_enable_show() argument
425 struct device_attribute *devattr, in pwm1_auto_channels_temp_show() argument
433 struct device_attribute *devattr, in temp_auto_point_temp_show() argument
436 int ix = to_sensor_dev_attr_2(devattr)->index; in temp_auto_point_temp_show()
437 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_auto_point_temp_show()
453 struct device_attribute *devattr, in pwm1_auto_point_pwm_show() argument
456 int ix = to_sensor_dev_attr(devattr)->index; in pwm1_auto_point_pwm_show()
592 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show() argument
596 int ix = to_sensor_dev_attr(devattr)->index; in fan_show()
603 struct device_attribute *devattr, char *buf) in fan1_fault_show() argument
643 struct device_attribute *devattr, char *buf) in fan1_div_show() argument