xref: /kernel/linux/linux-5.10/drivers/platform/chrome/cros_ec.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/platform/chrome/
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

Indexes created Thu Nov 07 10:32:03 CST 2024