coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h File Reference
#include <soc/gpe.h>
#include <soc/gpio.h>
Include dependency graph for gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPIO_EC_IN_RW   GPP_C6
 
#define GPIO_PCH_WP   GPP_C23
 
#define GPIO_MEM_CONFIG_0   GPP_C12
 
#define GPIO_MEM_CONFIG_1   GPP_C13
 
#define GPIO_MEM_CONFIG_2   GPP_C14
 
#define GPIO_MEM_CONFIG_3   GPP_C15
 
#define GPE_EC_WAKE   GPE0_LAN_WAK
 
#define EC_SCI_GPI   GPE0_ESPI
 
#define EN_PP3300_DX_CAM   GPP_D12
 

Variables

static const struct pad_config gpio_table []
 
static const struct pad_config early_gpio_table []
 

Macro Definition Documentation

◆ EC_SCI_GPI

#define EC_SCI_GPI   GPE0_ESPI

Definition at line 25 of file gpio.h.

◆ EN_PP3300_DX_CAM

#define EN_PP3300_DX_CAM   GPP_D12

Definition at line 28 of file gpio.h.

◆ GPE_EC_WAKE

#define GPE_EC_WAKE   GPE0_LAN_WAK

Definition at line 22 of file gpio.h.

◆ GPIO_EC_IN_RW

#define GPIO_EC_IN_RW   GPP_C6

Definition at line 10 of file gpio.h.

◆ GPIO_MEM_CONFIG_0

#define GPIO_MEM_CONFIG_0   GPP_C12

Definition at line 16 of file gpio.h.

◆ GPIO_MEM_CONFIG_1

#define GPIO_MEM_CONFIG_1   GPP_C13

Definition at line 17 of file gpio.h.

◆ GPIO_MEM_CONFIG_2

#define GPIO_MEM_CONFIG_2   GPP_C14

Definition at line 18 of file gpio.h.

◆ GPIO_MEM_CONFIG_3

#define GPIO_MEM_CONFIG_3   GPP_C15

Definition at line 19 of file gpio.h.

◆ GPIO_PCH_WP

#define GPIO_PCH_WP   GPP_C23

Definition at line 13 of file gpio.h.

Variable Documentation

◆ early_gpio_table

const struct pad_config early_gpio_table[]
static
Initial value:
= {
PAD_CFG_NF(GPP_C18, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_C19, NONE, DEEP, NF1),
DEEP),
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
DEEP),
}
#define GPP_E0
#define GPP_C23
#define GPP_C18
#define GPP_C20
#define GPP_C6
#define GPP_C21
#define GPP_C19
#define PAD_CFG_NF(pad, pull, rst, func)
Definition: gpio_defs.h:197
#define PAD_CFG_GPI_APIC_LOW(pad, pull, rst)
Definition: gpio_defs.h:402
#define PAD_CFG_GPI_GPIO_DRIVER(pad, pull, rst)
Definition: gpio_defs.h:323

Definition at line 1 of file gpio.h.

◆ gpio_table

const struct pad_config gpio_table[]
static

Definition at line 1 of file gpio.h.