Lines Matching +full:aac +full:- +full:mode

1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2005-2014 Dell Inc.
23 #include "dell-smbios.h"
42 /* Derived from smbios-thermal-ctl
49 * cbRES1 Standard return codes (0, -1, -2)
50 * cbRES2, byte 0 Bitmap of supported thermal modes. A mode is supported if
56 * cbRES2, byte 1 Bitmap of supported Active Acoustic Controller (AAC) modes.
57 * Each mode corresponds to the supported thermal modes in
58 * byte 0. A mode is supported if its bit is set to 1.
59 * Bit 0 AAC (Balanced)
60 * Bit 1 AAC (Cool Bottom
61 * Bit 2 AAC (Quiet)
62 * Bit 3 AAC (Performance)
63 * cbRes3, byte 0 Current Thermal Mode
68 * cbRes3, byte 1 AAC Configuration type
69 * 0 Global (AAC enable/disable applies to all supported USTT modes)
70 * 1 USTT mode specific
71 * cbRes3, byte 2 Current Active Acoustic Controller (AAC) Mode
72 * If AAC Configuration Type is Global,
73 * 0 AAC mode disabled
74 * 1 AAC mode enabled
75 * If AAC Configuration Type is USTT mode specific (multiple bits may be set),
76 * Bit 0 AAC (Balanced)
77 * Bit 1 AAC (Cool Bottom
78 * Bit 2 AAC (Quiet)
79 * Bit 3 AAC (Performance)
80 * cbRes3, byte 3 Current Fan Failure Mode
84 * cbArg1 0x1 (Set Thermal Information), both desired thermal mode and
85 * desired AAC mode shall be applied
86 * cbArg2, byte 0 Desired Thermal Mode to set
92 * cbArg2, byte 1 Desired Active Acoustic Controller (AAC) Mode to set
93 * If AAC Configuration Type is Global,
94 * 0 AAC mode disabled
95 * 1 AAC mode enabled
96 * If AAC Configuration Type is USTT mode specific
98 * Bit 0 AAC (Balanced)
99 * Bit 1 AAC (Cool Bottom
100 * Bit 2 AAC (Quiet)
101 * Bit 3 AAC (Performance)
137 return -ENXIO; in thermal_get_mode()
148 if (ret == -ENXIO) { in thermal_get_supported_modes()
198 return -EOPNOTSUPP; in thermal_platform_profile_set()
225 return -EINVAL; in thermal_platform_profile_get()
249 return -ENOMEM; in thermal_init()
250 thermal_handler->profile_get = thermal_platform_profile_get; in thermal_init()
251 thermal_handler->profile_set = thermal_platform_profile_set; in thermal_init()
254 set_bit(PLATFORM_PROFILE_QUIET, thermal_handler->choices); in thermal_init()
256 set_bit(PLATFORM_PROFILE_COOL, thermal_handler->choices); in thermal_init()
258 set_bit(PLATFORM_PROFILE_BALANCED, thermal_handler->choices); in thermal_init()
260 set_bit(PLATFORM_PROFILE_PERFORMANCE, thermal_handler->choices); in thermal_init()
285 return -ENODEV; in dell_init()