1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpigen.h>
5 static const acpi_cstate_t cst_entries
[] = {
11 .space_id
= ACPI_ADDRESS_SPACE_FIXED
,
12 .bit_width
= ACPI_FFIXEDHW_VENDOR_INTEL
,
13 .bit_offset
= ACPI_FFIXEDHW_CLASS_MWAIT
,
14 .access_size
= ACPI_ACCESS_SIZE_UNDEFINED
,
24 .space_id
= ACPI_ADDRESS_SPACE_FIXED
,
25 .bit_width
= ACPI_FFIXEDHW_VENDOR_INTEL
,
26 .bit_offset
= ACPI_FFIXEDHW_CLASS_MWAIT
,
27 .access_size
= ACPI_ACCESS_SIZE_UNDEFINED
,
34 int get_cst_entries(const acpi_cstate_t
**entries
)
36 *entries
= cst_entries
;
37 return ARRAY_SIZE(cst_entries
);