Lines Matching refs:devattr
275 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
278 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show()
279 int index = to_sensor_dev_attr_2(devattr)->index; in temp_show()
290 struct device_attribute *devattr, in temp_crit_hyst_show() argument
293 int temp, index = to_sensor_dev_attr(devattr)->index; in temp_crit_hyst_show()
308 struct device_attribute *devattr, char *buf) in status_show() argument
310 int nr = to_sensor_dev_attr_2(devattr)->nr; in status_show()
311 int mask = to_sensor_dev_attr_2(devattr)->index; in status_show()
321 struct device_attribute *devattr, const char *buf, in temp_store() argument
324 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store()
325 int index = to_sensor_dev_attr_2(devattr)->index; in temp_store()
355 struct device_attribute *devattr, in temp_crit_hyst_store() argument
358 int temp, index = to_sensor_dev_attr(devattr)->index; in temp_crit_hyst_store()
395 struct device_attribute *devattr, in reset_temp_history_store() argument