Lines Matching +defs:val +defs:buf
148 #define IN_TO_REG(ix, val) (clamp_val((ix) == 5 ? \ argument
163 #define TEMP_TO_REG(ix, val) clamp_val( \ argument
172 #define RPM_TO_REG(val, div) ((val) == 0 ? 255 : \ argument
236 static inline void vt1211_write8(struct vt1211_data *data, u8 reg, u8 val) in vt1211_write8()
244 int ix, val; in vt1211_update_device() local
335 char *buf) in show_in()
366 const char *buf, size_t count) in set_in()
373 long val; in set_in() local
409 char *buf) in show_temp()
440 const char *buf, size_t count) in set_temp()
447 long val; in set_temp() local
485 char *buf) in show_fan()
516 const char *buf, size_t count) in set_fan()
524 unsigned long val; in set_fan() local
591 char *buf) in show_pwm()
622 const char *buf, size_t count) in set_pwm()
630 unsigned long val; in set_pwm() local
746 char *buf) in show_pwm_auto_point_temp()
760 const char *buf, size_t count) in set_pwm_auto_point_temp()
768 long val; in set_pwm_auto_point_temp() local
810 char *buf) in show_pwm_auto_point_pwm()
823 const char *buf, size_t count) in set_pwm_auto_point_pwm()
830 unsigned long val; in set_pwm_auto_point_pwm() local
851 char *buf) in show_vrm()
859 const char *buf, size_t count) in set_vrm()
862 unsigned long val; in set_vrm() local
878 char *buf) in show_vid()
886 struct device_attribute *attr, char *buf) in show_name()
894 struct device_attribute *attr, char *buf) in show_alarms()