Lines Matching +defs:val +defs:buf
82 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ argument
87 #define TEMP_TO_REG(val) ((val) <= -127500 ? -128 : \ argument
164 in_show(struct device *dev, struct device_attribute *attr, char *buf) in in_show()
173 in_min_show(struct device *dev, struct device_attribute *attr, char *buf) in in_min_show()
182 in_max_show(struct device *dev, struct device_attribute *attr, char *buf) in in_max_show()
191 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
199 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_min_show()
207 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_max_show()
215 const char *buf, size_t count) in in_min_store()
220 long val; in in_min_store() local
236 const char *buf, size_t count) in in_max_store()
241 long val; in in_max_store() local
276 struct device_attribute *attr, const char *buf, in temp_min_store()
282 long val; in temp_min_store() local
298 struct device_attribute *attr, const char *buf, in temp_max_store()
304 long val; in temp_max_store() local
327 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) in alarms_show()
335 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) in alarm_show()
352 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) in cpu0_vid_show()
360 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_show()
366 const char *buf, size_t count) in vrm_store()
369 unsigned long val; in vrm_store() local