The KBC/ACPI event data is 4-byte in width and composed of event/data/type fields. However, the field position is defined by each chip vendor via macro and not unified in the current implementation. The commit uses the structure bit field to define and unify the field position. It helps the application access it with a common approach. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
espi_emul.c | ||
espi_handlers.c | ||
espi_mchp_xec.c | ||
espi_npcx.c | ||
espi_saf_mchp_xec.c | ||
espi_utils.h | ||
host_subs_npcx.c | ||
Kconfig | ||
Kconfig.espi_emul | ||
Kconfig.npcx | ||
Kconfig.xec |