aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/common/env_ctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/common/env_ctrl.h')
-rw-r--r--src/superio/ite/common/env_ctrl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/superio/ite/common/env_ctrl.h b/src/superio/ite/common/env_ctrl.h
index 8ce682e4d0..020f383be7 100644
--- a/src/superio/ite/common/env_ctrl.h
+++ b/src/superio/ite/common/env_ctrl.h
@@ -114,8 +114,10 @@ static const u8 ITE_EC_TEMP_ADJUST[] = { 0x56, 0x57, 0x59 };
#define ITE_EC_BEEP_ON_VIN_LIMIT (1 << 1)
#define ITE_EC_BEEP_ON_FAN_LIMIT (1 << 0)
#define ITE_EC_BEEP_FREQ_DIV_OF_FAN 0x5D
-#define ITE_EC_BEEP_FREQ_DIV_OF_VOLT 0x5E
-#define ITE_EC_BEEP_FREQ_DIV_OF_TEMP 0x5F
+#define ITE_EC_BEEP_FREQ_DIV_OF_VIN 0x5E
+#define ITE_EC_BEEP_FREQ_DIV_OF_TMPIN 0x5F
+#define ITE_EC_BEEP_TONE_DIVISOR(x) (((x) & 0x0f) << 4)
+#define ITE_EC_BEEP_FREQ_DIVISOR(x) (((x) & 0x0f) << 0)
#define ITE_EC_FAN_CTL_TEMP_LIMIT_OFF(x) (0x60 + ((x)-1) * 8)
#define ITE_EC_FAN_CTL_TEMP_LIMIT_START(x) (0x61 + ((x)-1) * 8)