xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / input / sh_keysc.h
blobb3c4f3b6679ccc805fb76a2f4367882c7e81c0bb
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __SH_KEYSC_H__
3 #define __SH_KEYSC_H__
5 #define SH_KEYSC_MAXKEYS 64
7 struct sh_keysc_info {
8 enum { SH_KEYSC_MODE_1, SH_KEYSC_MODE_2, SH_KEYSC_MODE_3,
9 SH_KEYSC_MODE_4, SH_KEYSC_MODE_5, SH_KEYSC_MODE_6 } mode;
10 int scan_timing; /* 0 -> 7, see KYCR1, SCN[2:0] */
11 int delay;
12 int kycr2_delay;
13 int keycodes[SH_KEYSC_MAXKEYS]; /* KEYIN * KEYOUT */
16 #endif /* __SH_KEYSC_H__ */