blob: da34f07b339b252fbc1199371d6f024d74a545df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_GPIO_SIGNAL_H
#define __CROS_EC_GPIO_SIGNAL_H
#define GPIO(name, pin, flags) GPIO_##name,
#define UNIMPLEMENTED(name) GPIO_##name,
#define GPIO_INT(name, pin, flags, signal) GPIO_##name,
enum gpio_signal {
#include "gpio.wrap"
GPIO_COUNT
};
#define IOEX(name, expin, flags) IOEX_##name,
enum ioex_signal {
#include "gpio.wrap"
IOEX_COUNT
};
#endif /* __CROS_EC_GPIO_SIGNAL_H */
|