Lines Matching defs:fan
125 u8 fan[3]; /* Register value */
160 data->fan[i] = smsc47m1_read_value(data,
204 * This chip (stupidly) stops monitoring fan speed if PWM is
206 * and control concern the same fan, but troublesome if they are
210 FAN_FROM_REG(data->fan[nr],
298 * Note: we save and restore the fan minimum here, because its value is
299 * determined in part by the fan clock divider. This follows the principle
300 * of least surprise; the user doesn't expect the fan minimum to change just
358 /* Preserve fan min */
422 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan, 0);
428 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan, 1);
434 static SENSOR_DEVICE_ATTR_RO(fan3_input, fan, 2);
542 * (device id 0x5F) and LPC47B27x (device id 0x51) have fan control.
548 * supports a 3rd fan, and the pin configuration registers are
768 * Some values (fan min, clock dividers, pwm registers) may be
945 MODULE_DESCRIPTION("SMSC LPC47M1xx fan sensors driver");