1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpigen.h>
4 #include <southbridge/intel/i82801gx/i82801gx.h>
6 static const acpi_cstate_t cst_entries
[] = {
10 { ACPI_ADDRESS_SPACE_FIXED
, 1, 2, 1, 0, 0 }
13 /* ACPI C2 / CPU C2 */
15 { ACPI_ADDRESS_SPACE_IO
, 8, 0, 0, DEFAULT_PMBASE
+ LV2
, 0 }
18 /* ACPI C3 / CPU C2 */
20 { ACPI_ADDRESS_SPACE_IO
, 8, 0, 0, DEFAULT_PMBASE
+ LV3
, 0 }
24 int get_cst_entries(const acpi_cstate_t
**entries
)
26 *entries
= cst_entries
;
27 return ARRAY_SIZE(cst_entries
);