1*fac7b714SNishad Kamdar /* SPDX-License-Identifier: GPL-2.0 */ 214cdbf04SAlexander Shishkin /* 314cdbf04SAlexander Shishkin * Intel(R) Trace Hub PTI output data structures 414cdbf04SAlexander Shishkin * 514cdbf04SAlexander Shishkin * Copyright (C) 2014-2015 Intel Corporation. 614cdbf04SAlexander Shishkin */ 714cdbf04SAlexander Shishkin 814cdbf04SAlexander Shishkin #ifndef __INTEL_TH_STH_H__ 914cdbf04SAlexander Shishkin #define __INTEL_TH_STH_H__ 1014cdbf04SAlexander Shishkin 1114cdbf04SAlexander Shishkin enum { 1214cdbf04SAlexander Shishkin REG_PTI_CTL = 0x1c00, 1314cdbf04SAlexander Shishkin }; 1414cdbf04SAlexander Shishkin 1514cdbf04SAlexander Shishkin #define PTI_EN BIT(0) 1614cdbf04SAlexander Shishkin #define PTI_FCEN BIT(1) 1714cdbf04SAlexander Shishkin #define PTI_MODE 0xf0 18f77d22bcSAlexander Shishkin #define LPP_PTIPRESENT BIT(8) 19f77d22bcSAlexander Shishkin #define LPP_BSSBPRESENT BIT(9) 2014cdbf04SAlexander Shishkin #define PTI_CLKDIV 0x000f0000 2114cdbf04SAlexander Shishkin #define PTI_PATGENMODE 0x00f00000 22f77d22bcSAlexander Shishkin #define LPP_DEST BIT(25) 23f77d22bcSAlexander Shishkin #define LPP_BSSBACT BIT(30) 24f77d22bcSAlexander Shishkin #define LPP_LPPBUSY BIT(31) 25f77d22bcSAlexander Shishkin 26f77d22bcSAlexander Shishkin #define LPP_DEST_PTI BIT(0) 27f77d22bcSAlexander Shishkin #define LPP_DEST_EXI BIT(1) 2814cdbf04SAlexander Shishkin 2914cdbf04SAlexander Shishkin #endif /* __INTEL_TH_STH_H__ */ 30