coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio_ftns.c File Reference
Include dependency graph for gpio_ftns.c:

Go to the source code of this file.

Functions

void configure_gpio (u8 gpio, u8 iomux_ftn, u8 setting)
 
u8 read_gpio (u8 gpio)
 
int get_spd_offset (void)
 

Function Documentation

◆ configure_gpio()

void configure_gpio ( u8  gpio,
u8  iomux_ftn,
u8  setting 
)

Definition at line 8 of file gpio_ftns.c.

References gpio_100_read8(), gpio_100_write8(), and iomux_write8().

Referenced by early_lpc_init(), and mainboard_final().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_spd_offset()

int get_spd_offset ( void  )

Definition at line 25 of file gpio_ftns.c.

References GPIO_16, and read_gpio().

Referenced by board_BeforeInitPost(), board_ReadSpd_from_cbfs(), and smbios_system_sku().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_gpio()

u8 read_gpio ( u8  gpio)

Definition at line 20 of file gpio_ftns.c.

References gpio_100_read8(), and GPIO_DATA_IN.

Referenced by get_spd_offset().

Here is the call graph for this function:
Here is the caller graph for this function: