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 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 207 of file gpio.c.

References gpio_config.

Referenced by baytrail_init_pre_device(), and soc_init_pre_device().

Here is the caller graph for this function:

Variable Documentation

◆ core_dedicated_irq

const u8 core_dedicated_irq[GPIO_MAX_DIRQS]
static
Initial value:
= {
}

Definition at line 193 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:145
static const u8 sus_dedicated_irq[GPIO_MAX_DIRQS]
Definition: gpio.c:196
static const struct soc_gpio_map gpncore_gpio_map[]
Definition: gpio.c:6
static const struct soc_gpio_map gpscore_gpio_map[]
Definition: gpio.c:38
static const u8 core_dedicated_irq[GPIO_MAX_DIRQS]
Definition: gpio.c:193

Definition at line 196 of file gpio.c.

Referenced by add_power_operation(), baytrail_init_pre_device(), get_resource_index(), mainboard_get_gpios(), and soc_init_pre_device().

◆ gpncore_gpio_map

◆ 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:
= {
}

Definition at line 196 of file gpio.c.