![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <superio/smsc/sch5545/sch5545.h>
#include <superio/smsc/sch5545/sch5545_emi.h>
#include <baseboard/sch5545_ec.h>
Go to the source code of this file.
Functions | |
static void | ec_read_write_reg_timeout (uint16_t ldn, uint8_t *val, uint16_t reg, uint8_t rw_bit) |
static void | ec_init_gpios (void) |
static void | ec_early_hwm_init (void) |
void | sch5545_ec_early_init (void) |
Variables | |
static uint16_t | emi_bar |
static const struct ec_val_reg | ec_gpio_init_table [] |
static const struct ec_val_reg | ec_hwm_early_init_table [] |
Definition at line 98 of file sch5545_ec_early.c.
References ARRAY_SIZE, ec_hwm_early_init_table, EC_HWM_LDN, ec_read_write_reg_timeout(), ec_val_reg::reg, val, ec_val_reg::val, and WRITE_OP.
Referenced by sch5545_ec_early_init().
Definition at line 86 of file sch5545_ec_early.c.
References ARRAY_SIZE, ec_gpio_init_table, EC_GPIO_LDN, ec_read_write_reg_timeout(), ec_val_reg::reg, val, ec_val_reg::val, and WRITE_OP.
Referenced by sch5545_ec_early_init().
|
static |
Definition at line 56 of file sch5545_ec_early.c.
References emi_bar, inb(), outb(), ec_val_reg::reg, sch5545_emi_ec2h_mailbox_clear(), sch5545_emi_ec2h_mbox_read(), SCH5545_EMI_EC_DATA, sch5545_emi_ec_write16(), sch5545_emi_h2ec_mbox_write(), sch5545_emi_set_ec_addr(), sch5545_emi_set_int_src(), and val.
Referenced by ec_early_hwm_init(), and ec_init_gpios().
Definition at line 110 of file sch5545_ec_early.c.
References ec_early_hwm_init(), ec_init_gpios(), emi_bar, and sch5545_read_emi_bar().
Referenced by bootblock_mainboard_early_init().
|
static |
Definition at line 9 of file sch5545_ec_early.c.
Referenced by ec_init_gpios().
|
static |
Definition at line 9 of file sch5545_ec_early.c.
Referenced by ec_early_hwm_init().
|
static |
Definition at line 9 of file sch5545_ec_early.c.
Referenced by ec_read_write_reg_timeout(), and sch5545_ec_early_init().