Enumerations
enum EcCmd
| Name | Value |
|---|---|
| kRead | 0x80 |
| kWrite | 0x81 |
| kQuery | 0x84 |
Commands.
Defined at line 18 of file ../../src/devices/board/drivers/x86/acpi-dev/dev-ec.h
enum EcStatus
| Name | Value |
|---|---|
| kSciEvt | 1 << 5 |
| kIbf | 1 << 1 |
| kObf | 1 << 0 |
Status register bits.
Defined at line 25 of file ../../src/devices/board/drivers/x86/acpi-dev/dev-ec.h
enum EcSignal
| Name | Value | Comments |
|---|---|---|
| kCanWrite | ZX_USER_SIGNAL_0 |
Status.IBF == 0, host can write next byte to EC. |
| kCanRead | ZX_USER_SIGNAL_1 |
Status.OBF == 1, host can read byte from EC. |
| kPendingEvent | ZX_USER_SIGNAL_2 |
Status.SCI_EVT == 1, EC wants host to handle an event. |
| kEcShutdown | ZX_USER_SIGNAL_3 |
Driver is shutting down. |
| kTransactionReady | ZX_USER_SIGNAL_4 |
TXQ has items ready to be processed. |
Defined at line 31 of file ../../src/devices/board/drivers/x86/acpi-dev/dev-ec.h