coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
me.c File Reference
#include <acpi/acpi.h>
#include <cf9_reset.h>
#include <device/mmio.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <device/pci_ids.h>
#include <device/pci_def.h>
#include <elog.h>
#include <halt.h>
#include <option.h>
#include <southbridge/intel/common/me.h>
#include "me.h"
#include "pch.h"
Include dependency graph for me.c:

Go to the source code of this file.

Functions

static me_bios_path intel_me_path (struct device *dev)
 
static int mkhi_get_fw_version (void)
 
static void print_cap (const char *name, int state)
 
static int mkhi_get_fwcaps (void)
 
static void intel_me_init (struct device *dev)
 

Variables

static struct device_operations device_ops
 
static const struct pci_driver intel_me __pci_driver
 

Function Documentation

◆ intel_me_init()

static void intel_me_init ( struct device dev)
static

Definition at line 176 of file me.c.

◆ intel_me_path()

◆ mkhi_get_fw_version()

static int mkhi_get_fw_version ( void  )
static

Definition at line 94 of file me.c.

References BIOS_ERR, BIOS_INFO, mkhi_header::group_id, mei_header::is_complete, MEI_ADDRESS_MKHI, MEI_HOST_ADDRESS, mei_sendrecv(), MKHI_GET_FW_VERSION, MKHI_GROUP_ID_GEN, NULL, printk, and version.

Here is the call graph for this function:

◆ mkhi_get_fwcaps()

◆ print_cap()

static void print_cap ( const char *  name,
int  state 
)
inlinestatic

Definition at line 124 of file me.c.

References BIOS_DEBUG, name, and printk.

Referenced by mkhi_get_fwcaps().

Here is the caller graph for this function:

Variable Documentation

◆ __pci_driver

const struct pci_driver intel_me __pci_driver
static
Initial value:
= {
.ops = &device_ops,
.vendor = PCI_VID_INTEL,
.device = 0x1c3a,
}
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
static struct device_operations device_ops
Definition: me.c:278

Definition at line 176 of file me.c.

◆ device_ops

struct device_operations device_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = intel_me_init,
.ops_pci = &pci_dev_ops_pci,
}
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_read_resources(struct device *dev)
Definition: pci_device.c:534
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
Definition: pci_device.c:911
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691
static void intel_me_init(struct device *dev)
Definition: me.c:176

Definition at line 176 of file me.c.