cfg_thermal_temp.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /**
  19. * DOC: This file contains centralized definitions of converged configuration.
  20. */
  21. #ifndef __CFG_THERMAL_TEMP_H
  22. #define __CFG_THERMAL_TEMP_H
  23. #define CFG_THERMAL_TEMP_MIN_LEVEL0 CFG_INI_UINT( \
  24. "gThermalTempMinLevel0", \
  25. 0, \
  26. 1000, \
  27. 0, \
  28. CFG_VALUE_OR_DEFAULT, \
  29. "Thermal Temp Min Level0")
  30. #define CFG_THERMAL_TEMP_MAX_LEVEL0 CFG_INI_UINT( \
  31. "gThermalTempMaxLevel0", \
  32. 0, \
  33. 1000, \
  34. 90, \
  35. CFG_VALUE_OR_DEFAULT, \
  36. "Thermal Temp Max Level0")
  37. #define CFG_THERMAL_TEMP_MIN_LEVEL1 CFG_INI_UINT( \
  38. "gThermalTempMinLevel1", \
  39. 0, \
  40. 1000, \
  41. 70, \
  42. CFG_VALUE_OR_DEFAULT, \
  43. "Thermal Temp Min Level1")
  44. #define CFG_THERMAL_TEMP_MAX_LEVEL1 CFG_INI_UINT( \
  45. "gThermalTempMaxLevel1", \
  46. 0, \
  47. 1000, \
  48. 110, \
  49. CFG_VALUE_OR_DEFAULT, \
  50. "Thermal Temp Max Level1")
  51. #define CFG_THERMAL_TEMP_MIN_LEVEL2 CFG_INI_UINT( \
  52. "gThermalTempMinLevel2", \
  53. 0, \
  54. 1000, \
  55. 90, \
  56. CFG_VALUE_OR_DEFAULT, \
  57. "Thermal Temp Min Level2")
  58. #define CFG_THERMAL_TEMP_MAX_LEVEL2 CFG_INI_UINT( \
  59. "gThermalTempMaxLevel2", \
  60. 0, \
  61. 1000, \
  62. 125, \
  63. CFG_VALUE_OR_DEFAULT, \
  64. "Thermal Temp Max Level2")
  65. #define CFG_THERMAL_TEMP_MIN_LEVEL3 CFG_INI_UINT( \
  66. "gThermalTempMinLevel3", \
  67. 0, \
  68. 1000, \
  69. 110, \
  70. CFG_VALUE_OR_DEFAULT, \
  71. "Thermal Temp Min Level3")
  72. #define CFG_THERMAL_TEMP_MAX_LEVEL3 CFG_INI_UINT( \
  73. "gThermalTempMaxLevel3", \
  74. 0, \
  75. 1000, \
  76. 0, \
  77. CFG_VALUE_OR_DEFAULT, \
  78. "Thermal Temp Max Level3")
  79. #define CFG_THERMAL_TEMP_ALL \
  80. CFG(CFG_THERMAL_TEMP_MIN_LEVEL0) \
  81. CFG(CFG_THERMAL_TEMP_MAX_LEVEL0) \
  82. CFG(CFG_THERMAL_TEMP_MIN_LEVEL1) \
  83. CFG(CFG_THERMAL_TEMP_MAX_LEVEL1) \
  84. CFG(CFG_THERMAL_TEMP_MIN_LEVEL2) \
  85. CFG(CFG_THERMAL_TEMP_MAX_LEVEL2) \
  86. CFG(CFG_THERMAL_TEMP_MIN_LEVEL3) \
  87. CFG(CFG_THERMAL_TEMP_MAX_LEVEL3) \
  88. #endif