1 What: /sys/bus/coresight/devices/<tpdm-name>/integration_test
4 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
6 (Write) Run integration test for tpdm. Integration test
7 will generate test data for tpdm. It can help to make
8 sure that the trace path is enabled and the link configurations
11 Accepts only one of the 2 values - 1 or 2.
12 1 : Generate 64 bits data
13 2 : Generate 32 bits data
15 What: /sys/bus/coresight/devices/<tpdm-name>/reset_dataset
18 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
20 (Write) Reset the dataset of the tpdm.
22 Accepts only one value - 1.
23 1 : Reset the dataset of the tpdm
25 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_type
28 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
30 (RW) Set/Get the trigger type of the DSB for tpdm.
32 Accepts only one of the 2 values - 0 or 1.
33 0 : Set the DSB trigger type to false
34 1 : Set the DSB trigger type to true
36 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_ts
39 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
41 (RW) Set/Get the trigger timestamp of the DSB for tpdm.
43 Accepts only one of the 2 values - 0 or 1.
44 0 : Set the DSB trigger type to false
45 1 : Set the DSB trigger type to true
47 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_mode
50 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
52 (RW) Set/Get the programming mode of the DSB for tpdm.
54 Accepts the value needs to be greater than 0. What data
55 bits do is listed below.
56 Bit[0:1] : Test mode control bit for choosing the inputs.
57 Bit[3] : Set to 0 for low performance mode. Set to 1 for high
59 Bit[4:8] : Select byte lane for high performance mode.
61 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_idx
64 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
66 (RW) Set/Get the index number of the edge detection for the DSB
67 subunit TPDM. Since there are at most 256 edge detections, this
68 value ranges from 0 to 255.
70 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_val
73 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
75 Write a data to control the edge detection corresponding to
76 the index number. Before writing data to this sysfs file,
77 "ctrl_idx" should be written first to configure the index
78 number of the edge detection which needs to be controlled.
80 Accepts only one of the following values.
81 0 - Rising edge detection
82 1 - Falling edge detection
83 2 - Rising and falling edge detection (toggle detection)
86 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_mask
89 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
91 Write a data to mask the edge detection corresponding to the index
92 number. Before writing data to this sysfs file, "ctrl_idx" should
93 be written first to configure the index number of the edge detection
94 which needs to be masked.
96 Accepts only one of the 2 values - 0 or 1.
98 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/edcr[0:15]
101 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
103 Read a set of the edge control value of the DSB in TPDM.
105 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/edcmr[0:7]
108 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
110 Read a set of the edge control mask of the DSB in TPDM.
112 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_patt/xpr[0:7]
115 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
117 (RW) Set/Get the value of the trigger pattern for the DSB
120 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_patt/xpmr[0:7]
123 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
125 (RW) Set/Get the mask of the trigger pattern for the DSB
128 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:7]
131 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
133 (RW) Set/Get the value of the pattern for the DSB subunit TPDM.
135 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:7]
138 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
140 (RW) Set/Get the mask of the pattern for the DSB subunit TPDM.
142 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/enable_ts
145 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
147 (Write) Set the pattern timestamp of DSB tpdm. Read
148 the pattern timestamp of DSB tpdm.
150 Accepts only one of the 2 values - 0 or 1.
151 0 : Disable DSB pattern timestamp.
152 1 : Enable DSB pattern timestamp.
154 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/set_type
157 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
159 (Write) Set the pattern type of DSB tpdm. Read
160 the pattern type of DSB tpdm.
162 Accepts only one of the 2 values - 0 or 1.
163 0 : Set the DSB pattern type to value.
164 1 : Set the DSB pattern type to toggle.
166 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_msr/msr[0:31]
169 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
171 (RW) Set/Get the MSR(mux select register) for the DSB subunit
174 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_mode
177 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
178 Description: (Write) Set the data collection mode of CMB tpdm. Continuous
179 change creates CMB data set elements on every CMBCLK edge.
180 Trace-on-change creates CMB data set elements only when a new
181 data set element differs in value from the previous element
184 Accepts only one of the 2 values - 0 or 1.
185 0 : Continuous CMB collection mode.
186 1 : Trace-on-change CMB collection mode.
188 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpr[0:1]
191 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
193 (RW) Set/Get the value of the trigger pattern for the CMB
196 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpmr[0:1]
199 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
201 (RW) Set/Get the mask of the trigger pattern for the CMB
204 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:1]
207 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
209 (RW) Set/Get the value of the pattern for the CMB subunit TPDM.
211 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:1]
214 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
216 (RW) Set/Get the mask of the pattern for the CMB subunit TPDM.
218 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_patt/enable_ts
221 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
223 (Write) Set the pattern timestamp of CMB tpdm. Read
224 the pattern timestamp of CMB tpdm.
226 Accepts only one of the 2 values - 0 or 1.
227 0 : Disable CMB pattern timestamp.
228 1 : Enable CMB pattern timestamp.
230 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_ts
233 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
235 (RW) Set/Get the trigger timestamp of the CMB for tpdm.
237 Accepts only one of the 2 values - 0 or 1.
238 0 : Set the CMB trigger type to false
239 1 : Set the CMB trigger type to true
241 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_ts_all
244 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
246 (RW) Read or write the status of timestamp upon all interface.
247 Only value 0 and 1 can be written to this node. Set this node to 1 to request
248 timestamp to all trace packet.
249 Accepts only one of the 2 values - 0 or 1.
250 0 : Disable the timestamp of all trace packets.
251 1 : Enable the timestamp of all trace packets.
253 What: /sys/bus/coresight/devices/<tpdm-name>/cmb_msr/msr[0:31]
256 Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
258 (RW) Set/Get the MSR(mux select register) for the CMB subunit