pti.h 812 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Intel(R) Trace Hub PTI output data structures
  3. *
  4. * Copyright (C) 2014-2015 Intel Corporation.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms and conditions of the GNU General Public License,
  8. * version 2, as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  13. * more details.
  14. */
  15. #ifndef __INTEL_TH_STH_H__
  16. #define __INTEL_TH_STH_H__
  17. enum {
  18. REG_PTI_CTL = 0x1c00,
  19. };
  20. #define PTI_EN BIT(0)
  21. #define PTI_FCEN BIT(1)
  22. #define PTI_MODE 0xf0
  23. #define PTI_CLKDIV 0x000f0000
  24. #define PTI_PATGENMODE 0x00f00000
  25. #endif /* __INTEL_TH_STH_H__ */