coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cstates.c File Reference
#include <acpi/acpigen.h>
Include dependency graph for cstates.c:

Go to the source code of this file.

Functions

int get_cst_entries (const acpi_cstate_t **entries)
 

Variables

static const acpi_cstate_t cst_entries []
 

Function Documentation

◆ get_cst_entries()

int get_cst_entries ( const acpi_cstate_t **  entries)

Definition at line 23 of file cstates.c.

References ARRAY_SIZE, and cst_entries.

Variable Documentation

◆ cst_entries

const acpi_cstate_t cst_entries[]
static
Initial value:
= {
{
1, 0x01, 1000,
{ ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0, 0 }
},
{
2, 0x01, 500,
{ ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0x10, 0 }
},
{
3, 0x37, 250,
{ ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0x20, 0 }
},
}
#define ACPI_ADDRESS_SPACE_FIXED
Definition: acpi.h:115

Definition at line 5 of file cstates.c.

Referenced by get_cst_entries().