Searched refs:FAN_PERIOD_TO_RPM (Results 1 – 3 of 3) sorted by relevance
92 #define FAN_PERIOD_TO_RPM(x) ((90000 * 60) / (x)) macro93 #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM108 rpm = FAN_PERIOD_TO_RPM(period); in show_fan_speed()
129 #define FAN_PERIOD_TO_RPM(x) ((90000 * 60) / (x)) macro130 #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM559 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()
183 #define FAN_PERIOD_TO_RPM(x) ((90000 * 60) / (x)) macro184 #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM1009 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()