1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpigen.h>
5 static const acpi_cstate_t cst_entries
[] = {
9 { ACPI_ADDRESS_SPACE_FIXED
, 1, 2, 1, 0, 0 }
12 /* ACPI C2 / CPU C2 */
14 { ACPI_ADDRESS_SPACE_FIXED
, 1, 2, 1, 0x10, 0 }
17 /* acpi C3 / cpu C3 */
19 { ACPI_ADDRESS_SPACE_FIXED
, 1, 2, 1, 0x20, 0 }
23 int get_cst_entries(const acpi_cstate_t
**entries
)
25 *entries
= cst_entries
;
26 return ARRAY_SIZE(cst_entries
);