Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dultra45_env.c92 #define FAN_PERIOD_TO_RPM(x) ((90000 * 60) / (x)) macro
93 #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM
108 rpm = FAN_PERIOD_TO_RPM(period); in show_fan_speed()
Dadt7470.c129 #define FAN_PERIOD_TO_RPM(x) ((90000 * 60) / (x)) macro
130 #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM
559 FAN_PERIOD_TO_RPM(data->fan_max[attr->index])); in fan_max_show()
595 FAN_PERIOD_TO_RPM(data->fan_min[attr->index])); in fan_min_show()
631 FAN_PERIOD_TO_RPM(data->fan[attr->index])); in fan_show()
Dadt7462.c183 #define FAN_PERIOD_TO_RPM(x) ((90000 * 60) / (x)) macro
184 #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM
1009 return sprintf(buf, "%d\n", FAN_PERIOD_TO_RPM(temp)); in fan_min_show()
1049 FAN_PERIOD_TO_RPM(data->fan[attr->index])); in fan_show()