Searched refs:fan_to_reg (Results 1 – 6 of 6) sorted by relevance
235 static inline u16 fan_to_reg(long rpm) in fan_to_reg() function607 data->fan_low[nr] = fan_to_reg(val); in set_fan_min()628 data->fan_target[nr] = fan_to_reg(val); in set_fan_target()851 data->auto_points[pwmnr].fan[apnr] = fan_to_reg(val); in set_pwm_auto_point_fan()
213 static u8 fan_to_reg(long rpm, int div) in fan_to_reg() function545 data->fan_min[nr] = fan_to_reg(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min()646 data->fan_min[nr] = fan_to_reg(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
209 static inline u16 fan_to_reg(unsigned long val) in fan_to_reg() function445 data->fan_min[nr] = fan_to_reg(val); in fan_min_store()
249 static inline u16 fan_to_reg(long rpm) in fan_to_reg() function805 val = fan_to_reg(val); in store_fan_min()1165 val = fan_to_reg(clamp_val(val, 0, 0xfff)); in store_fanin()
895 static u16 fan_to_reg(u32 fan, unsigned int divreg) in fan_to_reg() function2820 speed = fan_to_reg(val, data->fan_div[nr]); in store_target_speed()2933 val = (fan_to_reg(low, data->fan_div[nr]) - in store_speed_tolerance()2934 fan_to_reg(high, data->fan_div[nr])) / 2; in store_speed_tolerance()
1151 static inline u16 fan_to_reg(int fan) in fan_to_reg() function1407 val = fan_to_reg(val); in store_fan_full_speed()1838 target = fan_to_reg(val * fan_from_reg(full_speed) / 255); in store_pwm()