![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | EC_OEM_DATA 0x68 |
#define | EC_OEM_SC 0x6c |
#define | EC_SMI_EVT (1 << 6) |
#define | EC_SCI_EVT (1 << 5) |
#define | EC_BURST (1 << 4) |
#define | EC_CMD (1 << 3) |
#define | EC_IBF (1 << 1) |
#define | EC_OBF (1 << 0) |
#define | RD_EC 0x80 |
#define | WR_EC 0x81 |
#define | BE_EC 0x82 |
#define | BD_EC 0x83 |
#define | QR_EC 0x84 |
Functions | |
int | send_ec_oem_command (u8 command) |
int | send_ec_oem_data (u8 data) |
int | send_ec_oem_data_nowait (u8 data) |
u8 | recv_ec_oem_data (void) |
u8 | ec_oem_read (u8 addr) |
int | ec_oem_write (u8 addr, u8 data) |
int | ec_dump_status (void) |
int | ec_oem_dump_status (void) |
int ec_dump_status | ( | void | ) |
int ec_oem_dump_status | ( | void | ) |
Definition at line 82 of file ec_oem.c.
References addr, recv_ec_oem_data(), send_ec_oem_command(), and send_ec_oem_data().
Definition at line 90 of file ec_oem.c.
References addr, send_ec_oem_command(), and send_ec_oem_data().
Definition at line 57 of file ec_oem.c.
References BIOS_DEBUG, BIOS_SPEW, EC_OBF, EC_OEM_DATA, EC_OEM_SC, inb(), printk, and udelay().
Referenced by ec_oem_read(), and mainboard_smi_gpi().
int send_ec_oem_command | ( | u8 | command | ) |
Definition at line 9 of file ec_oem.c.
References BIOS_DEBUG, BIOS_SPEW, EC_IBF, EC_OEM_SC, inb(), outb(), printk, and udelay().
Referenced by ec_enable(), ec_oem_read(), ec_oem_write(), and mainboard_smi_gpi().
int send_ec_oem_data | ( | u8 | data | ) |
Definition at line 29 of file ec_oem.c.
References BIOS_DEBUG, BIOS_SPEW, EC_IBF, EC_OEM_DATA, EC_OEM_SC, inb(), outb(), printk, and udelay().
Referenced by ec_enable(), ec_oem_read(), and ec_oem_write().
int send_ec_oem_data_nowait | ( | u8 | data | ) |
Definition at line 50 of file ec_oem.c.
References EC_OEM_DATA, and outb().