![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | mt8173_pwrap_regs |
Enumerations | |
enum | { WACS2 = 1 << 4 } |
enum | { DEW_BASE = 0xBC00 } |
enum | { PMIC_BASE = 0x0000 , PMIC_WRP_CKPDN = PMIC_BASE + 0x011A , PMIC_WRP_RST_CON = PMIC_BASE + 0x0120 , PMIC_TOP_CKCON2 = PMIC_BASE + 0x012A , PMIC_TOP_CKCON3 = PMIC_BASE + 0x01D4 } |
enum | { DEW_EVENT_OUT_EN = DEW_BASE + 0x0 , DEW_DIO_EN = DEW_BASE + 0x2 , DEW_EVENT_SRC_EN = DEW_BASE + 0x4 , DEW_EVENT_SRC = DEW_BASE + 0x6 , DEW_EVENT_FLAG = DEW_BASE + 0x8 , DEW_READ_TEST = DEW_BASE + 0xA , DEW_WRITE_TEST = DEW_BASE + 0xC , DEW_CRC_EN = DEW_BASE + 0xE , DEW_CRC_VAL = DEW_BASE + 0x10 , DEW_MON_GRP_SEL = DEW_BASE + 0x12 , DEW_MON_FLAG_SEL = DEW_BASE + 0x14 , DEW_EVENT_TEST = DEW_BASE + 0x16 , DEW_CIPHER_KEY_SEL = DEW_BASE + 0x18 , DEW_CIPHER_IV_SEL = DEW_BASE + 0x1A , DEW_CIPHER_LOAD = DEW_BASE + 0x1C , DEW_CIPHER_START = DEW_BASE + 0x1E , DEW_CIPHER_RDY = DEW_BASE + 0x20 , DEW_CIPHER_MODE = DEW_BASE + 0x22 , DEW_CIPHER_SWRST = DEW_BASE + 0x24 , DEW_CIPHER_IV0 = DEW_BASE + 0x26 , DEW_CIPHER_IV1 = DEW_BASE + 0x28 , DEW_CIPHER_IV2 = DEW_BASE + 0x2A , DEW_CIPHER_IV3 = DEW_BASE + 0x2C , DEW_CIPHER_IV4 = DEW_BASE + 0x2E , DEW_CIPHER_IV5 = DEW_BASE + 0x30 } |
enum | pmic_regck { REG_CLOCK_18MHZ , REG_CLOCK_26MHZ , REG_CLOCK_SAFE_MODE } |
Functions | |
check_member (mt8173_pwrap_regs, dcm_dbc_prd, 0x148) | |
Variables | |
static struct mt8173_pwrap_regs *const | mtk_pwrap = (void *)PMIC_WRAP_BASE |
anonymous enum |
Enumerator | |
---|---|
WACS2 |
Definition at line 12 of file pmic_wrap.h.
anonymous enum |
Enumerator | |
---|---|
DEW_BASE |
Definition at line 16 of file pmic_wrap.h.
anonymous enum |
Enumerator | |
---|---|
PMIC_BASE | |
PMIC_WRP_CKPDN | |
PMIC_WRP_RST_CON | |
PMIC_TOP_CKCON2 | |
PMIC_TOP_CKCON3 |
Definition at line 21 of file pmic_wrap.h.
anonymous enum |
Definition at line 116 of file pmic_wrap.h.
enum pmic_regck |
Enumerator | |
---|---|
REG_CLOCK_18MHZ | |
REG_CLOCK_26MHZ | |
REG_CLOCK_SAFE_MODE |
Definition at line 144 of file pmic_wrap.h.
check_member | ( | mt8173_pwrap_regs | , |
dcm_dbc_prd | , | ||
0x148 | |||
) |
|
static |
Definition at line 10 of file pmic_wrap.h.
Referenced by pwrap_enable(), pwrap_init(), pwrap_init_dio(), pwrap_init_reg_clock(), pwrap_init_sidly(), pwrap_init_sistrobe(), pwrap_initstaupd(), pwrap_reset_spislv(), pwrap_starve_set(), and pwrap_wacs2().