Lines Matching refs:fan
193 * Some chips filter the temp, others the fan.
281 #define PPR_MASK(fan) (0x03<<(fan *2))
282 #define PPR_TO_REG(val,fan) (SENSORS_LIMIT((val)-1,0,3)<<(fan *2))
283 #define PPR_FROM_REG(val,fan) ((((val)>>(fan * 2))&0x03)+1)
293 * given the automatic PWM fan control that is possible. There
301 /* LM85 can automatically adjust fan speeds based on temperature
346 u16 fan[4]; /* Register value */
393 return sprintf(buf,"%d\n", FAN_FROM_REG(data->fan[nr]) );
428 static DEVICE_ATTR(fan##offset##_input, S_IRUGO, show_fan_##offset, \
430 static DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \
1442 data->fan[i] =