Lines Matching refs:devattr
179 static ssize_t in_show(struct device *dev, struct device_attribute *devattr, in in_show() argument
183 int sf = to_sensor_dev_attr_2(devattr)->index; in in_show()
184 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_show()
190 static ssize_t in_store(struct device *dev, struct device_attribute *devattr, in in_store() argument
195 int sf = to_sensor_dev_attr_2(devattr)->index; in in_store()
196 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_store()
218 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
222 int sf = to_sensor_dev_attr_2(devattr)->index; in temp_show()
223 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show()
229 struct device_attribute *devattr, const char *buf, in temp_store() argument
234 int sf = to_sensor_dev_attr_2(devattr)->index; in temp_store()
235 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store()
257 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show() argument
261 int sf = to_sensor_dev_attr_2(devattr)->index; in fan_show()
262 int nr = to_sensor_dev_attr_2(devattr)->nr; in fan_show()
273 static ssize_t fan_store(struct device *dev, struct device_attribute *devattr, in fan_store() argument
278 int sf = to_sensor_dev_attr_2(devattr)->index; in fan_store()
279 int nr = to_sensor_dev_attr_2(devattr)->nr; in fan_store()