blob: c531dd61d532c23a8f6f26a4c1fffe9b57c9f6c4 [file] [log] [blame]
Simon Glass9bd4e9d2020-09-22 12:45:12 -06001/* 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
11struct 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 */
22void 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 */
33void acpigen_write_empty_ptc(struct acpi_ctx *ctx);
34
35#endif /* __ASM_ACPI_H__ */