Home
last modified time | relevance | path

Searched refs:auto_temp (Results 1 – 5 of 5) sorted by relevance

/drivers/hwmon/
Dadm1031.c86 u8 auto_temp[3]; member
160 data->auto_temp[chan] = in adm1031_update_device()
391 AUTO_TEMP_OFF_FROM_REG(data->auto_temp[nr])); in auto_temp_off_show()
399 AUTO_TEMP_MIN_FROM_REG(data->auto_temp[nr])); in auto_temp_min_show()
417 data->auto_temp[nr] = AUTO_TEMP_MIN_TO_REG(val, data->auto_temp[nr]); in auto_temp_min_store()
419 data->auto_temp[nr]); in auto_temp_min_store()
429 AUTO_TEMP_MAX_FROM_REG(data->auto_temp[nr])); in auto_temp_max_show()
447 data->temp_max[nr] = AUTO_TEMP_MAX_TO_REG(val, data->auto_temp[nr], in auto_temp_max_store()
526 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[chan+1]); in trust_fan_readings()
531 AUTO_TEMP_MIN_FROM_REG_DEG(data->auto_temp[1]); in trust_fan_readings()
[all …]
Dit87.c565 s8 auto_temp[NUM_AUTO_PWM][5]; /* [nr][0] is point1_temp_hyst */ member
707 data->auto_temp[nr][i] = it87_read_value(data, in it87_update_pwm_ctrl()
721 data->auto_temp[nr][0] = in it87_update_pwm_ctrl()
725 data->auto_temp[nr][i + 1] = in it87_update_pwm_ctrl()
1275 if (data->auto_temp[nr][i] > data->auto_temp[nr][i + 1]) in check_trip_points()
1284 if (data->auto_temp[nr][i] > data->auto_temp[nr][i + 1]) in check_trip_points()
1588 reg = data->auto_temp[nr][point]; in show_auto_temp()
1590 reg = data->auto_temp[nr][1] - (data->auto_temp[nr][0] & 0x1f); in show_auto_temp()
1611 reg = data->auto_temp[nr][1] - TEMP_TO_REG(val); in set_auto_temp()
1612 reg = clamp_val(reg, 0, 0x1f) | (data->auto_temp[nr][0] & 0xe0); in set_auto_temp()
[all …]
Dnct6775.h153 u8 auto_temp[NUM_FAN][7]; member
Dnct6775-core.c1435 data->auto_temp[i][j] = reg; in nct6775_update_pwm_limits()
1442 data->auto_temp[i][data->auto_pwm_num] = reg; in nct6775_update_pwm_limits()
2502 if (data->auto_temp[nr][i] > data->auto_temp[nr][i + 1]) in check_trip_points()
2511 if (data->auto_temp[nr][data->auto_pwm_num - 1] > in check_trip_points()
2512 data->auto_temp[nr][data->auto_pwm_num] || in check_trip_points()
3156 return sprintf(buf, "%d\n", data->auto_temp[nr][point] * 1000); in show_auto_temp()
3177 data->auto_temp[nr][point] = DIV_ROUND_CLOSEST(val, 1000); in store_auto_temp()
3180 data->auto_temp[nr][point]); in store_auto_temp()
3183 data->auto_temp[nr][point]); in store_auto_temp()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c446 const s8 auto_temp = -1; in phy_get_tx_swing_8812A() local
496 if (reg_swing_2g == auto_temp) { in phy_get_tx_swing_8812A()
511 if (reg_swing_5g == auto_temp) { in phy_get_tx_swing_8812A()