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 dependency graph for variants.h:

Go to the source code of this file.

Macros

#define NUM_POWER_PROFILES   3
 

Enumerations

enum  cmos_power_profile {
  PP_POWER_SAVER = 0 , PP_BALANCED = 1 , PP_PERFORMANCE = 2 , PP_POWER_SAVER = 0 ,
  PP_BALANCED = 1 , PP_PERFORMANCE = 2
}
 

Functions

enum cmos_power_profile get_power_profile (enum cmos_power_profile fallback)
 
const struct pad_configvariant_gpio_table (size_t *num)
 
const struct pad_configvariant_early_gpio_table (size_t *num)
 
void devtree_update (void)
 

Macro Definition Documentation

◆ NUM_POWER_PROFILES

#define NUM_POWER_PROFILES   3

Definition at line 13 of file variants.h.

Enumeration Type Documentation

◆ cmos_power_profile

Enumerator
PP_POWER_SAVER 
PP_BALANCED 
PP_PERFORMANCE 
PP_POWER_SAVER 
PP_BALANCED 
PP_PERFORMANCE 

Definition at line 8 of file variants.h.

Function Documentation

◆ devtree_update()

void devtree_update ( void  )

Definition at line 11 of file devtree.c.

References config_of_soc, disable_turbo(), device::enabled, get_uint_option(), pcidev_on_root(), soc_power_limits_config::tdp_pl1_override, and soc_power_limits_config::tdp_pl2_override.

Referenced by init_mainboard().

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

◆ get_power_profile()

enum cmos_power_profile get_power_profile ( enum cmos_power_profile  fallback)

Definition at line 1 of file mainboard.c.

References get_uint_option(), and NUM_POWER_PROFILES.

Here is the call 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.