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

sh_keysc.h (431B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __SH_KEYSC_H__
      3#define __SH_KEYSC_H__
      4
      5#define SH_KEYSC_MAXKEYS 64
      6
      7struct 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 */
     14};
     15
     16#endif /* __SH_KEYSC_H__ */