coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <ec/acpi/ec.h>
#include <delay.h>
#include "chip.h"
Include dependency graph for ec.c:

Go to the source code of this file.

Functions

static void it8518_init (struct device *dev)
 
static void enable_dev (struct device *dev)
 

Variables

static struct device_operations ops
 
static struct pnp_info pnp_dev_info []
 
struct chip_operations ec_roda_it8518_ops
 

Function Documentation

◆ enable_dev()

static void enable_dev ( struct device dev)
static

Definition at line 45 of file ec.c.

◆ it8518_init()

static void it8518_init ( struct device dev)
static

Variable Documentation

◆ ec_roda_it8518_ops

struct chip_operations ec_roda_it8518_ops
Initial value:
= {
.enable_dev = enable_dev
}
static void enable_dev(struct device *dev)
Definition: ec.c:45

Definition at line 45 of file ec.c.

◆ ops

struct device_operations ops
static
Initial value:
= {
.init = it8518_init,
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
}
static void it8518_init(struct device *dev)
Definition: ec.c:12
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74

Definition at line 12 of file ec.c.

◆ pnp_dev_info

struct pnp_info pnp_dev_info[]
static
Initial value:
= {
{ NULL, 0, 0, 0, }
}
#define NULL
Definition: stddef.h:19

Definition at line 12 of file ec.c.