![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/gpio.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_config * | variant_gpio_table (size_t *num) |
const struct pad_config * | variant_early_gpio_table (size_t *num) |
void | devtree_update (void) |
#define NUM_POWER_PROFILES 3 |
Definition at line 13 of file variants.h.
enum 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.
Definition at line 11 of file devtree.c.
References config_of_soc, disable_turbo(), device::enabled, get_power_profile(), get_uint_option(), pcidev_on_root(), POWER_LIMITS_U_2_CORE, POWER_LIMITS_U_4_CORE, PP_BALANCED, PP_PERFORMANCE, PP_POWER_SAVER, soc_power_limits_config::tdp_pl1_override, and soc_power_limits_config::tdp_pl2_override.
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.
Referenced by devtree_update().
const struct pad_config* variant_early_gpio_table | ( | size_t * | num | ) |
Definition at line 204 of file gpio.c.
References ARRAY_SIZE, board_id(), BOARD_ID_UNKNOWN, early_gpio_table, early_gpio_table_id2, early_gpio_table_id4, gpio_set_stage_reset, and NULL.
Referenced by bootblock_mainboard_early_init(), bootblock_mainboard_init(), early_config_gpio(), setup_gpio(), and verstage_mainboard_early_init().
const struct pad_config* variant_gpio_table | ( | size_t * | num | ) |
Definition at line 406 of file gpio.c.
References ARRAY_SIZE, gpio_set_stage_ram, and gpio_table.
Referenced by init_mainboard(), mainboard_chip_init(), mainboard_init(), and mainboard_silicon_init_params().