summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/quark/include/soc/pm.h
blob: 7a08c6ed9af1ba34e78c433eb92fbc569bd36126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _SOC_PM_H_
#define _SOC_PM_H_

#include <stdint.h>
#include <acpi/acpi.h>

struct chipset_power_state {
	uint32_t prev_sleep_state;
} __packed;

struct chipset_power_state *get_power_state(void);
int fill_power_state(void);

/* STM Support */
uint16_t get_pmbase(void);

#endif /* _SOC_PM_H_ */