Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
Dsmsc47b397.c176 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()
Dnct6775.h90 unsigned int (*fan_from_reg)(u16 reg, unsigned int divreg); member
Df71805f.c227 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()
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 fan_input_show()
402 return sprintf(buf, "%lu\n", fan_from_reg(data->fan_min[nr])); in fan_min_show()
Df71882fg.c1146 static inline int fan_from_reg(u16 reg) in fan_from_reg() function
1377 int speed = fan_from_reg(data->fan[nr]); in show_fan()
1390 int speed = fan_from_reg(data->fan_full_speed[nr]); in show_fan_full_speed()
1801 val = 255 * fan_from_reg(data->fan_target[nr]) in show_pwm()
1802 / fan_from_reg(data->fan_full_speed[nr]); in show_pwm()
1838 target = fan_to_reg(val * fan_from_reg(full_speed) / 255); in store_pwm()
Dnct6775-core.c1527 data->rpm[i] = data->fan_from_reg(reg, in nct6775_update_device()
3432 data->fan_from_reg = fan_from_reg13; in nct6775_probe()
3507 data->fan_from_reg = fan_from_reg13; in nct6775_probe()
3586 data->fan_from_reg = fan_from_reg16; in nct6775_probe()
3661 data->fan_from_reg = fan_from_reg13; in nct6775_probe()
3736 data->fan_from_reg = fan_from_reg_rpm; in nct6775_probe()
3823 data->fan_from_reg = fan_from_reg_rpm; in nct6775_probe()
Dw83795.c242 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()