coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <arch/io.h>
#include <delay.h>
#include <ec/acpi/ec.h>
#include "ec_oem.h"
Go to the source code of this file.
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_oem_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().