commit | c51a4ecd422b16eb9c6645b6083eb663a5095bcb | [log] [tgz] |
---|---|---|
author | Jun Lin <CHLin56@nuvoton.com> | Mon Jul 26 11:11:09 2021 +0800 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Mon Jul 26 22:50:44 2021 -0400 |
tree | 16e4dd33f6fdbf76790f7304d478e046ccafdba0 | |
parent | c1248164a43bb4bd82a2ddeb7990c9186201cea3 [diff] |
driver: eSPI: unify the bit fields of ACPI/KBC event data 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>