Lines Matching refs:auto_temp
99 u8 auto_temp[3]; member
173 data->auto_temp[chan] = in adm1031_update_device()
407 AUTO_TEMP_OFF_FROM_REG(data->auto_temp[nr])); in show_auto_temp_off()
415 AUTO_TEMP_MIN_FROM_REG(data->auto_temp[nr])); in show_auto_temp_min()
433 data->auto_temp[nr] = AUTO_TEMP_MIN_TO_REG(val, data->auto_temp[nr]); in set_auto_temp_min()
435 data->auto_temp[nr]); in set_auto_temp_min()
445 AUTO_TEMP_MAX_FROM_REG(data->auto_temp[nr])); in show_auto_temp_max()
463 data->temp_max[nr] = AUTO_TEMP_MAX_TO_REG(val, data->auto_temp[nr], in set_auto_temp_max()
472 static SENSOR_DEVICE_ATTR(auto_temp##offset##_off, S_IRUGO, \
474 static SENSOR_DEVICE_ATTR(auto_temp##offset##_min, S_IRUGO | S_IWUSR, \
476 static SENSOR_DEVICE_ATTR(auto_temp##offset##_max, S_IRUGO | S_IWUSR, \
546 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[chan+1]); in trust_fan_readings()
551 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[1]); in trust_fan_readings()
556 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[2]); in trust_fan_readings()
561 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[0]) in trust_fan_readings()
563 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[1]) in trust_fan_readings()
566 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[2])); in trust_fan_readings()