xref: /freebsd/sys/contrib/dev/rtw89/acpi.h (revision 02e9120893770924227138ba49df1edb3896112a)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2021-2023  Realtek Corporation
3  */
4 
5 #ifndef __RTW89_ACPI_H__
6 #define __RTW89_ACPI_H__
7 
8 #include "core.h"
9 
10 enum rtw89_acpi_dsm_func {
11 	RTW89_ACPI_DSM_FUNC_IDN_BAND_SUP = 2,
12 	RTW89_ACPI_DSM_FUNC_6G_DIS = 3,
13 	RTW89_ACPI_DSM_FUNC_6G_BP = 4,
14 	RTW89_ACPI_DSM_FUNC_TAS_EN = 5,
15 	RTW89_ACPI_DSM_FUNC_59G_EN = 6,
16 };
17 
18 int rtw89_acpi_evaluate_dsm(struct rtw89_dev *rtwdev,
19 			    enum rtw89_acpi_dsm_func func, u8 *value);
20 
21 #endif
22