1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2019-2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
7 #ifndef __iwl_fw_api_system_h__
8 #define __iwl_fw_api_system_h__
10 #define SOC_CONFIG_CMD_FLAGS_DISCRETE BIT(0)
11 #define SOC_CONFIG_CMD_FLAGS_LOW_LATENCY BIT(1)
13 #define SOC_FLAGS_LTR_APPLY_DELAY_MASK 0xc
14 #define SOC_FLAGS_LTR_APPLY_DELAY_NONE 0
15 #define SOC_FLAGS_LTR_APPLY_DELAY_200 1
16 #define SOC_FLAGS_LTR_APPLY_DELAY_2500 2
17 #define SOC_FLAGS_LTR_APPLY_DELAY_1820 3
20 * struct iwl_soc_configuration_cmd - Set device stabilization latency
22 * @flags: soc settings flags. In VER_1, we can only set the DISCRETE
23 * flag, because the FW treats the whole value as an integer. In
24 * VER_2, we can set the bits independently.
25 * @latency: time for SOC to ensure stable power & XTAL
27 struct iwl_soc_configuration_cmd {
31 * SOC_CONFIGURATION_CMD_S_VER_1 (see description above)
32 * SOC_CONFIGURATION_CMD_S_VER_2
36 * struct iwl_system_features_control_cmd - system features control command
37 * @features: bitmap of features to disable
39 struct iwl_system_features_control_cmd {
41 } __packed; /* SYSTEM_FEATURES_CONTROL_CMD_API_S_VER_1 */
43 #endif /* __iwl_fw_api_system_h__ */