coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
f81803a.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LDN_REG   0x07 /* Not defined under PNP */
 
#define F81803A_SP1   0x01 /* UART1 */
 
#define F81803A_SP2   0x02 /* UART2 */
 
#define F81803A_HWM   0x04 /* Hardware Monitor */
 
#define F81803A_KBC   0x05 /* Keyboard/Mouse */
 
#define F81803A_GPIO   0x06 /* General Purpose I/O (GPIO) */
 
#define F81803A_WDT   0x07 /* Watch Dog Timer */
 
#define F81803A_PME   0x0a /* Power Management Events (PME) */
 
#define CLOCK_SELECT_REG   0x26
 
#define FUNC_PROG_SELECT   (1<<3)
 
#define PORT_SELECT_REG   0x27
 
#define TSI_LEVEL_SELECT_REG   0x28 /* FUNC_PROG_SEL = 0 */
 
#define TSI_PIN_SELECT_REG   0x28 /* FUNC_PROG_SEL = 1 */
 
#define MULTI_FUNC_SEL_REG1   0x29
 
#define MULTI_FUNC_SEL_REG2   0x2A
 
#define MULTI_FUNC_SEL_REG3   0x2B
 
#define MULTI_FUNC_SEL_REG   0x2C
 
#define WAKEUP_CONTROL_REG   0x2d
 
#define PME_DEVICE_ENABLE_REG   0x30
 
#define PME_ENABLE   (1<<0)
 
#define PME_ERP_ENABLE_REG   0xE0
 
#define ERP_ENABLE   (1<<7)
 
#define ERP_PME_EN   (1<<1)
 
#define ERP_PSOUT_EN   (1<<0)
 
#define PME_ERP_CONTROL_1_REG   0xE1
 
#define PME_ERP_CONTROL_2_REG   0xE2
 
#define PME_ERP_PSIN_DEBOUNCE_REG   0xE3
 
#define PME_ERP_WAKEUP_ENABLE_REG   0xE8
 
#define PME_ERP_MODE_SELECT_REG   0xEC
 
#define PME_EVENT_ENABLE_1_REG   0xF0
 
#define PME_EVENT_STATUS_1_REG   0xF1
 
#define PME_EVENT_ENABLE_2_REG   0xF2
 
#define PME_EVENT_STATUS_2_REG   0xF3
 
#define PME_ACPI_CONTROL_1_REG   0xF4
 
#define PME_ACPI_CONTROL_2_REG   0xF5
 
#define PME_ACPI_CONTROL_3_REG   0xF6
 
#define PME_ACPI_CONTROL_4_REG   0xF7
 
#define PME_ACPI_CONTROL_5_REG   0xFB
 
#define PME_ACPI_CONTROL_6_REG   0xFC
 

Macro Definition Documentation

◆ CLOCK_SELECT_REG

#define CLOCK_SELECT_REG   0x26

Definition at line 22 of file f81803a.h.

◆ ERP_ENABLE

#define ERP_ENABLE   (1<<7)

Definition at line 38 of file f81803a.h.

◆ ERP_PME_EN

#define ERP_PME_EN   (1<<1)

Definition at line 39 of file f81803a.h.

◆ ERP_PSOUT_EN

#define ERP_PSOUT_EN   (1<<0)

Definition at line 40 of file f81803a.h.

◆ F81803A_GPIO

#define F81803A_GPIO   0x06 /* General Purpose I/O (GPIO) */

Definition at line 17 of file f81803a.h.

◆ F81803A_HWM

#define F81803A_HWM   0x04 /* Hardware Monitor */

Definition at line 15 of file f81803a.h.

◆ F81803A_KBC

#define F81803A_KBC   0x05 /* Keyboard/Mouse */

Definition at line 16 of file f81803a.h.

◆ F81803A_PME

#define F81803A_PME   0x0a /* Power Management Events (PME) */

Definition at line 19 of file f81803a.h.

◆ F81803A_SP1

#define F81803A_SP1   0x01 /* UART1 */

Definition at line 13 of file f81803a.h.

◆ F81803A_SP2

#define F81803A_SP2   0x02 /* UART2 */

Definition at line 14 of file f81803a.h.

◆ F81803A_WDT

#define F81803A_WDT   0x07 /* Watch Dog Timer */

Definition at line 18 of file f81803a.h.

◆ FUNC_PROG_SELECT

#define FUNC_PROG_SELECT   (1<<3)

Definition at line 23 of file f81803a.h.

◆ LDN_REG

#define LDN_REG   0x07 /* Not defined under PNP */

Definition at line 11 of file f81803a.h.

◆ MULTI_FUNC_SEL_REG

#define MULTI_FUNC_SEL_REG   0x2C

Definition at line 31 of file f81803a.h.

◆ MULTI_FUNC_SEL_REG1

#define MULTI_FUNC_SEL_REG1   0x29

Definition at line 28 of file f81803a.h.

◆ MULTI_FUNC_SEL_REG2

#define MULTI_FUNC_SEL_REG2   0x2A

Definition at line 29 of file f81803a.h.

◆ MULTI_FUNC_SEL_REG3

#define MULTI_FUNC_SEL_REG3   0x2B

Definition at line 30 of file f81803a.h.

◆ PME_ACPI_CONTROL_1_REG

#define PME_ACPI_CONTROL_1_REG   0xF4

Definition at line 50 of file f81803a.h.

◆ PME_ACPI_CONTROL_2_REG

#define PME_ACPI_CONTROL_2_REG   0xF5

Definition at line 51 of file f81803a.h.

◆ PME_ACPI_CONTROL_3_REG

#define PME_ACPI_CONTROL_3_REG   0xF6

Definition at line 52 of file f81803a.h.

◆ PME_ACPI_CONTROL_4_REG

#define PME_ACPI_CONTROL_4_REG   0xF7

Definition at line 53 of file f81803a.h.

◆ PME_ACPI_CONTROL_5_REG

#define PME_ACPI_CONTROL_5_REG   0xFB

Definition at line 54 of file f81803a.h.

◆ PME_ACPI_CONTROL_6_REG

#define PME_ACPI_CONTROL_6_REG   0xFC

Definition at line 55 of file f81803a.h.

◆ PME_DEVICE_ENABLE_REG

#define PME_DEVICE_ENABLE_REG   0x30

Definition at line 35 of file f81803a.h.

◆ PME_ENABLE

#define PME_ENABLE   (1<<0)

Definition at line 36 of file f81803a.h.

◆ PME_ERP_CONTROL_1_REG

#define PME_ERP_CONTROL_1_REG   0xE1

Definition at line 41 of file f81803a.h.

◆ PME_ERP_CONTROL_2_REG

#define PME_ERP_CONTROL_2_REG   0xE2

Definition at line 42 of file f81803a.h.

◆ PME_ERP_ENABLE_REG

#define PME_ERP_ENABLE_REG   0xE0

Definition at line 37 of file f81803a.h.

◆ PME_ERP_MODE_SELECT_REG

#define PME_ERP_MODE_SELECT_REG   0xEC

Definition at line 45 of file f81803a.h.

◆ PME_ERP_PSIN_DEBOUNCE_REG

#define PME_ERP_PSIN_DEBOUNCE_REG   0xE3

Definition at line 43 of file f81803a.h.

◆ PME_ERP_WAKEUP_ENABLE_REG

#define PME_ERP_WAKEUP_ENABLE_REG   0xE8

Definition at line 44 of file f81803a.h.

◆ PME_EVENT_ENABLE_1_REG

#define PME_EVENT_ENABLE_1_REG   0xF0

Definition at line 46 of file f81803a.h.

◆ PME_EVENT_ENABLE_2_REG

#define PME_EVENT_ENABLE_2_REG   0xF2

Definition at line 48 of file f81803a.h.

◆ PME_EVENT_STATUS_1_REG

#define PME_EVENT_STATUS_1_REG   0xF1

Definition at line 47 of file f81803a.h.

◆ PME_EVENT_STATUS_2_REG

#define PME_EVENT_STATUS_2_REG   0xF3

Definition at line 49 of file f81803a.h.

◆ PORT_SELECT_REG

#define PORT_SELECT_REG   0x27

Definition at line 24 of file f81803a.h.

◆ TSI_LEVEL_SELECT_REG

#define TSI_LEVEL_SELECT_REG   0x28 /* FUNC_PROG_SEL = 0 */

Definition at line 26 of file f81803a.h.

◆ TSI_PIN_SELECT_REG

#define TSI_PIN_SELECT_REG   0x28 /* FUNC_PROG_SEL = 1 */

Definition at line 27 of file f81803a.h.

◆ WAKEUP_CONTROL_REG

#define WAKEUP_CONTROL_REG   0x2d

Definition at line 32 of file f81803a.h.