Lines Matching refs:fan_min
137 u8 fan_min[2]; /* rw fan1_min */ member
216 if (data->fan_min[i] < 255 && in adm9240_update_measure()
217 data->fan_min[i] >= 2) in adm9240_update_measure()
218 data->fan_min[i] /= 2; in adm9240_update_measure()
242 &data->fan_min[0], 2); in adm9240_update_config()
477 return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[attr->index], in fan_min_show()
523 data->fan_min[nr] = 255; in fan_min_store()
531 data->fan_min[nr] = 254; in fan_min_store()
547 data->fan_min[nr] = new_min; in fan_min_store()
558 data->fan_min[nr]); in fan_min_store()
565 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0);
568 static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1);