0001
0002
0003
0004
0005
0006 #ifndef _CORESIGHT_ETM4X_CFG_H
0007 #define _CORESIGHT_ETM4X_CFG_H
0008
0009 #include "coresight-config.h"
0010 #include "coresight-etm4x.h"
0011
0012
0013
0014
0015
0016 #define ETM4_CFG_RES_CTR 0x001
0017 #define ETM4_CFG_RES_CMP 0x002
0018 #define ETM4_CFG_RES_CMP_PAIR0 0x003
0019 #define ETM4_CFG_RES_CMP_PAIR1 0x004
0020 #define ETM4_CFG_RES_SEL 0x005
0021 #define ETM4_CFG_RES_SEL_PAIR0 0x006
0022 #define ETM4_CFG_RES_SEL_PAIR1 0x007
0023 #define ETM4_CFG_RES_SEQ 0x008
0024 #define ETM4_CFG_RES_TS 0x009
0025 #define ETM4_CFG_RES_MASK 0x00F
0026
0027
0028 int etm4_cscfg_register(struct coresight_device *csdev);
0029
0030 #endif