cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cros_ec.h (500B)


      1/* 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
     11#include <linux/interrupt.h>
     12
     13int cros_ec_register(struct cros_ec_device *ec_dev);
     14void cros_ec_unregister(struct cros_ec_device *ec_dev);
     15
     16int cros_ec_suspend(struct cros_ec_device *ec_dev);
     17int cros_ec_resume(struct cros_ec_device *ec_dev);
     18
     19irqreturn_t cros_ec_irq_thread(int irq, void *data);
     20
     21#endif /* __CROS_EC_H */