Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/hwmon/
Dsmsc47b397.c186 static int fan_from_reg(u16 reg) in fan_from_reg() function
198 return sprintf(buf, "%d\n", fan_from_reg(data->fan[attr->index])); in show_fan()
Df71805f.c234 static inline long fan_from_reg(u16 reg) in fan_from_reg() function
577 return sprintf(buf, "%ld\n", fan_from_reg(data->fan[nr])); in show_fan()
587 return sprintf(buf, "%ld\n", fan_from_reg(data->fan_low[nr])); in show_fan_min()
597 return sprintf(buf, "%ld\n", fan_from_reg(data->fan_target[nr])); in show_fan_target()
839 fan_from_reg(data->auto_points[pwmnr].fan[apnr])); in show_pwm_auto_point_fan()
Df71882fg.c1111 static inline int fan_from_reg(u16 reg) in fan_from_reg() function
1324 int speed = fan_from_reg(data->fan[nr]); in show_fan()
1337 int speed = fan_from_reg(data->fan_full_speed[nr]); in show_fan_full_speed()
1738 val = 255 * fan_from_reg(data->fan_target[nr]) in show_pwm()
1739 / fan_from_reg(data->fan_full_speed[nr]); in show_pwm()
1775 target = fan_to_reg(val * fan_from_reg(full_speed) / 255); in store_pwm()
Dw83627ehf.c450 unsigned int (*fan_from_reg)(u16 reg, unsigned int divreg); member
820 data->rpm[i] = data->fan_from_reg(reg, in w83627ehf_update_device()
2298 data->fan_from_reg = fan_from_reg16; in w83627ehf_probe()
2311 data->fan_from_reg = fan_from_reg13; in w83627ehf_probe()
2322 data->fan_from_reg = fan_from_reg8; in w83627ehf_probe()
2337 data->fan_from_reg = fan_from_reg8; in w83627ehf_probe()
Dpc87427.c200 static inline unsigned long fan_from_reg(u16 reg) in fan_from_reg() function
393 return sprintf(buf, "%lu\n", fan_from_reg(data->fan[nr])); in show_fan_input()
402 return sprintf(buf, "%lu\n", fan_from_reg(data->fan_min[nr])); in show_fan_min()
Dw83795.c254 static inline unsigned long fan_from_reg(u16 val) in fan_from_reg() function
804 return sprintf(buf, "%lu\n", fan_from_reg(val)); in show_fan()
1152 tmp = fan_from_reg(data->target_speed[index]); in show_fanin()