Searched refs:RPM_FROM_REG (Results 1 – 3 of 3) sorted by relevance
42 #define RPM_FROM_REG(reg, sr) (((reg) >> 4) ? \ macro174 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()
170 #define RPM_FROM_REG(reg, div) (((reg) == 0) || ((reg) == 255) ? 0 : \ macro502 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()
408 #define RPM_FROM_REG(val) ((val) * 60) macro416 return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); in fan_value_show()