Lines Matching +full:0 +full:x3b
18 {0x421, 0x0F}, {0x428, 0x0A}, {0x429, 0x10}, {0x430, 0x00},
19 {0x431, 0x00}, {0x432, 0x00}, {0x433, 0x01}, {0x434, 0x04},
20 {0x435, 0x05}, {0x436, 0x07}, {0x437, 0x08}, {0x43C, 0x04},
21 {0x43D, 0x05}, {0x43E, 0x07}, {0x43F, 0x08}, {0x440, 0x5D},
22 {0x441, 0x01}, {0x442, 0x00}, {0x444, 0x10}, {0x445, 0x00},
23 {0x446, 0x00}, {0x447, 0x00}, {0x448, 0x00}, {0x449, 0xF0},
24 {0x44A, 0x0F}, {0x44B, 0x3E}, {0x44C, 0x10}, {0x44D, 0x00},
25 {0x44E, 0x00}, {0x44F, 0x00}, {0x450, 0x00}, {0x451, 0xF0},
26 {0x452, 0x0F}, {0x453, 0x00}, {0x456, 0x5E}, {0x460, 0x66},
27 {0x461, 0x66}, {0x4C8, 0xFF}, {0x4C9, 0x08}, {0x4CC, 0xFF},
28 {0x4CD, 0xFF}, {0x4CE, 0x01}, {0x500, 0x26}, {0x501, 0xA2},
29 {0x502, 0x2F}, {0x503, 0x00}, {0x504, 0x28}, {0x505, 0xA3},
30 {0x506, 0x5E}, {0x507, 0x00}, {0x508, 0x2B}, {0x509, 0xA4},
31 {0x50A, 0x5E}, {0x50B, 0x00}, {0x50C, 0x4F}, {0x50D, 0xA4},
32 {0x50E, 0x00}, {0x50F, 0x00}, {0x512, 0x1C}, {0x514, 0x0A},
33 {0x516, 0x0A}, {0x525, 0x4F}, {0x550, 0x10}, {0x551, 0x10},
34 {0x559, 0x02}, {0x55C, 0x28}, {0x55D, 0xFF}, {0x605, 0x30},
35 {0x608, 0x0E}, {0x609, 0x2A}, {0x620, 0xFF}, {0x621, 0xFF},
36 {0x622, 0xFF}, {0x623, 0xFF}, {0x624, 0xFF}, {0x625, 0xFF},
37 {0x626, 0xFF}, {0x627, 0xFF}, {0x638, 0x28}, {0x63C, 0x0A},
38 {0x63D, 0x0A}, {0x63E, 0x0C}, {0x63F, 0x0C}, {0x640, 0x40},
39 {0x642, 0x40}, {0x643, 0x00}, {0x652, 0xC8}, {0x66A, 0xB0},
40 {0x66E, 0x05}, {0x700, 0x21}, {0x701, 0x43}, {0x702, 0x65},
41 {0x703, 0x87}, {0x708, 0x21}, {0x709, 0x43}, {0x70A, 0x65},
42 {0x70B, 0x87},
43 {0xffff, 0xff},
48 {0x800, 0x80045700}, {0x804, 0x00000001},
49 {0x808, 0x00FC8000}, {0x80C, 0x0000000A},
50 {0x810, 0x10001331}, {0x814, 0x020C3D10},
51 {0x818, 0x00200385}, {0x81C, 0x00000000},
52 {0x820, 0x01000100}, {0x824, 0x00390204},
53 {0x828, 0x00000000}, {0x82C, 0x00000000},
54 {0x830, 0x00000000}, {0x834, 0x00000000},
55 {0x838, 0x00000000}, {0x83C, 0x00000000},
56 {0x840, 0x00010000}, {0x844, 0x00000000},
57 {0x848, 0x00000000}, {0x84C, 0x00000000},
58 {0x850, 0x00030000}, {0x854, 0x00000000},
59 {0x858, 0x7E1A569A}, {0x85C, 0x569A569A},
60 {0x860, 0x00000130}, {0x864, 0x20000000},
61 {0x868, 0x00000000}, {0x86C, 0x27272700},
62 {0x870, 0x00050000}, {0x874, 0x25005000},
63 {0x878, 0x00000808}, {0x87C, 0x004F0201},
64 {0x880, 0xB0000B1E}, {0x884, 0x00000007},
65 {0x888, 0x00000000}, {0x88C, 0xCCC400C0},
66 {0x890, 0x00000800}, {0x894, 0xFFFFFFFE},
67 {0x898, 0x40302010}, {0x89C, 0x00706050},
68 {0x900, 0x00000000}, {0x904, 0x00000023},
69 {0x908, 0x00000000}, {0x90C, 0x81121111},
70 {0x910, 0x00000402}, {0x914, 0x00000201},
71 {0x920, 0x18C6318C}, {0x924, 0x0000018C},
72 {0x948, 0x99000000}, {0x94C, 0x00000010},
73 {0x950, 0x00003000}, {0x954, 0x5A880000},
74 {0x958, 0x4BC6D87A}, {0x95C, 0x04EB9B79},
75 {0x96C, 0x00000003}, {0x970, 0x00000000},
76 {0x974, 0x00000000}, {0x978, 0x00000000},
77 {0x97C, 0x13000000}, {0x980, 0x00000000},
78 {0xA00, 0x00D046C8}, {0xA04, 0x80FF800C},
79 {0xA08, 0x84838300}, {0xA0C, 0x2E20100F},
80 {0xA10, 0x9500BB78}, {0xA14, 0x1114D028},
81 {0xA18, 0x00881117}, {0xA1C, 0x89140F00},
82 {0xA20, 0xE82C0001}, {0xA24, 0x64B80C1C},
83 {0xA28, 0x00008810}, {0xA2C, 0x00D30000},
84 {0xA70, 0x101FBF00}, {0xA74, 0x00000007},
85 {0xA78, 0x00000900}, {0xA7C, 0x225B0606},
86 {0xA80, 0x218075B1}, {0xA84, 0x00200000},
87 {0xA88, 0x040C0000}, {0xA8C, 0x12345678},
88 {0xA90, 0xABCDEF00}, {0xA94, 0x001B1B89},
89 {0xA98, 0x00000000}, {0xA9C, 0x80020000},
90 {0xAA0, 0x00000000}, {0xAA4, 0x0000000C},
91 {0xAA8, 0xCA110058}, {0xAAC, 0x01235667},
92 {0xAB0, 0x00000000}, {0xAB4, 0x20201402},
93 {0xB2C, 0x00000000}, {0xC00, 0x48071D40},
94 {0xC04, 0x03A05611}, {0xC08, 0x000000E4},
95 {0xC0C, 0x6C6C6C6C}, {0xC10, 0x18800000},
96 {0xC14, 0x40000100}, {0xC18, 0x08800000},
97 {0xC1C, 0x40000100}, {0xC20, 0x00000000},
98 {0xC24, 0x00000000}, {0xC28, 0x00000000},
99 {0xC2C, 0x00000000}, {0xC30, 0x69E9AC4A},
100 {0xC34, 0x31000040}, {0xC38, 0x21688080},
101 {0xC3C, 0x0000170C}, {0xC40, 0x1F78403F},
102 {0xC44, 0x00010036}, {0xC48, 0xEC020107},
103 {0xC4C, 0x007F037F}, {0xC50, 0x69553420},
104 {0xC54, 0x43BC0094}, {0xC58, 0x00013169},
105 {0xC5C, 0x00250492}, {0xC60, 0x00280A00},
106 {0xC64, 0x7112848B}, {0xC68, 0x47C074FF},
107 {0xC6C, 0x00000036}, {0xC70, 0x2C7F000D},
108 {0xC74, 0x020600DB}, {0xC78, 0x0000001F},
109 {0xC7C, 0x00B91612}, {0xC80, 0x390000E4},
110 {0xC84, 0x11F60000}, {0xC88, 0x1051B75F},
111 {0xC8C, 0x20200109}, {0xC90, 0x00091521},
112 {0xC94, 0x00000000}, {0xC98, 0x00121820},
113 {0xC9C, 0x00007F7F}, {0xCA0, 0x00011000},
114 {0xCA4, 0x800000A0}, {0xCA8, 0x84E6C606},
115 {0xCAC, 0x00000060}, {0xCB0, 0x00000000},
116 {0xCB4, 0x00000000}, {0xCB8, 0x00000000},
117 {0xCBC, 0x28000000}, {0xCC0, 0x1051B75F},
118 {0xCC4, 0x00000109}, {0xCC8, 0x000442D6},
119 {0xCCC, 0x00000000}, {0xCD0, 0x000001C8},
120 {0xCD4, 0x001C8000}, {0xCD8, 0x00000100},
121 {0xCDC, 0x40100000}, {0xCE0, 0x00222220},
122 {0xCE4, 0x10000000}, {0xCE8, 0x37644302},
123 {0xCEC, 0x2F97D40C}, {0xD00, 0x04030740},
124 {0xD04, 0x40020401}, {0xD08, 0x0000907F},
125 {0xD0C, 0x20010201}, {0xD10, 0xA0633333},
126 {0xD14, 0x3333BC53}, {0xD18, 0x7A8F5B6F},
127 {0xD2C, 0xCB979975}, {0xD30, 0x00000000},
128 {0xD34, 0x40608000}, {0xD38, 0x88000000},
129 {0xD3C, 0xC0127353}, {0xD40, 0x00000000},
130 {0xD44, 0x00000000}, {0xD48, 0x00000000},
131 {0xD4C, 0x00000000}, {0xD50, 0x00006528},
132 {0xD54, 0x00000000}, {0xD58, 0x00000282},
133 {0xD5C, 0x30032064}, {0xD60, 0x4653DE68},
134 {0xD64, 0x04518A3C}, {0xD68, 0x00002101},
135 {0xE00, 0x2D2D2D2D}, {0xE04, 0x2D2D2D2D},
136 {0xE08, 0x0390272D}, {0xE10, 0x2D2D2D2D},
137 {0xE14, 0x2D2D2D2D}, {0xE18, 0x2D2D2D2D},
138 {0xE1C, 0x2D2D2D2D}, {0xE28, 0x00000000},
139 {0xE30, 0x1000DC1F}, {0xE34, 0x10008C1F},
140 {0xE38, 0x02140102}, {0xE3C, 0x681604C2},
141 {0xE40, 0x01007C00}, {0xE44, 0x01004800},
142 {0xE48, 0xFB000000}, {0xE4C, 0x000028D1},
143 {0xE50, 0x1000DC1F}, {0xE54, 0x10008C1F},
144 {0xE58, 0x02140102}, {0xE5C, 0x28160D05},
145 {0xE60, 0x0000C008}, {0xE68, 0x001B25A4},
146 {0xE64, 0x281600A0}, {0xE6C, 0x01C00010},
147 {0xE70, 0x01C00010}, {0xE74, 0x02000010},
148 {0xE78, 0x02000010}, {0xE7C, 0x02000010},
149 {0xE80, 0x02000010}, {0xE84, 0x01C00010},
150 {0xE88, 0x02000010}, {0xE8C, 0x01C00010},
151 {0xED0, 0x01C00010}, {0xED4, 0x01C00010},
152 {0xED8, 0x01C00010}, {0xEDC, 0x00000010},
153 {0xEE0, 0x00000010}, {0xEEC, 0x03C00010},
154 {0xF14, 0x00000003}, {0xF00, 0x00100300},
155 {0xF08, 0x0000800B}, {0xF0C, 0x0000F007},
156 {0xF10, 0x0000A487}, {0xF1C, 0x80000064},
157 {0xF38, 0x00030155}, {0xF3C, 0x0000003A},
158 {0xF4C, 0x13000000}, {0xF50, 0x00000000},
159 {0xF18, 0x00000000},
160 {0xffff, 0xffffffff},
165 {0x800, 0x80045700}, {0x804, 0x00000001},
166 {0x808, 0x00FC8000}, {0x80C, 0x0000000A},
167 {0x810, 0x10001331}, {0x814, 0x020C3D10},
168 {0x818, 0x00200385}, {0x81C, 0x00000000},
169 {0x820, 0x01000100}, {0x824, 0x00390204},
170 {0x828, 0x00000000}, {0x82C, 0x00000000},
171 {0x830, 0x00000000}, {0x834, 0x00000000},
172 {0x838, 0x00000000}, {0x83C, 0x00000000},
173 {0x840, 0x00010000}, {0x844, 0x00000000},
174 {0x848, 0x00000000}, {0x84C, 0x00000000},
175 {0x850, 0x00030000}, {0x854, 0x00000000},
176 {0x858, 0x7E1A569A}, {0x85C, 0x569A569A},
177 {0x860, 0x00000130}, {0x864, 0x20000000},
178 {0x868, 0x00000000}, {0x86C, 0x27272700},
179 {0x870, 0x00050000}, {0x874, 0x25005000},
180 {0x878, 0x00000808}, {0x87C, 0x004F0201},
181 {0x880, 0xB0000B1E}, {0x884, 0x00000007},
182 {0x888, 0x00000000}, {0x88C, 0xCCC400C0},
183 {0x890, 0x00000800}, {0x894, 0xFFFFFFFE},
184 {0x898, 0x40302010}, {0x89C, 0x00706050},
185 {0x900, 0x00000000}, {0x904, 0x00000023},
186 {0x908, 0x00000000}, {0x90C, 0x81121111},
187 {0x910, 0x00000402}, {0x914, 0x00000201},
188 {0x920, 0x18C6318C}, {0x924, 0x0000018C},
189 {0x948, 0x99000000}, {0x94C, 0x00000010},
190 {0x950, 0x00003000}, {0x954, 0x5A880000},
191 {0x958, 0x4BC6D87A}, {0x95C, 0x04EB9B79},
192 {0x96C, 0x00000003}, {0x970, 0x00000000},
193 {0x974, 0x00000000}, {0x978, 0x00000000},
194 {0x97C, 0x13000000}, {0x980, 0x00000000},
195 {0xA00, 0x00D046C8}, {0xA04, 0x80FF800C},
196 {0xA08, 0x84838300}, {0xA0C, 0x2A20100F},
197 {0xA10, 0x9500BB78}, {0xA14, 0x1114D028},
198 {0xA18, 0x00881117}, {0xA1C, 0x89140F00},
199 {0xA20, 0xE82C0001}, {0xA24, 0x64B80C1C},
200 {0xA28, 0x00008810}, {0xA2C, 0x00D30000},
201 {0xA70, 0x101FBF00}, {0xA74, 0x00000007},
202 {0xA78, 0x00000900}, {0xA7C, 0x225B0606},
203 {0xA80, 0x218075B1}, {0xA84, 0x00200000},
204 {0xA88, 0x040C0000}, {0xA8C, 0x12345678},
205 {0xA90, 0xABCDEF00}, {0xA94, 0x001B1B89},
206 {0xA98, 0x00000000}, {0xA9C, 0x80020000},
207 {0xAA0, 0x00000000}, {0xAA4, 0x0000000C},
208 {0xAA8, 0xCA110058}, {0xAAC, 0x01235667},
209 {0xAB0, 0x00000000}, {0xAB4, 0x20201402},
210 {0xB2C, 0x00000000}, {0xC00, 0x48071D40},
211 {0xC04, 0x03A05611}, {0xC08, 0x000000E4},
212 {0xC0C, 0x6C6C6C6C}, {0xC10, 0x18800000},
213 {0xC14, 0x40000100}, {0xC18, 0x08800000},
214 {0xC1C, 0x40000100}, {0xC20, 0x00000000},
215 {0xC24, 0x00000000}, {0xC28, 0x00000000},
216 {0xC2C, 0x00000000}, {0xC30, 0x69E9AC4A},
217 {0xC34, 0x31000040}, {0xC38, 0x21688080},
218 {0xC3C, 0x0000170C}, {0xC40, 0x1F78403F},
219 {0xC44, 0x00010036}, {0xC48, 0xEC020107},
220 {0xC4C, 0x007F037F}, {0xC50, 0x69553420},
221 {0xC54, 0x43BC0094}, {0xC58, 0x00013169},
222 {0xC5C, 0x00250492}, {0xC60, 0x00280A00},
223 {0xC64, 0x7112848B}, {0xC68, 0x47C074FF},
224 {0xC6C, 0x00000036}, {0xC70, 0x2C7F000D},
225 {0xC74, 0x020600DB}, {0xC78, 0x0000001F},
226 {0xC7C, 0x00B91612}, {0xC80, 0x390000E4},
227 {0xC84, 0x11F60000}, {0xC88, 0x1051B75F},
228 {0xC8C, 0x20200109}, {0xC90, 0x00091521},
229 {0xC94, 0x00000000}, {0xC98, 0x00121820},
230 {0xC9C, 0x00007F7F}, {0xCA0, 0x00011000},
231 {0xCA4, 0x800000A0}, {0xCA8, 0x84E6C606},
232 {0xCAC, 0x00000060}, {0xCB0, 0x00000000},
233 {0xCB4, 0x00000000}, {0xCB8, 0x00000000},
234 {0xCBC, 0x28000000}, {0xCC0, 0x1051B75F},
235 {0xCC4, 0x00000109}, {0xCC8, 0x000442D6},
236 {0xCCC, 0x00000000}, {0xCD0, 0x000001C8},
237 {0xCD4, 0x001C8000}, {0xCD8, 0x00000100},
238 {0xCDC, 0x40100000}, {0xCE0, 0x00222220},
239 {0xCE4, 0x10000000}, {0xCE8, 0x37644302},
240 {0xCEC, 0x2F97D40C}, {0xD00, 0x04030740},
241 {0xD04, 0x40020401}, {0xD08, 0x0000907F},
242 {0xD0C, 0x20010201}, {0xD10, 0xA0633333},
243 {0xD14, 0x3333BC53}, {0xD18, 0x7A8F5B6F},
244 {0xD2C, 0xCB979975}, {0xD30, 0x00000000},
245 {0xD34, 0x40608000}, {0xD38, 0x88000000},
246 {0xD3C, 0xC0127353}, {0xD40, 0x00000000},
247 {0xD44, 0x00000000}, {0xD48, 0x00000000},
248 {0xD4C, 0x00000000}, {0xD50, 0x00006528},
249 {0xD54, 0x00000000}, {0xD58, 0x00000282},
250 {0xD5C, 0x30032064}, {0xD60, 0x4653DE68},
251 {0xD64, 0x04518A3C}, {0xD68, 0x00002101},
252 {0xE00, 0x2D2D2D2D}, {0xE04, 0x2D2D2D2D},
253 {0xE08, 0x0390272D}, {0xE10, 0x2D2D2D2D},
254 {0xE14, 0x2D2D2D2D}, {0xE18, 0x2D2D2D2D},
255 {0xE1C, 0x2D2D2D2D}, {0xE28, 0x00000000},
256 {0xE30, 0x1000DC1F}, {0xE34, 0x10008C1F},
257 {0xE38, 0x02140102}, {0xE3C, 0x681604C2},
258 {0xE40, 0x01007C00}, {0xE44, 0x01004800},
259 {0xE48, 0xFB000000}, {0xE4C, 0x000028D1},
260 {0xE50, 0x1000DC1F}, {0xE54, 0x10008C1F},
261 {0xE58, 0x02140102}, {0xE5C, 0x28160D05},
262 {0xE60, 0x0000C008}, {0xE68, 0x001B25A4},
263 {0xE64, 0x281600A0}, {0xE6C, 0x01C00010},
264 {0xE70, 0x01C00010}, {0xE74, 0x02000010},
265 {0xE78, 0x02000010}, {0xE7C, 0x02000010},
266 {0xE80, 0x02000010}, {0xE84, 0x01C00010},
267 {0xE88, 0x02000010}, {0xE8C, 0x01C00010},
268 {0xED0, 0x01C00010}, {0xED4, 0x01C00010},
269 {0xED8, 0x01C00010}, {0xEDC, 0x00000010},
270 {0xEE0, 0x00000010}, {0xEEC, 0x03C00010},
271 {0xF14, 0x00000003}, {0xF00, 0x00100300},
272 {0xF08, 0x0000800B}, {0xF0C, 0x0000F007},
273 {0xF10, 0x0000A487}, {0xF1C, 0x80000064},
274 {0xF38, 0x00030155}, {0xF3C, 0x0000003A},
275 {0xF4C, 0x13000000}, {0xF50, 0x00000000},
276 {0xF18, 0x00000000},
277 {0xffff, 0xffffffff},
281 {0xC78, 0xFC000001}, {0xC78, 0xFB010001},
282 {0xC78, 0xFA020001}, {0xC78, 0xF9030001},
283 {0xC78, 0xF8040001}, {0xC78, 0xF7050001},
284 {0xC78, 0xF6060001}, {0xC78, 0xF5070001},
285 {0xC78, 0xF4080001}, {0xC78, 0xF3090001},
286 {0xC78, 0xF20A0001}, {0xC78, 0xF10B0001},
287 {0xC78, 0xF00C0001}, {0xC78, 0xEF0D0001},
288 {0xC78, 0xEE0E0001}, {0xC78, 0xED0F0001},
289 {0xC78, 0xEC100001}, {0xC78, 0xEB110001},
290 {0xC78, 0xEA120001}, {0xC78, 0xE9130001},
291 {0xC78, 0xE8140001}, {0xC78, 0xE7150001},
292 {0xC78, 0xE6160001}, {0xC78, 0xE5170001},
293 {0xC78, 0xE4180001}, {0xC78, 0xE3190001},
294 {0xC78, 0xE21A0001}, {0xC78, 0xE11B0001},
295 {0xC78, 0xE01C0001}, {0xC78, 0xC31D0001},
296 {0xC78, 0xC21E0001}, {0xC78, 0xC11F0001},
297 {0xC78, 0xC0200001}, {0xC78, 0xA3210001},
298 {0xC78, 0xA2220001}, {0xC78, 0xA1230001},
299 {0xC78, 0xA0240001}, {0xC78, 0x86250001},
300 {0xC78, 0x85260001}, {0xC78, 0x84270001},
301 {0xC78, 0x83280001}, {0xC78, 0x82290001},
302 {0xC78, 0x812A0001}, {0xC78, 0x802B0001},
303 {0xC78, 0x632C0001}, {0xC78, 0x622D0001},
304 {0xC78, 0x612E0001}, {0xC78, 0x602F0001},
305 {0xC78, 0x42300001}, {0xC78, 0x41310001},
306 {0xC78, 0x40320001}, {0xC78, 0x23330001},
307 {0xC78, 0x22340001}, {0xC78, 0x21350001},
308 {0xC78, 0x20360001}, {0xC78, 0x02370001},
309 {0xC78, 0x01380001}, {0xC78, 0x00390001},
310 {0xC78, 0x003A0001}, {0xC78, 0x003B0001},
311 {0xC78, 0x003C0001}, {0xC78, 0x003D0001},
312 {0xC78, 0x003E0001}, {0xC78, 0x003F0001},
313 {0xC78, 0xF7400001}, {0xC78, 0xF7410001},
314 {0xC78, 0xF7420001}, {0xC78, 0xF7430001},
315 {0xC78, 0xF7440001}, {0xC78, 0xF7450001},
316 {0xC78, 0xF7460001}, {0xC78, 0xF7470001},
317 {0xC78, 0xF7480001}, {0xC78, 0xF6490001},
318 {0xC78, 0xF34A0001}, {0xC78, 0xF24B0001},
319 {0xC78, 0xF14C0001}, {0xC78, 0xF04D0001},
320 {0xC78, 0xD14E0001}, {0xC78, 0xD04F0001},
321 {0xC78, 0xB5500001}, {0xC78, 0xB4510001},
322 {0xC78, 0xB3520001}, {0xC78, 0xB2530001},
323 {0xC78, 0xB1540001}, {0xC78, 0xB0550001},
324 {0xC78, 0xAF560001}, {0xC78, 0xAE570001},
325 {0xC78, 0xAD580001}, {0xC78, 0xAC590001},
326 {0xC78, 0xAB5A0001}, {0xC78, 0xAA5B0001},
327 {0xC78, 0xA95C0001}, {0xC78, 0xA85D0001},
328 {0xC78, 0xA75E0001}, {0xC78, 0xA65F0001},
329 {0xC78, 0xA5600001}, {0xC78, 0xA4610001},
330 {0xC78, 0xA3620001}, {0xC78, 0xA2630001},
331 {0xC78, 0xA1640001}, {0xC78, 0xA0650001},
332 {0xC78, 0x87660001}, {0xC78, 0x86670001},
333 {0xC78, 0x85680001}, {0xC78, 0x84690001},
334 {0xC78, 0x836A0001}, {0xC78, 0x826B0001},
335 {0xC78, 0x816C0001}, {0xC78, 0x806D0001},
336 {0xC78, 0x636E0001}, {0xC78, 0x626F0001},
337 {0xC78, 0x61700001}, {0xC78, 0x60710001},
338 {0xC78, 0x42720001}, {0xC78, 0x41730001},
339 {0xC78, 0x40740001}, {0xC78, 0x23750001},
340 {0xC78, 0x22760001}, {0xC78, 0x21770001},
341 {0xC78, 0x20780001}, {0xC78, 0x03790001},
342 {0xC78, 0x027A0001}, {0xC78, 0x017B0001},
343 {0xC78, 0x007C0001}, {0xC78, 0x007D0001},
344 {0xC78, 0x007E0001}, {0xC78, 0x007F0001},
345 {0xC50, 0x69553422}, {0xC50, 0x69553420},
346 {0xffff, 0xffffffff}
350 {0x00, 0x00030000}, {0x08, 0x00008400},
351 {0x17, 0x00000000}, {0x18, 0x00000C01},
352 {0x19, 0x000739D2}, {0x1C, 0x00000C4C},
353 {0x1B, 0x00000C6C}, {0x1E, 0x00080009},
354 {0x1F, 0x00000880}, {0x2F, 0x0001A060},
355 {0x3F, 0x00015000}, {0x42, 0x000060C0},
356 {0x57, 0x000D0000}, {0x58, 0x000C0160},
357 {0x67, 0x00001552}, {0x83, 0x00000000},
358 {0xB0, 0x000FF9F0}, {0xB1, 0x00010018},
359 {0xB2, 0x00054C00}, {0xB4, 0x0004486B},
360 {0xB5, 0x0000112A}, {0xB6, 0x0000053E},
361 {0xB7, 0x00014408}, {0xB8, 0x00010200},
362 {0xB9, 0x00080801}, {0xBA, 0x00040001},
363 {0xBB, 0x00000400}, {0xBF, 0x000C0000},
364 {0xC2, 0x00002400}, {0xC3, 0x00000009},
365 {0xC4, 0x00040C91}, {0xC5, 0x00099999},
366 {0xC6, 0x000000A3}, {0xC7, 0x00088820},
367 {0xC8, 0x00076C06}, {0xC9, 0x00000000},
368 {0xCA, 0x00080000}, {0xDF, 0x00000180},
369 {0xEF, 0x000001A8}, {0x3D, 0x00000003},
370 {0x3D, 0x00080003}, {0x51, 0x000F1E69},
371 {0x52, 0x000FBF6C}, {0x53, 0x0000032F},
372 {0x54, 0x00055007}, {0x56, 0x000517F0},
373 {0x35, 0x000000F4}, {0x35, 0x00000179},
374 {0x35, 0x000002F4}, {0x36, 0x00000BF8},
375 {0x36, 0x00008BF8}, {0x36, 0x00010BF8},
376 {0x36, 0x00018BF8}, {0x18, 0x00000C01},
377 {0x5A, 0x00048000}, {0x5A, 0x00048000},
378 {0x34, 0x0000ADF5}, {0x34, 0x00009DF2},
379 {0x34, 0x00008DEF}, {0x34, 0x00007DEC},
380 {0x34, 0x00006DE9}, {0x34, 0x00005CEC},
381 {0x34, 0x00004CE9}, {0x34, 0x00003C6C},
382 {0x34, 0x00002C69}, {0x34, 0x0000106E},
383 {0x34, 0x0000006B}, {0x84, 0x00048000},
384 {0x87, 0x00000065}, {0x8E, 0x00065540},
385 {0xDF, 0x00000110}, {0x86, 0x0000002A},
386 {0x8F, 0x00088000}, {0x81, 0x0003FD80},
387 {0xEF, 0x00082000}, {0x3B, 0x000F0F00},
388 {0x3B, 0x000E0E00}, {0x3B, 0x000DFE00},
389 {0x3B, 0x000C0D00}, {0x3B, 0x000B0C00},
390 {0x3B, 0x000A0500}, {0x3B, 0x00090400},
391 {0x3B, 0x00080000}, {0x3B, 0x00070F00},
392 {0x3B, 0x00060E00}, {0x3B, 0x00050A00},
393 {0x3B, 0x00040D00}, {0x3B, 0x00030C00},
394 {0x3B, 0x00020500}, {0x3B, 0x00010400},
395 {0x3B, 0x00000000}, {0xEF, 0x00080000},
396 {0xEF, 0x00088000}, {0x3B, 0x00000170},
397 {0x3B, 0x000C0030}, {0xEF, 0x00080000},
398 {0xEF, 0x00080000}, {0x30, 0x00010000},
399 {0x31, 0x0000000F}, {0x32, 0x00047EFE},
400 {0xEF, 0x00000000}, {0x00, 0x00010159},
401 {0x18, 0x0000FC01}, {0xFE, 0x00000000},
402 {0x00, 0x00033D95},
403 {0xff, 0xffffffff}
407 {0x00, 0x00030000}, {0x08, 0x00008400},
408 {0x17, 0x00000000}, {0x18, 0x00000C01},
409 {0x19, 0x000739D2}, {0x1C, 0x00000C4C},
410 {0x1B, 0x00000C6C}, {0x1E, 0x00080009},
411 {0x1F, 0x00000880}, {0x2F, 0x0001A060},
412 {0x3F, 0x00015000}, {0x42, 0x000060C0},
413 {0x57, 0x000D0000}, {0x58, 0x000C0160},
414 {0x67, 0x00001552}, {0x83, 0x00000000},
415 {0xB0, 0x000FF9F0}, {0xB1, 0x00010018},
416 {0xB2, 0x00054C00}, {0xB4, 0x0004486B},
417 {0xB5, 0x0000112A}, {0xB6, 0x0000053E},
418 {0xB7, 0x00014408}, {0xB8, 0x00010200},
419 {0xB9, 0x00080801}, {0xBA, 0x00040001},
420 {0xBB, 0x00000400}, {0xBF, 0x000C0000},
421 {0xC2, 0x00002400}, {0xC3, 0x00000009},
422 {0xC4, 0x00040C91}, {0xC5, 0x00099999},
423 {0xC6, 0x000000A3}, {0xC7, 0x00088820},
424 {0xC8, 0x00076C06}, {0xC9, 0x00000000},
425 {0xCA, 0x00080000}, {0xDF, 0x00000180},
426 {0xEF, 0x000001A8}, {0x3D, 0x00000003},
427 {0x3D, 0x00080003}, {0x51, 0x000F1E69},
428 {0x52, 0x000FBF6C}, {0x53, 0x0000032F},
429 {0x54, 0x00055007}, {0x56, 0x000517F0},
430 {0x35, 0x000000F4}, {0x35, 0x00000179},
431 {0x35, 0x000002F4}, {0x36, 0x00000BF8},
432 {0x36, 0x00008BF8}, {0x36, 0x00010BF8},
433 {0x36, 0x00018BF8}, {0x18, 0x00000C01},
434 {0x5A, 0x00048000}, {0x5A, 0x00048000},
435 {0x34, 0x0000ADF5}, {0x34, 0x00009DF2},
436 {0x34, 0x00008DEF}, {0x34, 0x00007DEC},
437 {0x34, 0x00006DE9}, {0x34, 0x00005CEC},
438 {0x34, 0x00004CE9}, {0x34, 0x00003C6C},
439 {0x34, 0x00002C69}, {0x34, 0x0000106E},
440 {0x34, 0x0000006B}, {0x84, 0x00048000},
441 {0x87, 0x00000065}, {0x8E, 0x00065540},
442 {0xDF, 0x00000110}, {0x86, 0x0000002A},
443 {0x8F, 0x00088000}, {0x81, 0x0003FD80},
444 {0xEF, 0x00082000}, {0x3B, 0x000F0F00},
445 {0x3B, 0x000E0E00}, {0x3B, 0x000DFE00},
446 {0x3B, 0x000C0D00}, {0x3B, 0x000B0C00},
447 {0x3B, 0x000A0500}, {0x3B, 0x00090400},
448 {0x3B, 0x00080000}, {0x3B, 0x00070F00},
449 {0x3B, 0x00060E00}, {0x3B, 0x00050A00},
450 {0x3B, 0x00040D00}, {0x3B, 0x00030C00},
451 {0x3B, 0x00020500}, {0x3B, 0x00010400},
452 {0x3B, 0x00000000}, {0xEF, 0x00080000},
453 {0xEF, 0x00088000}, {0x3B, 0x000000B0},
454 {0x3B, 0x000C0030}, {0xEF, 0x00080000},
455 {0xEF, 0x00080000}, {0x30, 0x00010000},
456 {0x31, 0x0000000F}, {0x32, 0x00047EFE},
457 {0xEF, 0x00000000}, {0x00, 0x00010159},
458 {0x18, 0x0000FC01}, {0xFE, 0x00000000},
459 {0x00, 0x00033D95},
460 {0xff, 0xffffffff}
466 u32 val32, value = 0xffffffff; in rtl8710b_indirect_read32()
467 u8 polling_count = 0xff; in rtl8710b_indirect_read32()
470 dev_warn(dev, "%s: Aborting because 0x%x is not a multiple of 4.\n", in rtl8710b_indirect_read32()
482 while ((val32 & BIT(31)) && (--polling_count > 0)); in rtl8710b_indirect_read32()
484 if (polling_count == 0) in rtl8710b_indirect_read32()
485 dev_warn(dev, "%s: Failed to read from 0x%x, 0x806c = 0x%x\n", in rtl8710b_indirect_read32()
493 dev_info(dev, "%s(%04x) = 0x%08x\n", __func__, addr, value); in rtl8710b_indirect_read32()
501 u8 polling_count = 0xff; in rtl8710b_indirect_write32()
505 dev_warn(dev, "%s: Aborting because 0x%x is not a multiple of 4.\n", in rtl8710b_indirect_write32()
518 while ((val32 & BIT(31)) && (--polling_count > 0)); in rtl8710b_indirect_write32()
520 if (polling_count == 0) in rtl8710b_indirect_write32()
521 dev_warn(dev, "%s: Failed to write 0x%x to 0x%x, 0x806c = 0x%x\n", in rtl8710b_indirect_write32()
527 dev_info(dev, "%s(%04x) = 0x%08x\n", __func__, addr, val); in rtl8710b_indirect_write32()
552 for (i = 0; i < RTL8XXXU_MAX_REG_POLL; i++) { in rtl8710b_read_efuse8()
563 *data = val32 & 0xff; in rtl8710b_read_efuse8()
564 return 0; in rtl8710b_read_efuse8()
567 #define EEPROM_PACKAGE_TYPE_8710B 0xF8
568 #define PACKAGE_QFN48M_U 0xee
569 #define PACKAGE_QFN48M_S 0xfe
575 u8 package_type = 0x7; /* a nonsense value */ in rtl8710bu_identify_chip()
585 priv->chip_cut = cfg0 & 0xf; in rtl8710bu_identify_chip()
592 vendor = u32_get_bits(cfg0, 0xc0); in rtl8710bu_identify_chip()
596 case 0: in rtl8710bu_identify_chip()
614 if (package_type == 0xff) { in rtl8710bu_identify_chip()
627 * same as setting it to PACKAGE_DEFAULT (0). in rtl8710bu_identify_chip()
645 dev_dbg(dev, "Package type: 0x%x\n", package_type); in rtl8710bu_identify_chip()
648 priv->rom_rev = cfg2 & 0xf; in rtl8710bu_identify_chip()
657 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER2, 0x64B80C1C); in rtl8710b_revise_cck_tx_psf()
658 rtl8xxxu_write32(priv, REG_CCK0_DEBUG_PORT, 0x00008810); in rtl8710b_revise_cck_tx_psf()
659 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER3, 0x01235667); in rtl8710b_revise_cck_tx_psf()
661 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER1, 0xd1d80001); in rtl8710b_revise_cck_tx_psf()
664 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER2, 0x0000B81C); in rtl8710b_revise_cck_tx_psf()
665 rtl8xxxu_write32(priv, REG_CCK0_DEBUG_PORT, 0x00000000); in rtl8710b_revise_cck_tx_psf()
666 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER3, 0x00003667); in rtl8710b_revise_cck_tx_psf()
668 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER1, 0xE82C0001); in rtl8710b_revise_cck_tx_psf()
671 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER2, 0x64B80C1C); in rtl8710b_revise_cck_tx_psf()
672 rtl8xxxu_write32(priv, REG_CCK0_DEBUG_PORT, 0x00008810); in rtl8710b_revise_cck_tx_psf()
673 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER3, 0x01235667); in rtl8710b_revise_cck_tx_psf()
674 rtl8xxxu_write32(priv, REG_CCK0_TX_FILTER1, 0xE82C0001); in rtl8710b_revise_cck_tx_psf()
682 u8 channel, subchannel = 0; in rtl8710bu_config_channel()
683 bool sec_ch_above = 0; in rtl8710bu_config_channel()
694 sec_ch_above = 0; in rtl8710bu_config_channel()
815 agg_rx &= ~0xFF0F; /* reset agg size and timeout */ in rtl8710bu_init_aggregation()
825 /* Time duration for NHM unit: 4us, 0xc350=200ms */ in rtl8710bu_init_statistics()
826 rtl8xxxu_write16(priv, REG_NHM_TIMER_8723B + 2, 0xc350); in rtl8710bu_init_statistics()
827 rtl8xxxu_write16(priv, REG_NHM_TH9_TH10_8723B + 2, 0xffff); in rtl8710bu_init_statistics()
828 rtl8xxxu_write32(priv, REG_NHM_TH3_TO_TH0_8723B, 0xffffff50); in rtl8710bu_init_statistics()
829 rtl8xxxu_write32(priv, REG_NHM_TH7_TO_TH4_8723B, 0xffffffff); in rtl8710bu_init_statistics()
833 val32 |= 0xff; in rtl8710bu_init_statistics()
853 int i, ret = 0; in rtl8710b_read_efuse()
860 /* Default value is 0xff */ in rtl8710b_read_efuse()
861 memset(priv->efuse_wifi.raw, 0xff, EFUSE_MAP_LEN); in rtl8710b_read_efuse()
863 efuse_addr = 0; in rtl8710b_read_efuse()
868 if (ret || header == 0xff) in rtl8710b_read_efuse()
871 if ((header & 0x1f) == 0x0f) { /* extended header */ in rtl8710b_read_efuse()
872 offset = (header & 0xe0) >> 5; in rtl8710b_read_efuse()
879 if ((extheader & 0x0f) == 0x0f) in rtl8710b_read_efuse()
882 offset |= ((extheader & 0xf0) >> 1); in rtl8710b_read_efuse()
883 word_mask = extheader & 0x0f; in rtl8710b_read_efuse()
885 offset = (header >> 4) & 0x0f; in rtl8710b_read_efuse()
886 word_mask = header & 0x0f; in rtl8710b_read_efuse()
893 for (i = 0; i < EFUSE_MAX_WORD_UNIT; i++) { in rtl8710b_read_efuse()
927 if (efuse->rtl_id != cpu_to_le16(0x8195)) in rtl8710bu_parse_efuse()
939 priv->ofdm_tx_power_diff[0].a = efuse->tx_power_index_A.ht20_ofdm_1s_diff.a; in rtl8710bu_parse_efuse()
940 priv->ht20_tx_power_diff[0].a = efuse->tx_power_index_A.ht20_ofdm_1s_diff.b; in rtl8710bu_parse_efuse()
942 priv->default_crystal_cap = efuse->xtal_k & 0x3f; in rtl8710bu_parse_efuse()
944 return 0; in rtl8710bu_parse_efuse()
994 int result = 0; in rtl8710bu_iqk_path_a()
998 rtl8xxxu_write32(priv, REG_S0S1_PATH_SWITCH, 0x99000000); in rtl8710bu_iqk_path_a()
1004 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_iqk_path_a()
1011 val32 |= 0x80000; in rtl8710bu_iqk_path_a()
1013 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_RCK_OS, 0x20000); in rtl8710bu_iqk_path_a()
1014 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_TXPA_G1, 0x0000f); in rtl8710bu_iqk_path_a()
1015 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_TXPA_G2, 0x07ff7); in rtl8710bu_iqk_path_a()
1022 u32p_replace_bits(&val32, 0x1ed, 0x00fff); in rtl8710bu_iqk_path_a()
1027 u32p_replace_bits(&val32, 0x808000, 0xffffff00); in rtl8710bu_iqk_path_a()
1031 rtl8xxxu_write32(priv, REG_TX_IQK_TONE_A, 0x18008c1c); in rtl8710bu_iqk_path_a()
1032 rtl8xxxu_write32(priv, REG_RX_IQK_TONE_A, 0x38008c1c); in rtl8710bu_iqk_path_a()
1034 rtl8xxxu_write32(priv, REG_TX_IQK_PI_A, 0x821403ff); in rtl8710bu_iqk_path_a()
1035 rtl8xxxu_write32(priv, REG_RX_IQK_PI_A, 0x28160c06); in rtl8710bu_iqk_path_a()
1038 rtl8xxxu_write32(priv, REG_IQK_AGC_RSP, 0x02002911); in rtl8710bu_iqk_path_a()
1041 rtl8xxxu_write32(priv, REG_IQK_AGC_PTS, 0xfa000000); in rtl8710bu_iqk_path_a()
1042 rtl8xxxu_write32(priv, REG_IQK_AGC_PTS, 0xf8000000); in rtl8710bu_iqk_path_a()
1052 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_iqk_path_a()
1068 ((reg_e94 & 0x03ff0000) != 0x01420000) && in rtl8710bu_iqk_path_a()
1069 ((reg_e9c & 0x03ff0000) != 0x00420000)) in rtl8710bu_iqk_path_a()
1070 result |= 0x01; in rtl8710bu_iqk_path_a()
1078 int result = 0; in rtl8710bu_rx_iqk_path_a()
1082 rtl8xxxu_write32(priv, REG_S0S1_PATH_SWITCH, 0x99000000); in rtl8710bu_rx_iqk_path_a()
1088 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_rx_iqk_path_a()
1093 val32 |= 0x80000; in rtl8710bu_rx_iqk_path_a()
1095 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_RCK_OS, 0x30000); in rtl8710bu_rx_iqk_path_a()
1096 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_TXPA_G1, 0x0000f); in rtl8710bu_rx_iqk_path_a()
1097 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_TXPA_G2, 0xf1173); in rtl8710bu_rx_iqk_path_a()
1104 u32p_replace_bits(&val32, 0xf, 0x003e0); in rtl8710bu_rx_iqk_path_a()
1111 u32p_replace_bits(&val32, 0x808000, 0xffffff00); in rtl8710bu_rx_iqk_path_a()
1115 rtl8xxxu_write32(priv, REG_TX_IQK_TONE_A, 0x18008c1c); in rtl8710bu_rx_iqk_path_a()
1116 rtl8xxxu_write32(priv, REG_RX_IQK_TONE_A, 0x38008c1c); in rtl8710bu_rx_iqk_path_a()
1118 rtl8xxxu_write32(priv, REG_TX_IQK_PI_A, 0x8216129f); in rtl8710bu_rx_iqk_path_a()
1119 rtl8xxxu_write32(priv, REG_RX_IQK_PI_A, 0x28160c00); in rtl8710bu_rx_iqk_path_a()
1124 rtl8xxxu_write32(priv, REG_TX_IQK, 0x01007c00); in rtl8710bu_rx_iqk_path_a()
1125 rtl8xxxu_write32(priv, REG_RX_IQK, 0x01004800); in rtl8710bu_rx_iqk_path_a()
1128 rtl8xxxu_write32(priv, REG_IQK_AGC_RSP, 0x0046a911); in rtl8710bu_rx_iqk_path_a()
1131 rtl8xxxu_write32(priv, REG_IQK_AGC_PTS, 0xf9000000); in rtl8710bu_rx_iqk_path_a()
1132 rtl8xxxu_write32(priv, REG_IQK_AGC_PTS, 0xf8000000); in rtl8710bu_rx_iqk_path_a()
1142 ((reg_e94 & 0x03ff0000) != 0x01420000) && in rtl8710bu_rx_iqk_path_a()
1143 ((reg_e9c & 0x03ff0000) != 0x00420000)) { in rtl8710bu_rx_iqk_path_a()
1144 result |= 0x01; in rtl8710bu_rx_iqk_path_a()
1154 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_rx_iqk_path_a()
1164 val32 = 0x80007c00 | (reg_e94 & 0x3ff0000) | ((reg_e9c & 0x3ff0000) >> 16); in rtl8710bu_rx_iqk_path_a()
1171 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_rx_iqk_path_a()
1175 val32 |= 0x80000; in rtl8710bu_rx_iqk_path_a()
1177 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_RCK_OS, 0x30000); in rtl8710bu_rx_iqk_path_a()
1178 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_TXPA_G1, 0x0000f); in rtl8710bu_rx_iqk_path_a()
1179 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_TXPA_G2, 0xf7ff2); in rtl8710bu_rx_iqk_path_a()
1188 u32p_replace_bits(&val32, 0x2a, 0x00fff); in rtl8710bu_rx_iqk_path_a()
1195 u32p_replace_bits(&val32, 0x808000, 0xffffff00); in rtl8710bu_rx_iqk_path_a()
1201 rtl8xxxu_write32(priv, REG_RX_IQK, 0x01004800); in rtl8710bu_rx_iqk_path_a()
1204 rtl8xxxu_write32(priv, REG_TX_IQK_TONE_A, 0x38008c1c); in rtl8710bu_rx_iqk_path_a()
1205 rtl8xxxu_write32(priv, REG_RX_IQK_TONE_A, 0x18008c1c); in rtl8710bu_rx_iqk_path_a()
1207 rtl8xxxu_write32(priv, REG_RX_IQK_PI_A, 0x2816169f); in rtl8710bu_rx_iqk_path_a()
1210 rtl8xxxu_write32(priv, REG_IQK_AGC_RSP, 0x0046a911); in rtl8710bu_rx_iqk_path_a()
1213 rtl8xxxu_write32(priv, REG_IQK_AGC_PTS, 0xf9000000); in rtl8710bu_rx_iqk_path_a()
1214 rtl8xxxu_write32(priv, REG_IQK_AGC_PTS, 0xf8000000); in rtl8710bu_rx_iqk_path_a()
1225 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_rx_iqk_path_a()
1239 tmp = (reg_eac & 0x03ff0000) >> 16; in rtl8710bu_rx_iqk_path_a()
1240 if ((tmp & 0x200) > 0) in rtl8710bu_rx_iqk_path_a()
1241 tmp = 0x400 - tmp; in rtl8710bu_rx_iqk_path_a()
1244 ((reg_ea4 & 0x03ff0000) != 0x01320000) && in rtl8710bu_rx_iqk_path_a()
1245 ((reg_eac & 0x03ff0000) != 0x00360000) && in rtl8710bu_rx_iqk_path_a()
1246 (((reg_ea4 & 0x03ff0000) >> 16) < 0x11a) && in rtl8710bu_rx_iqk_path_a()
1247 (((reg_ea4 & 0x03ff0000) >> 16) > 0xe6) && in rtl8710bu_rx_iqk_path_a()
1248 (tmp < 0x1a)) in rtl8710bu_rx_iqk_path_a()
1249 result |= 0x02; in rtl8710bu_rx_iqk_path_a()
1290 if (t == 0) { in rtl8710bu_phy_iqcalibrate()
1301 if (t == 0) { in rtl8710bu_phy_iqcalibrate()
1308 rtl8xxxu_write32(priv, REG_FPGA0_XA_HSSI_PARM1, 0x01000100); in rtl8710bu_phy_iqcalibrate()
1309 rtl8xxxu_write32(priv, REG_FPGA0_XB_HSSI_PARM1, 0x01000100); in rtl8710bu_phy_iqcalibrate()
1314 val32 |= 0x00ff0000; in rtl8710bu_phy_iqcalibrate()
1323 val32 |= 0x0f000000; in rtl8710bu_phy_iqcalibrate()
1325 rtl8xxxu_write32(priv, REG_RX_WAIT_CCA, 0x03c00010); in rtl8710bu_phy_iqcalibrate()
1326 rtl8xxxu_write32(priv, REG_OFDM0_TRX_PATH_ENABLE, 0x03a05601); in rtl8710bu_phy_iqcalibrate()
1327 rtl8xxxu_write32(priv, REG_OFDM0_TR_MUX_PAR, 0x000800e4); in rtl8710bu_phy_iqcalibrate()
1328 rtl8xxxu_write32(priv, REG_FPGA0_XCD_RF_SW_CTRL, 0x25204000); in rtl8710bu_phy_iqcalibrate()
1332 u32p_replace_bits(&val32, 0x808000, 0xffffff00); in rtl8710bu_phy_iqcalibrate()
1334 rtl8xxxu_write32(priv, REG_TX_IQK, 0x01007c00); in rtl8710bu_phy_iqcalibrate()
1335 rtl8xxxu_write32(priv, REG_RX_IQK, 0x01004800); in rtl8710bu_phy_iqcalibrate()
1337 for (i = 0; i < retry; i++) { in rtl8710bu_phy_iqcalibrate()
1340 if (path_a_ok == 0x01) { in rtl8710bu_phy_iqcalibrate()
1342 result[t][0] = (val32 >> 16) & 0x3ff; in rtl8710bu_phy_iqcalibrate()
1345 result[t][1] = (val32 >> 16) & 0x3ff; in rtl8710bu_phy_iqcalibrate()
1348 result[t][0] = 0x100; in rtl8710bu_phy_iqcalibrate()
1349 result[t][1] = 0x0; in rtl8710bu_phy_iqcalibrate()
1353 for (i = 0; i < retry; i++) { in rtl8710bu_phy_iqcalibrate()
1356 if (path_a_ok == 0x03) { in rtl8710bu_phy_iqcalibrate()
1358 result[t][2] = (val32 >> 16) & 0x3ff; in rtl8710bu_phy_iqcalibrate()
1361 result[t][3] = (val32 >> 16) & 0x3ff; in rtl8710bu_phy_iqcalibrate()
1364 result[t][2] = 0x100; in rtl8710bu_phy_iqcalibrate()
1365 result[t][3] = 0x0; in rtl8710bu_phy_iqcalibrate()
1374 u32p_replace_bits(&val32, 0, 0xffffff00); in rtl8710bu_phy_iqcalibrate()
1377 if (t == 0) in rtl8710bu_phy_iqcalibrate()
1395 u32p_replace_bits(&val32, 0x50, 0x000000ff); in rtl8710bu_phy_iqcalibrate()
1398 u32p_replace_bits(&val32, rx_initial_gain & 0xff, 0x000000ff); in rtl8710bu_phy_iqcalibrate()
1401 /* Load 0xe30 IQC default value */ in rtl8710bu_phy_iqcalibrate()
1402 rtl8xxxu_write32(priv, REG_TX_IQK_TONE_A, 0x01008c00); in rtl8710bu_phy_iqcalibrate()
1403 rtl8xxxu_write32(priv, REG_RX_IQK_TONE_A, 0x01008c00); in rtl8710bu_phy_iqcalibrate()
1413 s32 reg_tmp = 0; in rtl8710bu_phy_iq_calibrate()
1420 memset(result, 0, sizeof(result)); in rtl8710bu_phy_iq_calibrate()
1425 for (i = 0; i < 3; i++) { in rtl8710bu_phy_iq_calibrate()
1429 simu = rtl8xxxu_gen2_simularity_compare(priv, result, 0, 1); in rtl8710bu_phy_iq_calibrate()
1431 candidate = 0; in rtl8710bu_phy_iq_calibrate()
1437 simu = rtl8xxxu_gen2_simularity_compare(priv, result, 0, 2); in rtl8710bu_phy_iq_calibrate()
1439 candidate = 0; in rtl8710bu_phy_iq_calibrate()
1447 for (i = 0; i < 8; i++) in rtl8710bu_phy_iq_calibrate()
1458 if (candidate >= 0) { in rtl8710bu_phy_iq_calibrate()
1459 reg_e94 = result[candidate][0]; in rtl8710bu_phy_iq_calibrate()
1472 candidate, (reg_ea4 == 0)); in rtl8710bu_phy_iq_calibrate()
1484 int count, ret = 0; in rtl8710b_emu_to_active()
1486 /* AFE power mode selection: 1: LDO mode, 0: Power-cut mode */ in rtl8710b_emu_to_active()
1487 val8 = rtl8xxxu_read8(priv, 0x5d); in rtl8710b_emu_to_active()
1488 val8 &= ~BIT(0); in rtl8710b_emu_to_active()
1489 rtl8xxxu_write8(priv, 0x5d, val8); in rtl8710b_emu_to_active()
1492 val8 |= BIT(0); in rtl8710b_emu_to_active()
1495 rtl8xxxu_write8(priv, 0x56, 0x0e); in rtl8710b_emu_to_active()
1497 val8 = rtl8xxxu_read8(priv, 0x20); in rtl8710b_emu_to_active()
1498 val8 |= BIT(0); in rtl8710b_emu_to_active()
1499 rtl8xxxu_write8(priv, 0x20, val8); in rtl8710b_emu_to_active()
1502 val8 = rtl8xxxu_read8(priv, 0x20); in rtl8710b_emu_to_active()
1503 if (!(val8 & BIT(0))) in rtl8710b_emu_to_active()
1519 int count, ret = 0; in rtl8710bu_active_to_emu()
1532 val8 = rtl8xxxu_read8(priv, 0x20); in rtl8710bu_active_to_emu()
1534 rtl8xxxu_write8(priv, 0x20, val8); in rtl8710bu_active_to_emu()
1537 val8 = rtl8xxxu_read8(priv, 0x20); in rtl8710bu_active_to_emu()
1538 if ((val8 & BIT(1)) == 0) { in rtl8710bu_active_to_emu()
1539 ret = 0; in rtl8710bu_active_to_emu()
1560 rtl8xxxu_write8(priv, REG_TXPAUSE, 0xff); in rtl8710bu_active_to_lps()
1565 * Poll 32 bit wide REG_SCH_TX_CMD for 0x00000000 to ensure no TX is pending. in rtl8710bu_active_to_lps()
1570 retval = 0; in rtl8710bu_active_to_lps()
1596 val16 &= 0xff00; in rtl8710bu_active_to_lps()
1616 rtl8xxxu_write8(priv, REG_USB_ACCESS_TIMEOUT, 0x80); in rtl8710bu_power_on()
1623 val8 |= BIT(0); in rtl8710bu_power_on()
1626 val8 = rtl8xxxu_read8(priv, 0x20); in rtl8710bu_power_on()
1627 val8 |= BIT(0); in rtl8710bu_power_on()
1628 rtl8xxxu_write8(priv, 0x20, val8); in rtl8710bu_power_on()
1630 rtl8xxxu_write8(priv, REG_AFE_CTRL_8710B, 0); in rtl8710bu_power_on()
1640 rtl8xxxu_write16(priv, REG_CR, 0); in rtl8710bu_power_on()
1652 val8 |= 0x7f; in rtl8710bu_power_on()
1663 val8 = rtl8xxxu_read8(priv, 0xfef9); in rtl8710bu_power_on()
1664 val8 &= ~BIT(0); in rtl8710bu_power_on()
1665 rtl8xxxu_write8(priv, 0xfef9, val8); in rtl8710bu_power_on()
1667 /* Clear the 0x40000138[5] to prevent CM4 Suspend */ in rtl8710bu_power_on()
1668 val32 = rtl8710b_read_syson_reg(priv, 0x138); in rtl8710bu_power_on()
1670 rtl8710b_write_syson_reg(priv, 0x138, val32); in rtl8710bu_power_on()
1682 rtl8xxxu_write32(priv, REG_HISR0_8710B, 0xffffffff); in rtl8710bu_power_off()
1683 rtl8xxxu_write32(priv, REG_HIMR0_8710B, 0x0); in rtl8710bu_power_off()
1685 /* Set the 0x40000138[5] to allow CM4 Suspend */ in rtl8710bu_power_off()
1686 val32 = rtl8710b_read_syson_reg(priv, 0x138); in rtl8710bu_power_off()
1688 rtl8710b_write_syson_reg(priv, 0x138, val32); in rtl8710bu_power_off()
1691 rtl8xxxu_write8(priv, REG_CR, 0x00); in rtl8710bu_power_off()
1697 val8 &= ~BIT(0); in rtl8710bu_power_off()
1701 rtl8xxxu_write8(priv, REG_8051FW_CTRL_V1_8710B, 0x00); in rtl8710bu_power_off()
1711 val8 &= ~BIT(0); in rtl8710b_reset_8051()
1717 val8 |= BIT(0); in rtl8710b_reset_8051()
1732 rtl8xxxu_write8(priv, REG_TXPAUSE, 0x00); in rtl8710b_enable_rf()
1744 rtl8xxxu_write_rfreg(priv, RF_A, RF6052_REG_AC, 0); in rtl8710b_disable_rf()
1772 "%s: Adjusting crystal cap from 0x%x (actually 0x%x 0x%x) to 0x%x\n", in rtl8710b_set_crystal_cap()
1791 s8 rx_pwr_all = 0x00; in rtl8710b_cck_rssi()
1807 rx_pwr_all = 0 - (2 * vga_idx); in rtl8710b_cck_rssi()
1810 rx_pwr_all = 0; in rtl8710b_cck_rssi()
1855 .ampdu_max_time = 0x5e,
1857 * The RTL8710BU vendor driver uses 0x50 here and it works fine,
1858 * but in rtl8xxxu 0x50 causes slow upload and random packet loss. Why?
1860 .ustime_tsf_edca = 0x28,
1861 .max_aggr_num = 0x0c14,
1865 .adda_1t_init = 0x03c00016,
1866 .adda_1t_path_on = 0x03c00016,
1867 .trxff_boundary = 0x3f7f,