coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h File Reference
#include <soc/gpio_defs.h>
#include <intelblocks/gpio.h>
Include dependency graph for gpio.h:

Go to the source code of this file.

Macros

#define GPIO_MISCCFG   0x10 /* Miscellaneous Configuration offset */
 
#define GPIO_MAX_NUM_PER_GROUP   32
 
#define NUM_NC_GPI_REGS
 
#define NUM_SC_DFX_GPI_REGS
 
#define NUM_SC0_GPI_REGS
 
#define NUM_SC1_GPI_REGS
 
#define NUM_GPI_STATUS_REGS
 
#define GPIO_NUM_PAD_CFG_REGS   2 /* DW0, DW1 */
 
#define MISCCFG_GPIO_PM_CONFIG_BITS   0
 

Macro Definition Documentation

◆ GPIO_MAX_NUM_PER_GROUP

#define GPIO_MAX_NUM_PER_GROUP   32

Definition at line 10 of file gpio.h.

◆ GPIO_MISCCFG

#define GPIO_MISCCFG   0x10 /* Miscellaneous Configuration offset */

Definition at line 8 of file gpio.h.

◆ GPIO_NUM_PAD_CFG_REGS

#define GPIO_NUM_PAD_CFG_REGS   2 /* DW0, DW1 */

Definition at line 31 of file gpio.h.

◆ MISCCFG_GPIO_PM_CONFIG_BITS

#define MISCCFG_GPIO_PM_CONFIG_BITS   0

Definition at line 40 of file gpio.h.

◆ NUM_GPI_STATUS_REGS

#define NUM_GPI_STATUS_REGS
Value:
NUM_SC0_GPI_REGS + NUM_SC1_GPI_REGS)
#define NUM_NC_GPI_REGS
Definition: gpio.h:12
#define NUM_SC_DFX_GPI_REGS
Definition: gpio.h:16
#define NUM_SC1_GPI_REGS
Definition: gpio.h:24

Definition at line 28 of file gpio.h.

◆ NUM_NC_GPI_REGS

#define NUM_NC_GPI_REGS
Value:
#define ALIGN_UP(x, a)
Definition: helpers.h:17
#define GPIO_MAX_NUM_PER_GROUP
Definition: gpio.h:10
#define V_PCH_GPIO_NC_PAD_MAX
Definition: gpio_defs.h:13

Definition at line 12 of file gpio.h.

◆ NUM_SC0_GPI_REGS

#define NUM_SC0_GPI_REGS
Value:

Definition at line 20 of file gpio.h.

◆ NUM_SC1_GPI_REGS

#define NUM_SC1_GPI_REGS
Value:

Definition at line 24 of file gpio.h.

◆ NUM_SC_DFX_GPI_REGS

#define NUM_SC_DFX_GPI_REGS
Value:

Definition at line 16 of file gpio.h.