temp: SR: IO_ADDRESS conversion
[linux-ginger.git] / arch / sh / include / asm / sh_keysc.h
blob4a65b1e40eabf6af3fc8966dfc1edf1e9bf55657
1 #ifndef __ASM_KEYSC_H__
2 #define __ASM_KEYSC_H__
4 #define SH_KEYSC_MAXKEYS 30
6 struct sh_keysc_info {
7 enum { SH_KEYSC_MODE_1, SH_KEYSC_MODE_2, SH_KEYSC_MODE_3 } mode;
8 int scan_timing; /* 0 -> 7, see KYCR1, SCN[2:0] */
9 int delay;
10 int kycr2_delay;
11 int keycodes[SH_KEYSC_MAXKEYS];
14 #endif /* __ASM_KEYSC_H__ */