Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmax31790.c45 #define RPM_FROM_REG(reg, sr) (((reg) >> 4) ? \ macro
180 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()
H A Dvt1211.c170 #define RPM_FROM_REG(reg, div) (((reg) == 0) || ((reg) == 255) ? 0 : \ macro
496 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()
H A Dfschmd.c407 #define RPM_FROM_REG(val) ((val) * 60) macro
415 return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); in fan_value_show()