coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.c File Reference
#include <bootstate.h>
#include <acpi/acpi.h>
#include <baseboard/variants.h>
#include <delay.h>
#include <drivers/intel/gma/opregion.h>
#include <fw_config.h>
#include <gpio.h>
#include <sar.h>
Include dependency graph for variant.c:

Go to the source code of this file.

Functions

const char * get_wifi_sar_cbfs_filename (void)
 
const char * mainboard_vbt_filename (void)
 
static void power_off_lte_module (void)
 
void variant_smi_sleep (u8 slp_typ)
 

Function Documentation

◆ get_wifi_sar_cbfs_filename()

const char* get_wifi_sar_cbfs_filename ( void  )

Definition at line 12 of file variant.c.

References FW_CONFIG, fw_config_probe(), and WIFI_SAR_CBFS_DEFAULT_FILENAME.

Here is the call graph for this function:

◆ mainboard_vbt_filename()

const char* mainboard_vbt_filename ( void  )

Definition at line 20 of file variant.c.

References FW_CONFIG, and fw_config_probe().

Here is the call graph for this function:

◆ power_off_lte_module()

static void power_off_lte_module ( void  )
static

Definition at line 29 of file variant.c.

References gpio_output(), GPP_A10, GPP_H0, GPP_H17, and mdelay().

Referenced by variant_smi_sleep().

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

◆ variant_smi_sleep()

void variant_smi_sleep ( u8  slp_typ)

Definition at line 37 of file variant.c.

References ACPI_S5, and power_off_lte_module().

Here is the call graph for this function: