Searched refs:auto_temp (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dadm1031.c99 u8 auto_temp[3]; member in struct:adm1031_data
173 data->auto_temp[chan] = adm1031_update_device()
407 AUTO_TEMP_OFF_FROM_REG(data->auto_temp[nr])); show_auto_temp_off()
415 AUTO_TEMP_MIN_FROM_REG(data->auto_temp[nr])); show_auto_temp_min()
433 data->auto_temp[nr] = AUTO_TEMP_MIN_TO_REG(val, data->auto_temp[nr]); set_auto_temp_min()
435 data->auto_temp[nr]); set_auto_temp_min()
445 AUTO_TEMP_MAX_FROM_REG(data->auto_temp[nr])); show_auto_temp_max()
463 data->temp_max[nr] = AUTO_TEMP_MAX_TO_REG(val, data->auto_temp[nr], 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]); trust_fan_readings()
551 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[1]); trust_fan_readings()
556 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[2]); trust_fan_readings()
561 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[0]) trust_fan_readings()
563 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[1]) trust_fan_readings()
566 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[2])); trust_fan_readings()
H A Dnct6775.c964 u8 auto_temp[NUM_FAN][7]; member in struct:nct6775_data
1483 data->auto_temp[i][j] = nct6775_update_pwm_limits()
1489 data->auto_temp[i][data->auto_pwm_num] = nct6775_update_pwm_limits()
2370 if (data->auto_temp[nr][i] > data->auto_temp[nr][i + 1]) check_trip_points()
2379 if (data->auto_temp[nr][data->auto_pwm_num - 1] > check_trip_points()
2380 data->auto_temp[nr][data->auto_pwm_num] || check_trip_points()
2953 return sprintf(buf, "%d\n", data->auto_temp[nr][point] * 1000); show_auto_temp()
2974 data->auto_temp[nr][point] = DIV_ROUND_CLOSEST(val, 1000); store_auto_temp()
2978 data->auto_temp[nr][point]); store_auto_temp()
2981 data->auto_temp[nr][point]); store_auto_temp()
H A Dit87.c487 s8 auto_temp[3][5]; /* [nr][0] is point1_temp_hyst */ member in struct:it87_data
1009 if (data->auto_temp[nr][i] > data->auto_temp[nr][i + 1]) check_trip_points()
1254 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->auto_temp[nr][point])); show_auto_temp()
1271 data->auto_temp[nr][point] = TEMP_TO_REG(val); set_auto_temp()
1273 data->auto_temp[nr][point]); set_auto_temp()
2657 data->auto_temp[nr][i] = it87_read_value(data, it87_update_pwm_ctrl()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c374 const char auto_temp = -1; phy_get_tx_swing_8812A() local
424 if (reg_swing_2g == auto_temp) { phy_get_tx_swing_8812A()
439 if (reg_swing_5g == auto_temp) { phy_get_tx_swing_8812A()

Completed in 236 milliseconds