![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <commonlib/helpers.h>
#include <gpio.h>
#include <soc/gpio.h>
Go to the source code of this file.
Functions | |
const struct soc_amd_gpio *__weak | variant_pcie_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_bootblock_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_base_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_override_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_early_override_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_bootblock_override_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_pcie_override_gpio_table (size_t *size) |
const struct soc_amd_gpio *__weak | variant_early_gpio_table (size_t *size) |
const __weak struct soc_amd_gpio * | variant_sleep_gpio_table (size_t *size) |
const __weak struct soc_amd_gpio * | variant_espi_gpio_table (size_t *size) |
const __weak struct soc_amd_gpio * | variant_tpm_gpio_table (size_t *size) |
Variables | |
static const struct soc_amd_gpio | base_gpio_table [] |
static const struct soc_amd_gpio | early_gpio_table [] |
static const struct soc_amd_gpio | espi_gpio_table [] |
static const struct soc_amd_gpio | tpm_gpio_table [] |
static const struct soc_amd_gpio | bootblock_gpio_table [] |
static const struct soc_amd_gpio | sleep_gpio_table [] |
static const struct soc_amd_gpio | pcie_gpio_table [] |
const struct soc_amd_gpio* __weak variant_base_gpio_table | ( | size_t * | size | ) |
Definition at line 306 of file gpio.c.
References ARRAY_SIZE, and base_gpio_table.
const struct soc_amd_gpio* __weak variant_bootblock_gpio_table | ( | size_t * | size | ) |
Definition at line 300 of file gpio.c.
References ARRAY_SIZE, and bootblock_gpio_table.
Referenced by bootblock_mainboard_early_init(), and bootblock_mainboard_init().
const struct soc_amd_gpio* __weak variant_bootblock_override_gpio_table | ( | size_t * | size | ) |
Definition at line 324 of file gpio.c.
References NULL.
Referenced by bootblock_mainboard_init().
const struct soc_amd_gpio* __weak variant_early_gpio_table | ( | size_t * | size | ) |
Definition at line 336 of file gpio.c.
References ARRAY_SIZE, and early_gpio_table.
const struct soc_amd_gpio* __weak variant_early_override_gpio_table | ( | size_t * | size | ) |
Definition at line 317 of file gpio.c.
References NULL.
Referenced by bootblock_mainboard_early_init(), bootblock_mainboard_init(), and verstage_mainboard_early_init().
const __weak struct soc_amd_gpio* variant_espi_gpio_table | ( | size_t * | size | ) |
Definition at line 348 of file gpio.c.
References ARRAY_SIZE, and espi_gpio_table.
Referenced by bootblock_mainboard_early_init(), mb_set_up_early_espi(), and verstage_mainboard_espi_init().
const struct soc_amd_gpio* __weak variant_override_gpio_table | ( | size_t * | size | ) |
const struct soc_amd_gpio* __weak variant_pcie_gpio_table | ( | size_t * | size | ) |
Definition at line 294 of file gpio.c.
References ARRAY_SIZE, and pcie_gpio_table.
Referenced by mb_pre_fspm().
const struct soc_amd_gpio* __weak variant_pcie_override_gpio_table | ( | size_t * | size | ) |
Definition at line 330 of file gpio.c.
References NULL.
Referenced by mb_pre_fspm().
const __weak struct soc_amd_gpio* variant_sleep_gpio_table | ( | size_t * | size | ) |
Definition at line 342 of file gpio.c.
References ARRAY_SIZE, and sleep_gpio_table.
const __weak struct soc_amd_gpio* variant_tpm_gpio_table | ( | size_t * | size | ) |
Definition at line 354 of file gpio.c.
References ARRAY_SIZE, and tpm_gpio_table.
Referenced by bootblock_mainboard_early_init(), and verstage_mainboard_tpm_init().
|
static |
Definition at line 1 of file gpio.c.
Referenced by mainboard_chip_init(), and variant_base_gpio_table().
|
static |
Definition at line 1 of file gpio.c.
Referenced by variant_bootblock_gpio_table().
|
static |
Definition at line 1 of file gpio.c.
Referenced by variant_early_gpio_table().
|
static |
|
static |
Definition at line 1 of file gpio.c.
Referenced by variant_pcie_gpio_configure(), and variant_pcie_gpio_table().
|
static |
|
static |