coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smu.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef AMD_PICASSO_SMU_H
4
#define AMD_PICASSO_SMU_H
5
6
/* SMU mailbox register offsets in SMN */
7
#define SMN_SMU_MESG_ID 0x3b10528
8
#define SMN_SMU_MESG_RESP 0x3b10564
9
#define SMN_SMU_MESG_ARGS_BASE 0x3b10998
10
11
#define SMU_NUM_ARGS 6
12
13
enum
smu_message_id
{
14
SMC_MSG_S3ENTRY
= 0x0c,
15
};
16
17
/*
18
* Request the SMU put system into S3, S4, or S5. On entry, SlpTyp determines S-State and
19
* SlpTypeEn gets set by the SMU. Function does not return if successful.
20
*/
21
void
smu_sx_entry
(
void
);
22
23
#endif
/* AMD_PICASSO_SMU_H */
smu_sx_entry
void smu_sx_entry(void)
Definition:
smu.c:11
smu_message_id
smu_message_id
Definition:
smu.h:13
SMC_MSG_S3ENTRY
@ SMC_MSG_S3ENTRY
Definition:
smu.h:14
src
soc
amd
picasso
include
soc
smu.h
Generated by
1.9.1