18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Intel(R) Trace Hub PTI output data structures 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2014-2015 Intel Corporation. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef __INTEL_TH_STH_H__ 98c2ecf20Sopenharmony_ci#define __INTEL_TH_STH_H__ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_cienum { 128c2ecf20Sopenharmony_ci REG_PTI_CTL = 0x1c00, 138c2ecf20Sopenharmony_ci}; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#define PTI_EN BIT(0) 168c2ecf20Sopenharmony_ci#define PTI_FCEN BIT(1) 178c2ecf20Sopenharmony_ci#define PTI_MODE 0xf0 188c2ecf20Sopenharmony_ci#define LPP_PTIPRESENT BIT(8) 198c2ecf20Sopenharmony_ci#define LPP_BSSBPRESENT BIT(9) 208c2ecf20Sopenharmony_ci#define PTI_CLKDIV 0x000f0000 218c2ecf20Sopenharmony_ci#define PTI_PATGENMODE 0x00f00000 228c2ecf20Sopenharmony_ci#define LPP_DEST BIT(25) 238c2ecf20Sopenharmony_ci#define LPP_BSSBACT BIT(30) 248c2ecf20Sopenharmony_ci#define LPP_LPPBUSY BIT(31) 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#define LPP_DEST_PTI BIT(0) 278c2ecf20Sopenharmony_ci#define LPP_DEST_EXI BIT(1) 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#endif /* __INTEL_TH_STH_H__ */ 30