pti.h 596 B

123456789101112131415161718192021222324252627282930
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Intel(R) Trace Hub PTI output data structures
  4. *
  5. * Copyright (C) 2014-2015 Intel Corporation.
  6. */
  7. #ifndef __INTEL_TH_STH_H__
  8. #define __INTEL_TH_STH_H__
  9. enum {
  10. REG_PTI_CTL = 0x1c00,
  11. };
  12. #define PTI_EN BIT(0)
  13. #define PTI_FCEN BIT(1)
  14. #define PTI_MODE 0xf0
  15. #define LPP_PTIPRESENT BIT(8)
  16. #define LPP_BSSBPRESENT BIT(9)
  17. #define PTI_CLKDIV 0x000f0000
  18. #define PTI_PATGENMODE 0x00f00000
  19. #define LPP_DEST BIT(25)
  20. #define LPP_BSSBACT BIT(30)
  21. #define LPP_LPPBUSY BIT(31)
  22. #define LPP_DEST_PTI BIT(0)
  23. #define LPP_DEST_EXI BIT(1)
  24. #endif /* __INTEL_TH_STH_H__ */