coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pm.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef _SOC_PM_H_
4
#define _SOC_PM_H_
5
6
#include <
stdint.h
>
7
#include <
acpi/acpi.h
>
8
9
struct
chipset_power_state
{
10
uint32_t
prev_sleep_state
;
11
}
__packed
;
12
13
struct
chipset_power_state
*
get_power_state
(
void
);
14
int
fill_power_state
(
void
);
15
16
/* STM Support */
17
uint16_t
get_pmbase
(
void
);
18
19
#endif
/* _SOC_PM_H_ */
get_pmbase
uint16_t get_pmbase(void)
Definition:
pmutil.c:254
__packed
struct chipset_power_state __packed
fill_power_state
struct chipset_power_state * fill_power_state(void)
Definition:
romstage.c:31
acpi.h
get_power_state
struct chipset_power_state * get_power_state(void)
Definition:
fsp_params.c:51
stdint.h
uint16_t
unsigned short uint16_t
Definition:
stdint.h:11
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
chipset_power_state
Definition:
acpi.h:48
chipset_power_state::prev_sleep_state
uint32_t prev_sleep_state
Definition:
pm.h:153
src
soc
intel
quark
include
soc
pm.h
Generated by
1.9.1