vaseboot/include/VasEBoot/arm/cros_ec.h

22 lines
506 B
C

#ifndef VAS_EBOOT_ARM_CROS_EC_H
#define VAS_EBOOT_ARM_CROS_EC_H 1
#include <VasEBoot/types.h>
#include <VasEBoot/fdtbus.h>
#define VAS_EBOOT_CROS_EC_KEYSCAN_COLS 13
#define VAS_EBOOT_CROS_EC_KEYSCAN_ROWS 8
struct VasEBoot_cros_ec_keyscan {
VasEBoot_uint8_t data[VAS_EBOOT_CROS_EC_KEYSCAN_COLS];
};
int
VasEBoot_cros_ec_scan_keyboard (const struct VasEBoot_fdtbus_dev *dev,
struct VasEBoot_cros_ec_keyscan *scan);
int
VasEBoot_cros_ec_validate (const struct VasEBoot_fdtbus_dev *dev);
#endif