Lines Matching defs:fan
162 u8 fan[2]; /* Register value */
452 return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan[nr],
514 /* Correct the fan minimum speed */
526 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, \
528 static SENSOR_DEVICE_ATTR(fan##offset##_div, S_IRUGO | S_IWUSR, \
530 static SENSOR_DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \
839 data->fan[i] = vt8231_read_value(data,
867 if (!data->fan[0] && data->fan_min[0]) {
869 } else if (data->fan[0] && !data->fan_min[0]) {
873 if (!data->fan[1] && data->fan_min[1]) {
875 } else if (data->fan[1] && !data->fan_min[1]) {