coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
wwan.c File Reference
#include <southbridge/intel/common/gpio.h>
#include <console/console.h>
#include <device/device.h>
#include <ec/acpi/ec.h>
#include <option.h>
#include <types.h>
#include "h8.h"
#include "chip.h"
Include dependency graph for wwan.c:

Go to the source code of this file.

Functions

void h8_wwan_enable (int on)
 
bool h8_has_wwan (const struct device *dev)
 
bool h8_wwan_nv_enable (void)
 

Function Documentation

◆ h8_has_wwan()

bool h8_has_wwan ( const struct device dev)

Definition at line 25 of file wwan.c.

References BIOS_INFO, device::chip_info, get_gpio(), ec_lenovo_h8_config::has_wwan_detection, printk, ec_lenovo_h8_config::wwan_gpio_lvl, and ec_lenovo_h8_config::wwan_gpio_num.

Referenced by h8_ssdt_generator().

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

◆ h8_wwan_enable()

void h8_wwan_enable ( int  on)

Definition at line 14 of file wwan.c.

References ec_clr_bit(), and ec_set_bit().

Here is the call graph for this function:

◆ h8_wwan_nv_enable()

bool h8_wwan_nv_enable ( void  )

Definition at line 47 of file wwan.c.

References get_uint_option().

Here is the call graph for this function: