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

Go to the source code of this file.

Functions

const struct pad_configvariant_gpio_table (size_t *num)
 
const struct pad_configvariant_early_gpio_table (size_t *num)
 
void variant_smi_sleep (u8 slp_typ)
 
void variant_nhlt_init (struct nhlt *nhlt)
 
void variant_nhlt_oem_overrides (const char **oem_id, const char **oem_table_id, uint32_t *oem_revision)
 
void variant_chip_display_init (void)
 

Function Documentation

◆ variant_chip_display_init()

void variant_chip_display_init ( void  )

Definition at line 252 of file mainboard.c.

References display_init_required(), google_chromeec_wait_for_displayport(), GPIO_DP_HPD, gpio_get(), GPIO_HDMI_HPD, gpio_input(), and wait_for_hpd().

Referenced by mainboard_chip_init().

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

◆ variant_early_gpio_table()

const struct pad_config* variant_early_gpio_table ( size_t num)

Definition at line 204 of file gpio.c.

◆ variant_gpio_table()

const struct pad_config* variant_gpio_table ( size_t num)

Definition at line 406 of file gpio.c.

◆ variant_nhlt_init()

void variant_nhlt_init ( struct nhlt nhlt)

Definition at line 7 of file nhlt.c.

References AUDIO_LINK_SSP1, BIOS_ERR, nhlt_soc_add_rt5663(), and printk.

Referenced by mainboard_write_acpi_tables().

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

◆ variant_nhlt_oem_overrides()

void variant_nhlt_oem_overrides ( const char **  oem_id,
const char **  oem_table_id,
uint32_t oem_revision 
)

Definition at line 16 of file nhlt.c.

◆ variant_smi_sleep()

void variant_smi_sleep ( u8  slp_typ)

Definition at line 52 of file smihandler.c.