Home
last modified time | relevance | path

Searched refs:fan_to_reg (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/hwmon/
Df71805f.c235 static inline u16 fan_to_reg(long rpm) in fan_to_reg() function
607 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()
Dw83791d.c213 static u8 fan_to_reg(long rpm, int div) in fan_to_reg() function
545 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()
Dpc87427.c209 static inline u16 fan_to_reg(unsigned long val) in fan_to_reg() function
445 data->fan_min[nr] = fan_to_reg(val); in fan_min_store()
Dw83795.c249 static inline u16 fan_to_reg(long rpm) in fan_to_reg() function
805 val = fan_to_reg(val); in store_fan_min()
1165 val = fan_to_reg(clamp_val(val, 0, 0xfff)); in store_fanin()
Dnct6775-core.c895 static u16 fan_to_reg(u32 fan, unsigned int divreg) in fan_to_reg() function
2820 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()
Df71882fg.c1151 static inline u16 fan_to_reg(int fan) in fan_to_reg() function
1407 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()