Home
last modified time | relevance | path

Searched refs:RPM_FROM_REG (Results 1 – 3 of 3) sorted by relevance

/drivers/hwmon/
Dmax31790.c42 #define RPM_FROM_REG(reg, sr) (((reg) >> 4) ? \ macro
174 rpm = RPM_FROM_REG(data->tach[channel], sr); in max31790_read_fan()
179 rpm = RPM_FROM_REG(data->target_count[channel], sr); in max31790_read_fan()
Dvt1211.c170 #define RPM_FROM_REG(reg, div) (((reg) == 0) || ((reg) == 255) ? 0 : \ macro
502 res = RPM_FROM_REG(data->fan[ix], data->fan_div[ix]); in show_fan()
505 res = RPM_FROM_REG(data->fan_min[ix], data->fan_div[ix]); in show_fan()
Dfschmd.c408 #define RPM_FROM_REG(val) ((val) * 60) macro
416 return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); in fan_value_show()