blob: e69fc1ff68b4089f1a1bad13454d977424e7cf86 [file] [log] [blame]
Enric Balletbo i Serra034dbec2020-01-22 10:07:01 +01001/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * ChromeOS Embedded Controller core interface.
4 *
5 * Copyright (C) 2020 Google LLC
6 */
7
8#ifndef __CROS_EC_H
9#define __CROS_EC_H
10
11int cros_ec_register(struct cros_ec_device *ec_dev);
12int cros_ec_unregister(struct cros_ec_device *ec_dev);
13
14int cros_ec_suspend(struct cros_ec_device *ec_dev);
15int cros_ec_resume(struct cros_ec_device *ec_dev);
16
17bool cros_ec_handle_event(struct cros_ec_device *ec_dev);
18
19#endif /* __CROS_EC_H */