coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
#include <ec/acpi/ec.h>
#include <option.h>
#include <pc80/keyboard.h>
#include "ec.h"
#include "ecdefs.h"
Go to the source code of this file.
Functions | |
uint16_t | ec_get_version (void) |
static uint8_t | get_ec_value_from_option (const char *name, unsigned int fallback, const uint8_t *lut, size_t lut_size) |
static uint16_t | ec_get_chip_id (unsigned int port) |
static void | merlin_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_starlabs_merlin_ops |
Definition at line 29 of file ite.c.
References ITE_CHIPID1, ITE_CHIPID2, and pnp_read_index().
Referenced by merlin_init().
|
static |
Definition at line 18 of file ite.c.
References get_uint_option(), and name.
Referenced by merlin_init().
Definition at line 35 of file ite.c.
References ARRAY_SIZE, BIOS_ERR, CHARGE_100, CHARGE_60, CHARGE_80, CONFIG, CTRL_FN, ec_get_chip_id(), ec_write(), ECRAM_FAN_MODE, ECRAM_FN_CTRL_REVERSE, ECRAM_FN_LOCK_STATE, ECRAM_KBL_BRIGHTNESS, ECRAM_KBL_STATE, ECRAM_KBL_TIMEOUT, ECRAM_MAX_CHARGE, ECRAM_TRACKPAD_STATE, device::enabled, FAN_AGGRESSIVE, FAN_NORMAL, FAN_QUIET, FN_CTRL, get_ec_value_from_option(), ITE_CHIPID_VAL, ITE_FIXED_ADDR, KBL_DISABLED, KBL_ENABLED, KBL_HIGH, KBL_LOW, KBL_OFF, KBL_ON, LOCKED, MIN_1, MIN_3, MIN_5, NEVER, NO_AUX_DEVICE, device::path, pc_keyboard_init(), device_path::pnp, pnp_path::port, printk, SEC_30, TRACKPAD_DISABLED, TRACKPAD_ENABLED, and UNLOCKED.
struct chip_operations ec_starlabs_merlin_ops |
|
static |