Lines Matching refs:fan_min
127 u8 fan_min[3]; /* Register value */ member
309 return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], in fan_min_show()
327 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in fan_min_store()
328 lm78_write_value(data, LM78_REG_FAN_MIN(nr), data->fan_min[nr]); in fan_min_store()
363 min = FAN_FROM_REG(data->fan_min[nr], in fan_div_store()
398 data->fan_min[nr] = in fan_div_store()
400 lm78_write_value(data, LM78_REG_FAN_MIN(nr), data->fan_min[nr]); in fan_div_store()
407 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0);
409 static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1);
411 static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2);
724 data->fan_min[i] = lm78_read_value(data, in lm78_init_device()
754 data->fan_min[i] = in lm78_update_device()