Lines Matching defs:rpm
170 int rpm;
181 rpm = ((data->tach[attr->index] * 120) / DIV_FROM_REG(data->count));
182 return sprintf(buf, "%d\n", rpm);
230 int kscale, ktach, rpm;
237 * then multiply by 60 to give rpm.
242 rpm = 60 * kscale * clock / (256 * (ktach + 1));
243 return sprintf(buf, "%d\n", rpm);
251 int rpm = simple_strtoul(buf, NULL, 10);
254 rpm = SENSORS_LIMIT(rpm, FAN_RPM_MIN, FAN_RPM_MAX);
257 * Divide the required speed by 60 to get from rpm to rps, then
266 ktach = ((clock * kscale) / (256 * rpm / 60)) - 1;