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

ilt.h (1651B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef B43legacy_ILT_H_
      3#define B43legacy_ILT_H_
      4
      5#define B43legacy_ILT_ROTOR_SIZE	53
      6extern const u32 b43legacy_ilt_rotor[B43legacy_ILT_ROTOR_SIZE];
      7#define B43legacy_ILT_RETARD_SIZE	53
      8extern const u32 b43legacy_ilt_retard[B43legacy_ILT_RETARD_SIZE];
      9#define B43legacy_ILT_FINEFREQA_SIZE	256
     10extern const u16 b43legacy_ilt_finefreqa[B43legacy_ILT_FINEFREQA_SIZE];
     11#define B43legacy_ILT_FINEFREQG_SIZE	256
     12extern const u16 b43legacy_ilt_finefreqg[B43legacy_ILT_FINEFREQG_SIZE];
     13#define B43legacy_ILT_NOISEA2_SIZE	8
     14extern const u16 b43legacy_ilt_noisea2[B43legacy_ILT_NOISEA2_SIZE];
     15#define B43legacy_ILT_NOISEA3_SIZE	8
     16extern const u16 b43legacy_ilt_noisea3[B43legacy_ILT_NOISEA3_SIZE];
     17#define B43legacy_ILT_NOISEG1_SIZE	8
     18extern const u16 b43legacy_ilt_noiseg1[B43legacy_ILT_NOISEG1_SIZE];
     19#define B43legacy_ILT_NOISEG2_SIZE	8
     20extern const u16 b43legacy_ilt_noiseg2[B43legacy_ILT_NOISEG2_SIZE];
     21#define B43legacy_ILT_NOISESCALEG_SIZE	27
     22extern const u16 b43legacy_ilt_noisescaleg1[B43legacy_ILT_NOISESCALEG_SIZE];
     23extern const u16 b43legacy_ilt_noisescaleg2[B43legacy_ILT_NOISESCALEG_SIZE];
     24extern const u16 b43legacy_ilt_noisescaleg3[B43legacy_ILT_NOISESCALEG_SIZE];
     25#define B43legacy_ILT_SIGMASQR_SIZE	53
     26extern const u16 b43legacy_ilt_sigmasqr1[B43legacy_ILT_SIGMASQR_SIZE];
     27extern const u16 b43legacy_ilt_sigmasqr2[B43legacy_ILT_SIGMASQR_SIZE];
     28
     29
     30void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val);
     31void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset,
     32			   u32 val);
     33u16 b43legacy_ilt_read(struct b43legacy_wldev *dev, u16 offset);
     34
     35#endif /* B43legacy_ILT_H_ */