Lines Matching refs:fan_min
184 u8 fan_min[2]; /* Register value */ member
375 return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], in fan_min_show()
393 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in fan_min_store()
394 sis5595_write_value(data, SIS5595_REG_FAN_MIN(nr), data->fan_min[nr]); in fan_min_store()
430 min = FAN_FROM_REG(data->fan_min[nr], in fan_div_store()
464 data->fan_min[nr] = in fan_div_store()
466 sis5595_write_value(data, SIS5595_REG_FAN_MIN(nr), data->fan_min[nr]); in fan_div_store()
472 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0);
475 static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1);
615 data->fan_min[i] = sis5595_read_value(data, in sis5595_probe()
712 data->fan_min[i] = in sis5595_update_device()