Lines Matching +defs:val +defs:buf

170 static inline unsigned long FAN_FROM_REG(u16 val)  in FAN_FROM_REG()
189 static inline u8 TIME_TO_REG(unsigned long val) in TIME_TO_REG()
199 static inline s8 TEMP_TO_REG(long val, s8 min, s8 max) in TEMP_TO_REG()
312 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_show()
319 show_vid(struct device *dev, struct device_attribute *attr, char *buf) in show_vid()
331 const char *buf, size_t count) in vrm_store()
334 unsigned long val; in vrm_store() local
351 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep()
359 u8 val; in show_alarm_beep() local
372 const char *buf, size_t count) in store_beep()
381 unsigned long val; in store_beep() local
402 show_beep_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_beep_enable()
410 const char *buf, size_t count) in store_beep_enable()
414 unsigned long val; in store_beep_enable() local
437 struct device_attribute *attr, const char *buf, in store_chassis_clear()
442 unsigned long val; in store_chassis_clear() local
463 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan()
470 u16 val; in show_fan() local
482 const char *buf, size_t count) in store_fan_min()
489 unsigned long val; in store_fan_min() local
508 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm()
513 u16 val; in show_pwm() local
527 const char *buf, size_t count) in store_pwm()
535 unsigned long val; in store_pwm() local
562 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp()
580 const char *buf, size_t count) in store_temp()
621 show_temp_mode(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_mode()
645 const char *buf, size_t count) in store_temp_mode()
654 unsigned long val; in store_temp_mode() local
690 show_sf_setup(struct device *dev, struct device_attribute *attr, char *buf) in show_sf_setup()
696 u32 val = 0; in show_sf_setup() local
712 const char *buf, size_t count) in store_sf_setup()
719 long val; in store_sf_setup() local
787 show_sf_ctrl(struct device *dev, struct device_attribute *attr, char *buf) in show_sf_ctrl()
794 u32 val; in show_sf_ctrl() local
812 const char *buf, size_t count) in store_sf_ctrl()
820 long val; in store_sf_ctrl() local
871 show_sf2_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_sf2_pwm()
884 const char *buf, size_t count) in store_sf2_pwm()
892 unsigned long val; in store_sf2_pwm() local
911 show_sf2_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_sf2_temp()
925 const char *buf, size_t count) in store_sf2_temp()
933 long val; in store_sf2_temp() local
953 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in()
960 u16 val = data->in[index][nr]; in show_in() local
973 const char *buf, size_t count) in store_in()
981 unsigned long val; in store_in() local
1355 static ssize_t watchdog_write(struct file *filp, const char __user *buf, in watchdog_write()
1393 int val, ret = 0; in watchdog_ioctl() local
1648 int i, tmp, val, err; in w83793_probe() local