Lines Matching refs:dev_attr
153 struct device_attribute *dev_attr, char *buf) in temp_input_show() argument
157 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_input_show()
167 struct device_attribute *dev_attr, char *buf) in temp_fault_show() argument
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_fault_show()
179 struct device_attribute *dev_attr, char *buf) in temp_max_show() argument
181 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_show()
188 struct device_attribute *dev_attr, in temp_max_store() argument
191 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_store()
211 struct device_attribute *dev_attr, char *buf) in temp_crit_show() argument
213 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_show()
220 struct device_attribute *dev_attr, in temp_crit_store() argument
223 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_store()
243 struct device_attribute *dev_attr, in temp_emergency_show() argument
246 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_show()
253 struct device_attribute *dev_attr, in temp_emergency_store() argument
256 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_store()
275 static ssize_t pwm_show(struct device *dev, struct device_attribute *dev_attr, in pwm_show() argument
278 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_show()
285 struct device_attribute *dev_attr, const char *buf, in pwm_store() argument
288 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_store()
310 struct device_attribute *dev_attr, char *buf) in fan_input_show() argument
313 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in fan_input_show()
323 struct device_attribute *dev_attr, char *buf) in alarm_show() argument
326 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in alarm_show()
359 &sensor_dev_attr_temp1_input.dev_attr.attr,
360 &sensor_dev_attr_temp2_input.dev_attr.attr,
361 &sensor_dev_attr_temp1_fault.dev_attr.attr,
362 &sensor_dev_attr_temp2_fault.dev_attr.attr,
363 &sensor_dev_attr_temp1_max.dev_attr.attr,
364 &sensor_dev_attr_temp2_max.dev_attr.attr,
365 &sensor_dev_attr_temp1_crit.dev_attr.attr,
366 &sensor_dev_attr_temp2_crit.dev_attr.attr,
367 &sensor_dev_attr_temp1_emergency.dev_attr.attr,
368 &sensor_dev_attr_temp2_emergency.dev_attr.attr,
369 &sensor_dev_attr_pwm1.dev_attr.attr,
370 &sensor_dev_attr_pwm2.dev_attr.attr,
371 &sensor_dev_attr_fan1_input.dev_attr.attr,
372 &sensor_dev_attr_fan2_input.dev_attr.attr,
373 &sensor_dev_attr_fan1_fault.dev_attr.attr,
374 &sensor_dev_attr_fan2_fault.dev_attr.attr,
375 &sensor_dev_attr_temp1_max_alarm.dev_attr.attr,
376 &sensor_dev_attr_temp2_max_alarm.dev_attr.attr,
377 &sensor_dev_attr_temp1_crit_alarm.dev_attr.attr,
378 &sensor_dev_attr_temp2_crit_alarm.dev_attr.attr,
379 &sensor_dev_attr_temp1_emergency_alarm.dev_attr.attr,
380 &sensor_dev_attr_temp2_emergency_alarm.dev_attr.attr,