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_PCH_WP   GPP_E15
 
#define GPIO_REC_MODE   GPP_E8
 
#define SENSOR_DET_360   GPP_H5
 
#define DDR_CH0_EN   GPP_F1
 
#define DDR_CH1_EN   GPP_F2
 
#define GPIO_MEM_CONFIG_0   GPP_F12
 
#define GPIO_MEM_CONFIG_1   GPP_F13
 
#define GPIO_MEM_CONFIG_2   GPP_F14
 
#define GPIO_MEM_CONFIG_3   GPP_F15
 
#define GPIO_MEM_CONFIG_4   GPP_F16
 

Functions

const struct pad_configvariant_gpio_table (size_t *num)
 
const struct pad_configvariant_early_gpio_table (size_t *num)
 

Macro Definition Documentation

◆ DDR_CH0_EN

#define DDR_CH0_EN   GPP_F1

Definition at line 19 of file gpio.h.

◆ DDR_CH1_EN

#define DDR_CH1_EN   GPP_F2

Definition at line 20 of file gpio.h.

◆ GPIO_MEM_CONFIG_0

#define GPIO_MEM_CONFIG_0   GPP_F12

Definition at line 23 of file gpio.h.

◆ GPIO_MEM_CONFIG_1

#define GPIO_MEM_CONFIG_1   GPP_F13

Definition at line 24 of file gpio.h.

◆ GPIO_MEM_CONFIG_2

#define GPIO_MEM_CONFIG_2   GPP_F14

Definition at line 25 of file gpio.h.

◆ GPIO_MEM_CONFIG_3

#define GPIO_MEM_CONFIG_3   GPP_F15

Definition at line 26 of file gpio.h.

◆ GPIO_MEM_CONFIG_4

#define GPIO_MEM_CONFIG_4   GPP_F16

Definition at line 27 of file gpio.h.

◆ GPIO_PCH_WP

#define GPIO_PCH_WP   GPP_E15

Definition at line 10 of file gpio.h.

◆ GPIO_REC_MODE

#define GPIO_REC_MODE   GPP_E8

Definition at line 13 of file gpio.h.

◆ SENSOR_DET_360

#define SENSOR_DET_360   GPP_H5

Definition at line 16 of file gpio.h.

Function Documentation

◆ variant_early_gpio_table()

const struct pad_config* variant_early_gpio_table ( size_t num)

Definition at line 204 of file gpio.c.

◆ variant_gpio_table()

const struct pad_config* variant_gpio_table ( size_t num)

Definition at line 406 of file gpio.c.