coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c File Reference
#include <types.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include <acpi/acpi.h>
#include "onboard.h"
#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
#include <smbios.h>
#include <ec/compal/ene932/ec.h>
Include dependency graph for mainboard.c:

Go to the source code of this file.

Functions

void mainboard_suspend_resume (void)
 
static void mainboard_init (struct device *dev)
 
static int parrot_onboard_smbios_data (struct device *dev, int *handle, unsigned long *current)
 
static void mainboard_enable (struct device *dev)
 

Variables

struct chip_operations mainboard_ops
 

Function Documentation

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

◆ mainboard_init()

static void mainboard_init ( struct device dev)
static

Definition at line 20 of file mainboard.c.

References parrot_ec_init().

Referenced by mainboard_enable().

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

◆ mainboard_suspend_resume()

void mainboard_suspend_resume ( void  )

Definition at line 14 of file mainboard.c.

References APM_CNT_ACPI_ENABLE, and apm_control().

Here is the call graph for this function:

◆ parrot_onboard_smbios_data()

static int parrot_onboard_smbios_data ( struct device dev,
int *  handle,
unsigned long *  current 
)
static

Definition at line 26 of file mainboard.c.

References BOARD_TRACKPAD_I2C_ADDR, BOARD_TRACKPAD_IRQ_DVT, BOARD_TRACKPAD_IRQ_PVT, BOARD_TRACKPAD_NAME, parrot_rev(), SMBIOS_DEVICE_TYPE_OTHER, and smbios_write_type41().

Referenced by mainboard_enable().

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

Variable Documentation

◆ mainboard_ops

struct chip_operations mainboard_ops
Initial value:
= {
.enable_dev = mainboard_enable,
}
static void mainboard_enable(struct device *dev)
Definition: mainboard.c:59

Definition at line 59 of file mainboard.c.