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 34 of file cstates.c.

References ARRAY_SIZE, and cst_entries.

Variable Documentation

◆ cst_entries

const acpi_cstate_t cst_entries[]
static
Initial value:
= {
{
.ctype = 1,
.latency = 1,
.power = 1000,
.resource = {
.addrl = 0,
.addrh = 0,
}
},
{
.ctype = 2,
.latency = 1,
.power = 500,
.resource = {
.addrl = 0x10,
.addrh = 0,
}
},
}
#define ACPI_ACCESS_SIZE_UNDEFINED
Definition: acpi.h:126
#define ACPI_FFIXEDHW_VENDOR_INTEL
Definition: acpi.h:116
#define ACPI_FFIXEDHW_CLASS_MWAIT
Definition: acpi.h:119
#define ACPI_ADDRESS_SPACE_FIXED
Definition: acpi.h:115

Definition at line 5 of file cstates.c.

Referenced by get_cst_entries().