18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * ChromeOS Embedded Controller core interface. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2020 Google LLC 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef __CROS_EC_H 98c2ecf20Sopenharmony_ci#define __CROS_EC_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciint cros_ec_register(struct cros_ec_device *ec_dev); 128c2ecf20Sopenharmony_ciint cros_ec_unregister(struct cros_ec_device *ec_dev); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciint cros_ec_suspend(struct cros_ec_device *ec_dev); 158c2ecf20Sopenharmony_ciint cros_ec_resume(struct cros_ec_device *ec_dev); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cibool cros_ec_handle_event(struct cros_ec_device *ec_dev); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif /* __CROS_EC_H */ 20