Lines Matching +full:0 +full:x0e
66 .red = {16, 8, 0},
67 .green = {8, 8, 0},
68 .blue = {0, 8, 0},
73 .nonstd = 0,
83 .type_aux = 0,
84 .xpanstep = 0,
85 .ypanstep = 0,
86 .ywrapstep = 0,
97 {"0x301", 640, 480, 8},
98 {"0x303", 800, 600, 8},
99 {"0x305", 1024, 768, 8},
100 {"0x307", 1280, 1024, 8},
102 {"0x311", 640, 480, 16},
103 {"0x314", 800, 600, 16},
104 {"0x317", 1024, 768, 16},
105 {"0x31A", 1280, 1024, 16},
107 {"0x312", 640, 480, 24},
108 {"0x315", 800, 600, 24},
109 {"0x318", 1024, 768, 24},
110 {"0x31B", 1280, 1024, 24},
118 /* mode#0: 640 x 480 16Bpp 60Hz */
121 0xE3,
123 0x03, 0x01, 0x0F, 0x00, 0x0E,
126 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
127 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
128 0xC4, 0x30, 0x02, 0x01, 0x01,
131 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
132 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
133 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
134 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
135 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
136 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
137 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
138 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
139 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
142 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
143 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
144 0x00, 0x00, 0x00, 0x00,
147 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
148 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
151 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
152 0xFF,
155 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
156 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
157 0x41, 0x00, 0x0F, 0x00, 0x00,
160 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
161 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
162 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
163 0xFF,
166 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
167 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
168 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
169 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
172 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
173 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
174 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
181 0xE3,
183 0x03, 0x01, 0x0F, 0x00, 0x0E,
186 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
187 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
188 0xC4, 0x30, 0x02, 0x01, 0x01,
191 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
192 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
193 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
194 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
195 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
196 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
197 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
198 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
199 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
202 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
203 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
204 0x00, 0x00, 0x00, 0x00,
207 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
208 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
211 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
212 0xFF,
215 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
216 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
217 0x41, 0x00, 0x0F, 0x00, 0x00,
220 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
221 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
222 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
223 0xFF,
226 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
227 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
228 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
229 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
232 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
233 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
234 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
238 /* mode#0: 640 x 480 32Bpp 60Hz */
241 0xE3,
243 0x03, 0x01, 0x0F, 0x00, 0x0E,
246 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
247 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
248 0xC4, 0x30, 0x02, 0x01, 0x01,
251 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
252 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
253 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
254 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
255 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
256 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
257 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
258 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
259 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
262 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
263 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
264 0x00, 0x00, 0x00, 0x00,
267 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
268 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
271 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
272 0xFF,
275 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
276 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
277 0x41, 0x00, 0x0F, 0x00, 0x00,
280 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
281 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
282 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
283 0xFF,
286 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
287 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
288 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
289 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
292 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
293 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
294 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
301 0x2B,
303 0x03, 0x01, 0x0F, 0x03, 0x0E,
306 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
307 0x99, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
308 0xC4, 0x30, 0x02, 0x01, 0x01,
311 0x34, 0x03, 0x20, 0x09, 0xC0, 0x24, 0x24, 0x24,
312 0x24, 0x24, 0x24, 0x24, 0x00, 0x00, 0x03, 0xFF,
313 0x00, 0xFC, 0x00, 0x00, 0x20, 0x38, 0x00, 0xFC,
314 0x20, 0x0C, 0x44, 0x20, 0x00, 0x24, 0x24, 0x24,
315 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
316 0x04, 0x55, 0x59, 0x24, 0x24, 0x00, 0x00, 0x24,
317 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
318 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
319 0x02, 0x45, 0x30, 0x35, 0x40, 0x20,
322 0x00, 0x00, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x24,
323 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x24, 0x24,
324 0x00, 0x00, 0x00, 0x00,
327 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
328 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
331 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
332 0xFF,
335 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
336 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
337 0x41, 0x00, 0x0F, 0x00, 0x00,
340 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
341 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
342 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
343 0xFF,
346 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
347 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
348 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
349 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
352 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
353 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
354 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
359 0x2B,
361 0x03, 0x01, 0x0F, 0x03, 0x0E,
364 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
365 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
366 0xC4, 0x30, 0x02, 0x01, 0x01,
369 0x36, 0x03, 0x20, 0x09, 0xC0, 0x36, 0x36, 0x36,
370 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0x03, 0xFF,
371 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
372 0x20, 0x0C, 0x44, 0x20, 0x00, 0x36, 0x36, 0x36,
373 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
374 0x04, 0x55, 0x59, 0x36, 0x36, 0x00, 0x00, 0x36,
375 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
376 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
377 0x02, 0x45, 0x30, 0x30, 0x40, 0x20,
380 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x36,
381 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x36, 0x36,
382 0x00, 0x00, 0x00, 0x00,
385 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
386 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
389 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
390 0xFF,
393 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
394 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
395 0x41, 0x00, 0x0F, 0x00, 0x00,
398 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
399 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
400 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
401 0xFF,
404 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
405 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
406 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
407 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
410 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
411 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
412 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
418 0x2B,
420 0x03, 0x01, 0x0F, 0x03, 0x0E,
423 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
424 0x99, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
425 0xC4, 0x30, 0x02, 0x01, 0x01,
428 0x34, 0x03, 0x20, 0x09, 0xC0, 0x24, 0x24, 0x24,
429 0x24, 0x24, 0x24, 0x24, 0x00, 0x00, 0x03, 0xFF,
430 0x00, 0xFC, 0x00, 0x00, 0x20, 0x38, 0x00, 0xFC,
431 0x20, 0x0C, 0x44, 0x20, 0x00, 0x24, 0x24, 0x24,
432 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
433 0x04, 0x55, 0x59, 0x24, 0x24, 0x00, 0x00, 0x24,
434 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
435 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
436 0x02, 0x45, 0x30, 0x35, 0x40, 0x20,
439 0x00, 0x00, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x24,
440 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x24, 0x24,
441 0x00, 0x00, 0x00, 0x00,
444 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
445 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
448 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
449 0xFF,
452 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
453 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
454 0x41, 0x00, 0x0F, 0x00, 0x00,
457 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
458 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
459 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
460 0xFF,
463 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
464 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
465 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
466 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
469 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
470 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
471 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
478 0xEB,
480 0x03, 0x01, 0x0F, 0x00, 0x0E,
483 0xC8, 0x40, 0x14, 0x60, 0x00, 0x0A, 0x17, 0x20,
484 0x51, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
485 0xC4, 0x30, 0x02, 0x00, 0x01,
488 0x22, 0x03, 0x24, 0x09, 0xC0, 0x22, 0x22, 0x22,
489 0x22, 0x22, 0x22, 0x22, 0x00, 0x00, 0x03, 0xFF,
490 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
491 0x20, 0x0C, 0x44, 0x20, 0x00, 0x22, 0x22, 0x22,
492 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
493 0x00, 0x60, 0x59, 0x22, 0x22, 0x00, 0x00, 0x22,
494 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
495 0x50, 0x03, 0x16, 0x02, 0x0D, 0x82, 0x09, 0x02,
496 0x04, 0x45, 0x3F, 0x30, 0x40, 0x20,
499 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
500 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
501 0x00, 0x00, 0x00, 0x00,
504 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
505 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
508 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
509 0xFF,
512 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
513 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
514 0x41, 0x00, 0x0F, 0x00, 0x00,
517 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
518 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
519 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
520 0xFF,
523 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
524 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
525 0xA3, 0x7F, 0x00, 0x82, 0x0b, 0x6f, 0x57, 0x00,
526 0x5c, 0x0f, 0xE0, 0xe0, 0x7F, 0x57,
529 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
530 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
531 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
537 0xEB,
539 0x03, 0x01, 0x0F, 0x03, 0x0E,
542 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
543 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
544 0xC4, 0x30, 0x02, 0x01, 0x01,
547 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
548 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
549 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
550 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
551 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
552 0x0F, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
553 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
554 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
555 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
558 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
559 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
560 0x00, 0x00, 0x00, 0x00,
563 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
564 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
567 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
568 0xFF,
571 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
572 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
573 0x41, 0x00, 0x0F, 0x00, 0x00,
576 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
577 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
578 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
579 0xFF,
582 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
583 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
584 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
585 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
588 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
589 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
590 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
596 0xEB,
598 0x03, 0x01, 0x0F, 0x03, 0x0E,
601 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
602 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
603 0xC4, 0x30, 0x02, 0x01, 0x01,
606 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
607 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
608 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
609 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
610 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
611 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
612 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
613 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
614 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
617 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
618 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
619 0x00, 0x00, 0x00, 0x00,
622 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
623 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
626 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
627 0xFF,
630 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
631 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
632 0x41, 0x00, 0x0F, 0x00, 0x00,
635 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
636 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
637 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
638 0xFF,
641 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
642 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
643 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
644 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
647 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
648 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
649 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
655 0xEB,
657 0x03, 0x01, 0x0F, 0x03, 0x0E,
660 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
661 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
662 0xC4, 0x32, 0x02, 0x01, 0x01,
665 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
666 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
667 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
668 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
669 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
670 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
671 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
672 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
673 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
676 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
677 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
678 0x00, 0x00, 0x00, 0x00,
681 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
682 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
685 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
686 0xFF,
689 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
690 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
691 0x41, 0x00, 0x0F, 0x00, 0x00,
694 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
695 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
696 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
697 0xFF,
700 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
701 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
702 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
703 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
706 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
707 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
708 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
714 0xEB,
716 0x03, 0x01, 0x0F, 0x03, 0x0E,
719 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
720 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
721 0xC4, 0x32, 0x02, 0x01, 0x01,
724 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
725 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
726 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
727 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
728 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
729 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
730 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
731 0x50, 0x03, 0x74, 0x14, 0x08, 0x43, 0x08, 0x43,
732 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
735 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
736 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
737 0x00, 0x00, 0x00, 0x00,
740 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
741 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
744 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
745 0xFF,
748 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
749 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
750 0x41, 0x00, 0x0F, 0x00, 0x00,
753 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
754 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
755 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
756 0xFF,
759 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
760 0x00, 0x00, 0x30, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
761 0x2E, 0x27, 0x00, 0x2b, 0x0c, 0x0F, 0xEF, 0x00,
762 0xFe, 0x0f, 0x01, 0xC0, 0x27, 0xEF,
765 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
766 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
767 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
774 0xEB,
776 0x03, 0x01, 0x0F, 0x03, 0x0E,
779 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
780 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
781 0xC4, 0x32, 0x02, 0x01, 0x01,
784 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
785 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
786 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
787 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
788 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
789 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
790 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
791 0x50, 0x03, 0x74, 0x14, 0x08, 0x43, 0x08, 0x43,
792 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
795 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
796 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
797 0x00, 0x00, 0x00, 0x00,
800 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
801 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
804 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
805 0xFF,
808 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
809 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
810 0x41, 0x00, 0x0F, 0x00, 0x00,
813 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
814 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
815 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
816 0xFF,
819 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
820 0x00, 0x00, 0x30, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
821 0x2E, 0x27, 0x00, 0x2b, 0x0c, 0x0F, 0xEF, 0x00,
822 0xFe, 0x0f, 0x01, 0xC0, 0x27, 0xEF,
825 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
826 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
827 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
844 smtc_scr_info.lfb_width = 0; in sm7xx_vga_setup()
845 smtc_scr_info.lfb_height = 0; in sm7xx_vga_setup()
846 smtc_scr_info.lfb_depth = 0; in sm7xx_vga_setup()
850 for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) { in sm7xx_vga_setup()
865 smtc_seqw(0x66, (smtc_seqr(0x66) & 0xC3) | 0x10); in sm712_setpalette()
883 chan &= 0xffff; in chan_to_field()
898 case 0x710: in smtc_blank()
899 case 0x712: in smtc_blank()
900 smtc_seqw(0x6a, 0x16); in smtc_blank()
901 smtc_seqw(0x6b, 0x02); in smtc_blank()
903 case 0x720: in smtc_blank()
904 smtc_seqw(0x6a, 0x0d); in smtc_blank()
905 smtc_seqw(0x6b, 0x02); in smtc_blank()
909 smtc_seqw(0x23, (smtc_seqr(0x23) & (~0xc0))); in smtc_blank()
910 smtc_seqw(0x01, (smtc_seqr(0x01) & (~0x20))); in smtc_blank()
911 smtc_seqw(0x21, (smtc_seqr(0x21) & 0x77)); in smtc_blank()
912 smtc_seqw(0x22, (smtc_seqr(0x22) & (~0x30))); in smtc_blank()
913 smtc_seqw(0x31, (smtc_seqr(0x31) | 0x03)); in smtc_blank()
914 smtc_seqw(0x24, (smtc_seqr(0x24) | 0x01)); in smtc_blank()
918 smtc_seqw(0x24, (smtc_seqr(0x24) | 0x01)); in smtc_blank()
919 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
920 smtc_seqw(0x23, (smtc_seqr(0x23) & (~0xc0))); in smtc_blank()
921 smtc_seqw(0x01, (smtc_seqr(0x01) & (~0x20))); in smtc_blank()
922 smtc_seqw(0x22, (smtc_seqr(0x22) & (~0x30))); in smtc_blank()
923 smtc_seqw(0x6a, 0x16); in smtc_blank()
924 smtc_seqw(0x6b, 0x02); in smtc_blank()
928 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
929 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
930 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0x20)); in smtc_blank()
931 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
932 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
933 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
934 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x20)); in smtc_blank()
935 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
936 smtc_seqw(0x6a, 0x0c); in smtc_blank()
937 smtc_seqw(0x6b, 0x02); in smtc_blank()
941 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
942 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
943 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0xD8)); in smtc_blank()
944 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
945 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
946 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
947 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x10)); in smtc_blank()
948 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
949 smtc_seqw(0x6a, 0x0c); in smtc_blank()
950 smtc_seqw(0x6b, 0x02); in smtc_blank()
954 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
955 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
956 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0xD8)); in smtc_blank()
957 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
958 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
959 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
960 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x30)); in smtc_blank()
961 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
962 smtc_seqw(0x6a, 0x0c); in smtc_blank()
963 smtc_seqw(0x6b, 0x02); in smtc_blank()
969 return 0; in smtc_blank()
1018 return 0; in smtc_setcolreg()
1028 int c, i, cnt = 0, err = 0; in smtcfb_read()
1039 if (total_size == 0) in smtcfb_read()
1043 return 0; in smtcfb_read()
1094 int c, i, cnt = 0, err = 0; in smtcfb_write()
1105 if (total_size == 0) in smtcfb_write()
1160 int i = 0, j = 0; in sm7xx_set_timing()
1167 for (j = 0; j < ARRAY_SIZE(vgamode); j++) { in sm7xx_set_timing()
1181 smtc_mmiowb(0x0, 0x3c6); in sm7xx_set_timing()
1183 smtc_seqw(0, 0x1); in sm7xx_set_timing()
1185 smtc_mmiowb(vgamode[j].init_misc, 0x3c2); in sm7xx_set_timing()
1188 for (i = 0; i < SIZE_SR00_SR04; i++) in sm7xx_set_timing()
1192 for (i = 0; i < SIZE_SR10_SR24; i++) in sm7xx_set_timing()
1193 smtc_seqw(i + 0x10, vgamode[j].init_sr10_sr24[i]); in sm7xx_set_timing()
1196 for (i = 0; i < SIZE_SR30_SR75; i++) in sm7xx_set_timing()
1197 if ((i + 0x30) != 0x30 && (i + 0x30) != 0x62 && in sm7xx_set_timing()
1198 (i + 0x30) != 0x6a && (i + 0x30) != 0x6b && in sm7xx_set_timing()
1199 (i + 0x30) != 0x70 && (i + 0x30) != 0x71 && in sm7xx_set_timing()
1200 (i + 0x30) != 0x74 && (i + 0x30) != 0x75) in sm7xx_set_timing()
1201 smtc_seqw(i + 0x30, in sm7xx_set_timing()
1205 for (i = 0; i < SIZE_SR80_SR93; i++) in sm7xx_set_timing()
1206 smtc_seqw(i + 0x80, vgamode[j].init_sr80_sr93[i]); in sm7xx_set_timing()
1209 for (i = 0; i < SIZE_SRA0_SRAF; i++) in sm7xx_set_timing()
1210 smtc_seqw(i + 0xa0, vgamode[j].init_sra0_sraf[i]); in sm7xx_set_timing()
1213 for (i = 0; i < SIZE_GR00_GR08; i++) in sm7xx_set_timing()
1217 for (i = 0; i < SIZE_AR00_AR14; i++) in sm7xx_set_timing()
1221 for (i = 0; i < SIZE_CR00_CR18; i++) in sm7xx_set_timing()
1225 for (i = 0; i < SIZE_CR30_CR4D; i++) { in sm7xx_set_timing()
1226 if ((i + 0x30) >= 0x3B && (i + 0x30) <= 0x3F) in sm7xx_set_timing()
1229 smtc_crtcw(i + 0x30, vgamode[j].init_cr30_cr4d[i]); in sm7xx_set_timing()
1233 for (i = 0; i < SIZE_CR90_CRA7; i++) in sm7xx_set_timing()
1234 smtc_crtcw(i + 0x90, vgamode[j].init_cr90_cra7[i]); in sm7xx_set_timing()
1236 smtc_mmiowb(0x67, 0x3c2); in sm7xx_set_timing()
1239 writel(0x0, sfb->vp_regs + 0x0C); in sm7xx_set_timing()
1240 writel(0x0, sfb->vp_regs + 0x40); in sm7xx_set_timing()
1246 writel(0x0, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1249 writel(0x00020000, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1252 writel(0x00040000, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1255 writel(0x00030000, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1259 sfb->vp_regs + 0x10); in sm7xx_set_timing()
1265 case 0x710: in smtc_set_timing()
1266 case 0x712: in smtc_set_timing()
1267 case 0x720: in smtc_set_timing()
1284 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1294 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1304 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1315 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1339 return 0; in smtc_check_var()
1346 return 0; in smtc_set_par()
1379 sfb->fb->fix.smem_start = pci_resource_start(pdev, 0); in smtc_map_smem()
1381 if (sfb->chip_id == 0x720) in smtc_map_smem()
1383 sfb->fb->fix.smem_start += 0x00200000; in smtc_map_smem()
1399 return 0; in smtc_map_smem()
1409 if (sfb->chip_id == 0x720) in smtc_unmap_smem()
1410 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem()
1421 outb_p(0x18, 0x3c4); in sm7xx_init_hw()
1422 outb_p(0x11, 0x3c5); in sm7xx_init_hw()
1430 case 0x710: in sm7xx_vram_probe()
1431 case 0x712: in sm7xx_vram_probe()
1441 return 0x00400000; in sm7xx_vram_probe()
1442 case 0x720: in sm7xx_vram_probe()
1443 outb_p(0x76, 0x3c4); in sm7xx_vram_probe()
1444 vram = inb_p(0x3c5) >> 6; in sm7xx_vram_probe()
1446 if (vram == 0x00) in sm7xx_vram_probe()
1447 return 0x00800000; /* 8 MB */ in sm7xx_vram_probe()
1448 else if (vram == 0x01) in sm7xx_vram_probe()
1449 return 0x01000000; /* 16 MB */ in sm7xx_vram_probe()
1450 else if (vram == 0x02) in sm7xx_vram_probe()
1451 return 0x00400000; /* illegal, fallback to 4 MB */ in sm7xx_vram_probe()
1452 else if (vram == 0x03) in sm7xx_vram_probe()
1453 return 0x00400000; /* 4 MB */ in sm7xx_vram_probe()
1455 return 0; /* unknown hardware */ in sm7xx_vram_probe()
1461 if (smtc_scr_info.lfb_width != 0) { in sm7xx_resolution_probe()
1514 err = pci_request_region(pdev, 0, "sm7xxfb"); in smtcfb_pci_probe()
1515 if (err < 0) { in smtcfb_pci_probe()
1544 mmio_base = pci_resource_start(pdev, 0); in smtcfb_pci_probe()
1552 case 0x710: in smtcfb_pci_probe()
1553 case 0x712: in smtcfb_pci_probe()
1554 sfb->fb->fix.mmio_start = mmio_base + 0x00400000; in smtcfb_pci_probe()
1555 sfb->fb->fix.mmio_len = 0x00400000; in smtcfb_pci_probe()
1566 sfb->lfb + 0x00700000); in smtcfb_pci_probe()
1567 sfb->dp_regs = sfb->lfb + 0x00408000; in smtcfb_pci_probe()
1568 sfb->vp_regs = sfb->lfb + 0x0040c000; in smtcfb_pci_probe()
1574 /* set MCLK = 14.31818 * (0x16 / 0x2) */ in smtcfb_pci_probe()
1575 smtc_seqw(0x6a, 0x16); in smtcfb_pci_probe()
1576 smtc_seqw(0x6b, 0x02); in smtcfb_pci_probe()
1577 smtc_seqw(0x62, 0x3e); in smtcfb_pci_probe()
1579 smtc_seqw(0x17, 0x20); in smtcfb_pci_probe()
1584 case 0x720: in smtcfb_pci_probe()
1586 sfb->fb->fix.mmio_len = 0x00200000; in smtcfb_pci_probe()
1587 sfb->dp_regs = ioremap(mmio_base, 0x00200000 + smem_size); in smtcfb_pci_probe()
1596 sfb->lfb = sfb->dp_regs + 0x00200000; in smtcfb_pci_probe()
1598 sfb->dp_regs + 0x000c0000); in smtcfb_pci_probe()
1599 sfb->vp_regs = sfb->dp_regs + 0x800; in smtcfb_pci_probe()
1601 smtc_seqw(0x62, 0xff); in smtcfb_pci_probe()
1602 smtc_seqw(0x6a, 0x0d); in smtcfb_pci_probe()
1603 smtc_seqw(0x6b, 0x02); in smtcfb_pci_probe()
1629 memset_io(sfb->lfb, 0, sfb->fb->fix.smem_len); in smtcfb_pci_probe()
1632 if (err < 0) in smtcfb_pci_probe()
1640 return 0; in smtcfb_pci_probe()
1651 pci_release_region(pdev, 0); in smtcfb_pci_probe()
1660 * 0x710 (LynxEM)
1661 * 0x712 (LynxEM+)
1662 * 0x720 (Lynx3DM, Lynx3DM+)
1665 { PCI_DEVICE(0x126f, 0x710), },
1666 { PCI_DEVICE(0x126f, 0x712), },
1667 { PCI_DEVICE(0x126f, 0x720), },
1668 {0,}
1682 pci_release_region(pdev, 0); in smtcfb_pci_remove()
1694 smtc_seqw(0x20, (smtc_seqr(0x20) | 0xc0)); in smtcfb_pci_suspend()
1695 smtc_seqw(0x69, (smtc_seqr(0x69) & 0xf7)); in smtcfb_pci_suspend()
1702 smtc_seqw(0x21, 0xff); in smtcfb_pci_suspend()
1704 return 0; in smtcfb_pci_suspend()
1715 case 0x710: in smtcfb_pci_resume()
1716 case 0x712: in smtcfb_pci_resume()
1717 /* set MCLK = 14.31818 * (0x16 / 0x2) */ in smtcfb_pci_resume()
1718 smtc_seqw(0x6a, 0x16); in smtcfb_pci_resume()
1719 smtc_seqw(0x6b, 0x02); in smtcfb_pci_resume()
1720 smtc_seqw(0x62, 0x3e); in smtcfb_pci_resume()
1722 smtc_seqw(0x17, 0x20); in smtcfb_pci_resume()
1726 case 0x720: in smtcfb_pci_resume()
1727 smtc_seqw(0x62, 0xff); in smtcfb_pci_resume()
1728 smtc_seqw(0x6a, 0x0d); in smtcfb_pci_resume()
1729 smtc_seqw(0x6b, 0x02); in smtcfb_pci_resume()
1733 smtc_seqw(0x34, (smtc_seqr(0x34) | 0xc0)); in smtcfb_pci_resume()
1734 smtc_seqw(0x33, ((smtc_seqr(0x33) | 0x08) & 0xfb)); in smtcfb_pci_resume()
1739 fb_set_suspend(sfb->fb, 0); in smtcfb_pci_resume()
1742 return 0; in smtcfb_pci_resume()