Lines Matching refs:devattr
146 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
149 int index = to_sensor_dev_attr(devattr)->index; in temp_show()
156 struct device_attribute *devattr, char *buf) in temp_max_show() argument
158 int index = to_sensor_dev_attr(devattr)->index; in temp_max_show()
165 struct device_attribute *devattr, char *buf) in temp_min_show() argument
167 int index = to_sensor_dev_attr(devattr)->index; in temp_min_show()
190 struct device_attribute *devattr, in temp_max_store() argument
193 int index = to_sensor_dev_attr(devattr)->index; in temp_max_store()
216 struct device_attribute *devattr, in temp_min_store() argument
219 int index = to_sensor_dev_attr(devattr)->index; in temp_min_store()
242 struct device_attribute *devattr, char *buf) in low_power_show() argument
249 struct device_attribute *devattr, in low_power_store() argument