Lines Matching defs:fan
130 u8 fan[3]; /* Register value */
172 /* This chip (stupidly) stops monitoring fan speed if PWM is
174 and control concern the same fan, but troublesome if they are
177 FAN_FROM_REG(data->fan[nr],
257 /* Note: we save and restore the fan minimum here, because its value is
258 determined in part by the fan clock divider. This follows the principle
259 of least surprise; the user doesn't expect the fan minimum to change just
299 /* Preserve fan min */
353 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, get_fan, \
355 static SENSOR_DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \
357 static SENSOR_DEVICE_ATTR(fan##offset##_div, S_IRUGO | S_IWUSR, \
359 static SENSOR_DEVICE_ATTR(fan##offset##_alarm, S_IRUGO, get_fan_alarm, \
424 * (device id 0x5F) and LPC47B27x (device id 0x51) have fan control.
430 * supports a 3rd fan, and the pin configuration registers are
645 /* Some values (fan min, clock dividers, pwm registers) may be
771 data->fan[i] = smsc47m1_read_value(data,
894 MODULE_DESCRIPTION("SMSC LPC47M1xx fan sensors driver");