Searched refs:slopes (Results 1 – 2 of 2) sorted by relevance
172 This mode offers multiple slopes to control the fan speed. The slopes can be
870 static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val) in slopes_to_scale() argument876 if (val > slopes[i].range) in slopes_to_scale()877 rest = slopes[i].range; in slopes_to_scale()880 ret += (rest * slopes[i].slope) / slopes[i].range; in slopes_to_scale()