Searched refs:RPM_FROM_REG (Results 1 – 3 of 3) sorted by relevance
45 #define RPM_FROM_REG(reg, sr) (((reg) >> 4) ? \ macro180 rpm = RPM_FROM_REG(data->tach[channel], sr); in max31790_read_fan()185 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 : \ macro496 res = RPM_FROM_REG(data->fan[ix], data->fan_div[ix]); in show_fan()499 res = RPM_FROM_REG(data->fan_min[ix], data->fan_div[ix]); in show_fan()
407 #define RPM_FROM_REG(val) ((val) * 60) macro415 return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); in fan_value_show()