Searched refs:fan_from_reg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/hwmon/ |
D | smsc47b397.c | 176 static int fan_from_reg(u16 reg) in fan_from_reg() function 188 return sprintf(buf, "%d\n", fan_from_reg(data->fan[attr->index])); in fan_show()
|
D | f71805f.c | 227 static inline long fan_from_reg(u16 reg) in fan_from_reg() function 570 return sprintf(buf, "%ld\n", fan_from_reg(data->fan[nr])); in show_fan() 580 return sprintf(buf, "%ld\n", fan_from_reg(data->fan_low[nr])); in show_fan_min() 590 return sprintf(buf, "%ld\n", fan_from_reg(data->fan_target[nr])); in show_fan_target() 832 fan_from_reg(data->auto_points[pwmnr].fan[apnr])); in show_pwm_auto_point_fan()
|
D | pc87427.c | 200 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 fan_input_show() 402 return sprintf(buf, "%lu\n", fan_from_reg(data->fan_min[nr])); in fan_min_show()
|
D | f71882fg.c | 1145 static inline int fan_from_reg(u16 reg) in fan_from_reg() function 1376 int speed = fan_from_reg(data->fan[nr]); in show_fan() 1389 int speed = fan_from_reg(data->fan_full_speed[nr]); in show_fan_full_speed() 1799 val = 255 * fan_from_reg(data->fan_target[nr]) in show_pwm() 1800 / fan_from_reg(data->fan_full_speed[nr]); in show_pwm() 1836 target = fan_to_reg(val * fan_from_reg(full_speed) / 255); in store_pwm()
|
D | nct6775.c | 1136 unsigned int (*fan_from_reg)(u16 reg, unsigned int divreg); member 1802 data->rpm[i] = data->fan_from_reg(reg, in nct6775_update_device() 3835 data->fan_from_reg = fan_from_reg13; in nct6775_probe() 3908 data->fan_from_reg = fan_from_reg13; in nct6775_probe() 3985 data->fan_from_reg = fan_from_reg16; in nct6775_probe() 4058 data->fan_from_reg = fan_from_reg13; in nct6775_probe() 4131 data->fan_from_reg = fan_from_reg_rpm; in nct6775_probe() 4216 data->fan_from_reg = fan_from_reg_rpm; in nct6775_probe()
|
D | w83795.c | 242 static inline unsigned long fan_from_reg(u16 val) in fan_from_reg() function 789 return sprintf(buf, "%lu\n", fan_from_reg(val)); in show_fan() 1137 tmp = fan_from_reg(data->target_speed[index]); in show_fanin()
|