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

Go to the source code of this file.

Functions

const struct pad_communitysoc_gpio_get_community (size_t *num_communities)
 

Variables

static const struct reset_mapping rst_map []
 
static const struct pad_group dnv_community_nc_groups []
 
static const struct pad_group dnv_community_sc_dfx_groups []
 
static const struct pad_group dnv_community_sc0_groups []
 
static const struct pad_group dnv_community_sc1_groups []
 
static const struct pad_community dnv_gpio_communities []
 

Function Documentation

◆ soc_gpio_get_community()

const struct pad_community* soc_gpio_get_community ( size_t num_communities)

Definition at line 116 of file gpio.c.

References ARRAY_SIZE, and dnv_gpio_communities.

Variable Documentation

◆ dnv_community_nc_groups

const struct pad_group dnv_community_nc_groups[]
static
Initial value:
= {
}
#define INTEL_GPP(first_of_community, start_of_group, end_of_group)
Definition: gpio.h:49
#define NORTH_ALL_PCIE_CLKREQ4_N
Definition: gpio_defs.h:341
#define NORTH_ALL_MEMHOT_N
Definition: gpio_defs.h:349
#define NORTH_ALL_GBE0_SDP0
Definition: gpio_defs.h:309
#define NORTH_ALL_PCIE_CLKREQ3_N
Definition: gpio_defs.h:340

Definition at line 1 of file gpio.c.

◆ dnv_community_sc0_groups

const struct pad_group dnv_community_sc0_groups[]
static
Initial value:

Definition at line 1 of file gpio.c.

◆ dnv_community_sc1_groups

const struct pad_group dnv_community_sc1_groups[]
static
Initial value:

Definition at line 1 of file gpio.c.

◆ dnv_community_sc_dfx_groups

const struct pad_group dnv_community_sc_dfx_groups[]
static
Initial value:
= {
}
#define SOUTH_DFX_DFX_PORT_CLK0
Definition: gpio_defs.h:350
#define SOUTH_DFX_DFX_PORT15
Definition: gpio_defs.h:367

Definition at line 1 of file gpio.c.

◆ dnv_gpio_communities

const struct pad_community dnv_gpio_communities[]
static

Definition at line 1 of file gpio.c.

Referenced by soc_gpio_get_community().

◆ rst_map

const struct reset_mapping rst_map[]
static
Initial value:
= {
{ .logical = PAD_CFG0_LOGICAL_RESET_PWROK, .chipset = 0U << 30 },
{ .logical = PAD_CFG0_LOGICAL_RESET_DEEP, .chipset = 1U << 30 },
{ .logical = PAD_CFG0_LOGICAL_RESET_PLTRST, .chipset = 2U << 30 },
{ .logical = PAD_CFG0_LOGICAL_RESET_RSMRST, .chipset = 3U << 30 },
}
#define PAD_CFG0_LOGICAL_RESET_PWROK
Definition: gpio_defs.h:44
#define PAD_CFG0_LOGICAL_RESET_RSMRST
Definition: gpio_defs.h:47
#define PAD_CFG0_LOGICAL_RESET_PLTRST
Definition: gpio_defs.h:46
#define PAD_CFG0_LOGICAL_RESET_DEEP
Definition: gpio_defs.h:45

Definition at line 1 of file gpio.c.