1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Generation of x86-specific ACPI tables
4  *
5  * Copyright 2020 Google LLC
6  */
7 
8 #ifndef __ASM_ACPIGEN_H__
9 #define __ASM_ACPIGEN_H__
10 
11 struct acpi_ctx;
12 
13 /**
14  * acpigen_write_empty_pct() - Write an empty PCT
15  *
16  * See ACPI v6.3 section 8.4.6.1: _PCT (Performance Control)
17  *
18  * This writes an empty table so that CPU performance works as expected
19  *
20  * @ctx: ACPI context pointer
21  */
22 void acpigen_write_empty_pct(struct acpi_ctx *ctx);
23 
24 /**
25  * acpigen_write_empty_ptc() - Write an empty PTC
26  *
27  * See ACPI v6.3 section 8.4.5.1: _PTC (Processor Throttling Control)
28  *
29  * This writes an empty table so that CPU performance works as expected
30  *
31  * @ctx: ACPI context pointer
32  */
33 void acpigen_write_empty_ptc(struct acpi_ctx *ctx);
34 
35 #endif /* __ASM_ACPI_H__ */
36