Lines Matching defs:val
100 superio_outb(struct w83627hf_sio_data *sio, int reg, int val) in superio_outb()
250 #define IN_TO_REG(val) (clamp_val((((val) + 8) / 16), 0, 255)) argument
251 #define IN_FROM_REG(val) ((val) * 16) argument
280 #define FAN_FROM_REG(val,div) ((val)==0?-1:(val)==255?0:1350000/((val)*(div))) argument
282 #define PWM_TO_REG(val) (clamp_val((val), 0, 255)) argument
290 static inline u8 pwm_freq_to_reg_627hf(unsigned long val) in pwm_freq_to_reg_627hf()
316 static inline u8 pwm_freq_to_reg(unsigned long val) in pwm_freq_to_reg()
329 #define BEEP_MASK_FROM_REG(val) ((val) & 0xff7fff) argument
330 #define BEEP_MASK_TO_REG(val) ((val) & 0xff7fff) argument
332 #define DIV_FROM_REG(val) (1 << (val)) argument
334 static inline u8 DIV_TO_REG(long val) in DIV_TO_REG()
503 long val; in in_min_store() local
522 long val; in in_max_store() local
605 unsigned long val; in in0_min_store() local
635 unsigned long val; in in0_max_store() local
687 unsigned long val; in fan_min_store() local
751 long val; in temp_max_store() local
773 long val; in temp_max_hyst_store() local
817 unsigned long val; in vrm_store() local
876 unsigned long val; in beep_mask_store() local
998 unsigned long val; in fan_div_store() local
1049 unsigned long val; in pwm_store() local
1097 unsigned long val; in pwm_enable_store() local
1140 unsigned long val; in pwm_freq_store() local
1184 unsigned long val; in temp_type_store() local
1251 u16 val; in w83627hf_find() local