coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c File Reference
#include <device/device.h>
#include <device/pci_ops.h>
#include <drivers/intel/gma/int15.h>
#include <acpi/acpi.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <ec/quanta/it8518/ec.h>
#include "ec.h"
#include "onboard.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 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 19 of file mainboard.c.

References dev_find_device(), NULL, pci_write_config8(), stout_ec_init(), STOUT_NIC_DEVICE_ID, and STOUT_NIC_VENDOR_ID.

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 13 of file mainboard.c.

References EC_CMD_NOTIFY_ACPI_ENTER, and ec_write_cmd().

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

Definition at line 41 of file mainboard.c.