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

Go to the source code of this file.

Functions

struct soc_gpio_configmainboard_get_gpios (void)
 

Variables

static const struct soc_gpio_map gpncore_gpio_map []
 
static const struct soc_gpio_map gpscore_gpio_map []
 
static const struct soc_gpio_map gpssus_gpio_map []
 
static const u8 core_dedicated_irq [GPIO_MAX_DIRQS]
 
static const u8 sus_dedicated_irq [GPIO_MAX_DIRQS]
 
static struct soc_gpio_config gpio_config
 

Function Documentation

◆ mainboard_get_gpios()

struct soc_gpio_config* mainboard_get_gpios ( void  )

Definition at line 212 of file gpio.c.

References gpio_config.

Variable Documentation

◆ core_dedicated_irq

const u8 core_dedicated_irq[GPIO_MAX_DIRQS]
static
Initial value:
= {
}
#define I8042_IRQ_OFFSET
Definition: irqroute.h:36
#define TOUCH_IRQ_OFFSET
Definition: irqroute.h:35
#define TPAD_IRQ_GPIO
Definition: irqroute.h:39
#define TPAD_IRQ_OFFSET
Definition: irqroute.h:34
#define TOUCH_IRQ_GPIO
Definition: irqroute.h:40
#define I8042_IRQ_GPIO
Definition: irqroute.h:41

Definition at line 194 of file gpio.c.

◆ gpio_config

Initial value:
= {
.ncore = gpncore_gpio_map,
.score = gpscore_gpio_map,
.ssus = gpssus_gpio_map,
.core_dirq = &core_dedicated_irq,
.sus_dirq = &sus_dedicated_irq,
}
static const struct soc_gpio_map gpssus_gpio_map[]
Definition: gpio.c:146
static const u8 sus_dedicated_irq[GPIO_MAX_DIRQS]
Definition: gpio.c:200
static const struct soc_gpio_map gpncore_gpio_map[]
Definition: gpio.c:7
static const struct soc_gpio_map gpscore_gpio_map[]
Definition: gpio.c:39
static const u8 core_dedicated_irq[GPIO_MAX_DIRQS]
Definition: gpio.c:194

Definition at line 200 of file gpio.c.

Referenced by mainboard_get_gpios().

◆ gpncore_gpio_map

const struct soc_gpio_map gpncore_gpio_map[]
static
Initial value:

Definition at line 1 of file gpio.c.

◆ gpscore_gpio_map

const struct soc_gpio_map gpscore_gpio_map[]
static

Definition at line 1 of file gpio.c.

◆ gpssus_gpio_map

const struct soc_gpio_map gpssus_gpio_map[]
static

Definition at line 1 of file gpio.c.

◆ sus_dedicated_irq

const u8 sus_dedicated_irq[GPIO_MAX_DIRQS]
static
Initial value:
= {
}
#define CODEC_IRQ_GPIO
Definition: irqroute.h:47
#define CODEC_IRQ_OFFSET
Definition: irqroute.h:45

Definition at line 200 of file gpio.c.