Skip to content

Commit 8995414

Browse files
committed
add SNR register definitions
Change-Id: I94523b60f1f52e0aad00c0e487b405a2e58e0864
1 parent a77fbf8 commit 8995414

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"core" : {
3+
"programmable" : {
4+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
5+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
6+
"User": {"Config": 0, "Position": 16, "Width": 1, "DefaultValue": 1},
7+
"OS": {"Config": 0, "Position": 17, "Width": 1, "DefaultValue": 1},
8+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1},
9+
"PinControl": {"Config": 0, "Position": 19, "Width": 1, "DefaultValue": 0},
10+
"APICInt": {"Config": 0, "Position": 20, "Width": 1, "DefaultValue": 0},
11+
"Enable": {"Config": 0, "Position": 22, "Width": 1, "DefaultValue": 1},
12+
"Invert": {"Config": 0, "Position": 23, "Width": 1},
13+
"CounterMask": {"Config": 0, "Position": 24, "Width": 8},
14+
"MSRIndex": {
15+
"0x1a6" : {"Config": 1, "Position": 0, "Width": 64},
16+
"0x1a7" : {"Config": 2, "Position": 0, "Width": 64},
17+
"0x3f6" : {"Config": 3, "Position": 0, "Width": 64},
18+
"0x3f7" : {"Config": 4, "Position": 0, "Width": 64}
19+
}
20+
},
21+
"fixed0" : {
22+
"OS": {"Config": 0, "Position": 0, "Width": 1, "DefaultValue": 1},
23+
"User": {"Config": 0, "Position": 1, "Width": 1, "DefaultValue": 1},
24+
"EnablePMI": {"Config": 0, "Position": 3, "Width": 1, "DefaultValue": 0},
25+
"EventCode": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
26+
"UMask": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
27+
"EdgeDetect": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
28+
"Invert": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
29+
"CounterMask": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"}
30+
},
31+
"fixed1" : {
32+
"OS": {"Config": 0, "Position": 4, "Width": 1, "DefaultValue": 1},
33+
"User": {"Config": 0, "Position": 5, "Width": 1, "DefaultValue": 1},
34+
"EnablePMI": {"Config": 0, "Position": 7, "Width": 1, "DefaultValue": 0},
35+
"EventCode": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
36+
"UMask": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
37+
"EdgeDetect": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
38+
"Invert": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
39+
"CounterMask": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"}
40+
},
41+
"fixed2" : {
42+
"OS": {"Config": 0, "Position": 8, "Width": 1, "DefaultValue": 1},
43+
"User": {"Config": 0, "Position": 9, "Width": 1, "DefaultValue": 1},
44+
"EnablePMI": {"Config": 0, "Position": 11, "Width": 1, "DefaultValue": 0},
45+
"EventCode": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
46+
"UMask": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
47+
"EdgeDetect": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
48+
"Invert": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"},
49+
"CounterMask": {"Config": 0, "Position": -1, "__comment": "position=-1 means field ignored"}
50+
}
51+
},
52+
"cha" : {
53+
"programmable" : {
54+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
55+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
56+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1, "DefaultValue": 0},
57+
"Threshold": {"Config": 0, "Position": 24, "Width": 8, "DefaultValue": 0},
58+
"UMaskExt": {"Config": 0, "Position": 32, "Width": 26}
59+
}
60+
},
61+
"imc" : {
62+
"programmable" : {
63+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
64+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
65+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1, "DefaultValue": 0},
66+
"Threshold": {"Config": 0, "Position": 24, "Width": 8, "DefaultValue": 0}
67+
}
68+
},
69+
"m2m" : {
70+
"programmable" : {
71+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
72+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
73+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1, "DefaultValue": 0},
74+
"Threshold": {"Config": 0, "Position": 24, "Width": 8, "DefaultValue": 0},
75+
"UMaskExt": {"Config": 0, "Position": 32, "Width": 8}
76+
}
77+
},
78+
"irp" : {
79+
"programmable" : {
80+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
81+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
82+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1, "DefaultValue": 0},
83+
"Threshold": {"Config": 0, "Position": 24, "Width": 8, "DefaultValue": 0}
84+
}
85+
},
86+
"pcu" : {
87+
"programmable" : {
88+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
89+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
90+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1, "DefaultValue": 0}
91+
}
92+
},
93+
"iio" : {
94+
"programmable" : {
95+
"EventCode": {"Config": 0, "Position": 0, "Width": 8},
96+
"UMask": {"Config": 0, "Position": 8, "Width": 8},
97+
"EdgeDetect": {"Config": 0, "Position": 18, "Width": 1, "DefaultValue": 0},
98+
"Threshold": {"Config": 0, "Position": 24, "Width": 12, "DefaultValue": 0},
99+
"PortMask": {"Config": 0, "Position": 36, "Width": 12},
100+
"FCMask": {"Config": 0, "Position": 48, "Width": 3}
101+
}
102+
}
103+
}

0 commit comments

Comments
 (0)