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 PAD_CFG_GPIO_BIDIRECT(pad, val, pull, rst, trig, own)
 

Variables

static const struct pad_config gpio_table []
 

Macro Definition Documentation

◆ PAD_CFG_GPIO_BIDIRECT

#define PAD_CFG_GPIO_BIDIRECT (   pad,
  val,
  pull,
  rst,
  trig,
  own 
)
Value:
PAD_FUNC(GPIO) | PAD_RESET(rst) | PAD_TRIG(trig) | \
PAD_BUF(NO_DISABLE) | val, \
#define pull
Definition: asmlib.h:26
@ GPIO
Definition: chip.h:84
#define PAD_FUNC(name, func)
Definition: bootblock.c:18
#define PAD_PULL(TERM)
Definition: gpio.h:155
#define PAD_BUF(value)
Definition: gpio_defs.h:143
#define _PAD_CFG_STRUCT(__pad, __config0, __config1)
Definition: gpio_defs.h:166
#define PAD_RESET(value)
Definition: gpio_defs.h:129
#define PAD_TRIG(value)
Definition: gpio_defs.h:132
#define PAD_CFG_OWN_GPIO(own)
Definition: gpio_defs.h:56
u8 val
Definition: sys.c:300

Definition at line 14 of file gpio.h.

Variable Documentation

◆ gpio_table

const struct pad_config gpio_table[]
static