coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.c File Reference
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <bootstate.h>
#include <fw_config.h>
#include <commonlib/helpers.h>
Include dependency graph for gpio.c:

Go to the source code of this file.

Functions

static void fw_config_handle (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_DEV_ENABLE, BS_ON_ENTRY, fw_config_handle, NULL)
 

Variables

static const struct pad_config stylus_det_pads []
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_DEV_ENABLE  ,
BS_ON_ENTRY  ,
fw_config_handle  ,
NULL   
)

◆ fw_config_handle()

static void fw_config_handle ( void unused)
static

Definition at line 15 of file gpio.c.

References ARRAY_SIZE, FW_CONFIG, fw_config_probe(), gpio_configure_pads(), and stylus_det_pads.

Here is the call graph for this function:

Variable Documentation

◆ stylus_det_pads

const struct pad_config stylus_det_pads[]
static
Initial value:
= {
}
#define GPP_C12
#define PAD_CFG_GPI_GPIO_DRIVER(pad, pull, rst)
Definition: gpio_defs.h:323

Definition at line 1 of file gpio.c.

Referenced by fw_config_handle().