• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x3a

65 	.red            = {16, 8, 0},
66 .green = {8, 8, 0},
67 .blue = {0, 8, 0},
72 .nonstd = 0,
82 .type_aux = 0,
83 .xpanstep = 0,
84 .ypanstep = 0,
85 .ywrapstep = 0,
96 {"0x301", 640, 480, 8},
97 {"0x303", 800, 600, 8},
98 {"0x305", 1024, 768, 8},
99 {"0x307", 1280, 1024, 8},
101 {"0x311", 640, 480, 16},
102 {"0x314", 800, 600, 16},
103 {"0x317", 1024, 768, 16},
104 {"0x31A", 1280, 1024, 16},
106 {"0x312", 640, 480, 24},
107 {"0x315", 800, 600, 24},
108 {"0x318", 1024, 768, 24},
109 {"0x31B", 1280, 1024, 24},
117 /* mode#0: 640 x 480 16Bpp 60Hz */
120 0xE3,
122 0x03, 0x01, 0x0F, 0x00, 0x0E,
125 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
126 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
127 0xC4, 0x30, 0x02, 0x01, 0x01,
130 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
131 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
132 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
133 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
134 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
135 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
136 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
137 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
138 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
141 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
142 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
143 0x00, 0x00, 0x00, 0x00,
146 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
147 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
150 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
151 0xFF,
154 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
155 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
156 0x41, 0x00, 0x0F, 0x00, 0x00,
159 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
160 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
161 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
162 0xFF,
165 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
166 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
167 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
168 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
171 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
172 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
173 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
180 0xE3,
182 0x03, 0x01, 0x0F, 0x00, 0x0E,
185 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
186 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
187 0xC4, 0x30, 0x02, 0x01, 0x01,
190 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
191 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
192 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
193 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
194 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
195 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
196 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
197 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
198 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
201 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
202 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
203 0x00, 0x00, 0x00, 0x00,
206 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
207 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
210 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
211 0xFF,
214 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
215 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
216 0x41, 0x00, 0x0F, 0x00, 0x00,
219 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
220 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
221 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
222 0xFF,
225 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
226 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
227 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
228 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
231 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
232 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
233 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
237 /* mode#0: 640 x 480 32Bpp 60Hz */
240 0xE3,
242 0x03, 0x01, 0x0F, 0x00, 0x0E,
245 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
246 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
247 0xC4, 0x30, 0x02, 0x01, 0x01,
250 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
251 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
252 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
253 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
254 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
255 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
256 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
257 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
258 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
261 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
262 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
263 0x00, 0x00, 0x00, 0x00,
266 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
267 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
270 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
271 0xFF,
274 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
275 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
276 0x41, 0x00, 0x0F, 0x00, 0x00,
279 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
280 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
281 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
282 0xFF,
285 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
286 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
287 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
288 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
291 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
292 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
293 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
300 0x2B,
302 0x03, 0x01, 0x0F, 0x03, 0x0E,
305 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
306 0x99, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
307 0xC4, 0x30, 0x02, 0x01, 0x01,
310 0x34, 0x03, 0x20, 0x09, 0xC0, 0x24, 0x24, 0x24,
311 0x24, 0x24, 0x24, 0x24, 0x00, 0x00, 0x03, 0xFF,
312 0x00, 0xFC, 0x00, 0x00, 0x20, 0x38, 0x00, 0xFC,
313 0x20, 0x0C, 0x44, 0x20, 0x00, 0x24, 0x24, 0x24,
314 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
315 0x04, 0x55, 0x59, 0x24, 0x24, 0x00, 0x00, 0x24,
316 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
317 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
318 0x02, 0x45, 0x30, 0x35, 0x40, 0x20,
321 0x00, 0x00, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x24,
322 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x24, 0x24,
323 0x00, 0x00, 0x00, 0x00,
326 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
327 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
330 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
331 0xFF,
334 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
335 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
336 0x41, 0x00, 0x0F, 0x00, 0x00,
339 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
340 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
341 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
342 0xFF,
345 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
346 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
347 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
348 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
351 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
352 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
353 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
358 0x2B,
360 0x03, 0x01, 0x0F, 0x03, 0x0E,
363 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
364 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
365 0xC4, 0x30, 0x02, 0x01, 0x01,
368 0x36, 0x03, 0x20, 0x09, 0xC0, 0x36, 0x36, 0x36,
369 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0x03, 0xFF,
370 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
371 0x20, 0x0C, 0x44, 0x20, 0x00, 0x36, 0x36, 0x36,
372 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
373 0x04, 0x55, 0x59, 0x36, 0x36, 0x00, 0x00, 0x36,
374 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
375 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
376 0x02, 0x45, 0x30, 0x30, 0x40, 0x20,
379 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x36,
380 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x36, 0x36,
381 0x00, 0x00, 0x00, 0x00,
384 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
385 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
388 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
389 0xFF,
392 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
393 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
394 0x41, 0x00, 0x0F, 0x00, 0x00,
397 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
398 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
399 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
400 0xFF,
403 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
404 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
405 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
406 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
409 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
410 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
411 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
417 0x2B,
419 0x03, 0x01, 0x0F, 0x03, 0x0E,
422 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
423 0x99, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
424 0xC4, 0x30, 0x02, 0x01, 0x01,
427 0x34, 0x03, 0x20, 0x09, 0xC0, 0x24, 0x24, 0x24,
428 0x24, 0x24, 0x24, 0x24, 0x00, 0x00, 0x03, 0xFF,
429 0x00, 0xFC, 0x00, 0x00, 0x20, 0x38, 0x00, 0xFC,
430 0x20, 0x0C, 0x44, 0x20, 0x00, 0x24, 0x24, 0x24,
431 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
432 0x04, 0x55, 0x59, 0x24, 0x24, 0x00, 0x00, 0x24,
433 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
434 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
435 0x02, 0x45, 0x30, 0x35, 0x40, 0x20,
438 0x00, 0x00, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x24,
439 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x24, 0x24,
440 0x00, 0x00, 0x00, 0x00,
443 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
444 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
447 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
448 0xFF,
451 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
452 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
453 0x41, 0x00, 0x0F, 0x00, 0x00,
456 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
457 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
458 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
459 0xFF,
462 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
463 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
464 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
465 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
468 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
469 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
470 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
477 0xEB,
479 0x03, 0x01, 0x0F, 0x00, 0x0E,
482 0xC8, 0x40, 0x14, 0x60, 0x00, 0x0A, 0x17, 0x20,
483 0x51, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
484 0xC4, 0x30, 0x02, 0x00, 0x01,
487 0x22, 0x03, 0x24, 0x09, 0xC0, 0x22, 0x22, 0x22,
488 0x22, 0x22, 0x22, 0x22, 0x00, 0x00, 0x03, 0xFF,
489 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
490 0x20, 0x0C, 0x44, 0x20, 0x00, 0x22, 0x22, 0x22,
491 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
492 0x00, 0x60, 0x59, 0x22, 0x22, 0x00, 0x00, 0x22,
493 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
494 0x50, 0x03, 0x16, 0x02, 0x0D, 0x82, 0x09, 0x02,
495 0x04, 0x45, 0x3F, 0x30, 0x40, 0x20,
498 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
499 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
500 0x00, 0x00, 0x00, 0x00,
503 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
504 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
507 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
508 0xFF,
511 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
512 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
513 0x41, 0x00, 0x0F, 0x00, 0x00,
516 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
517 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
518 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
519 0xFF,
522 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
523 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
524 0xA3, 0x7F, 0x00, 0x82, 0x0b, 0x6f, 0x57, 0x00,
525 0x5c, 0x0f, 0xE0, 0xe0, 0x7F, 0x57,
528 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
529 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
530 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
536 0xEB,
538 0x03, 0x01, 0x0F, 0x03, 0x0E,
541 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
542 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
543 0xC4, 0x30, 0x02, 0x01, 0x01,
546 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
547 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
548 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
549 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
550 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
551 0x0F, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
552 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
553 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
554 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
557 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
558 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
559 0x00, 0x00, 0x00, 0x00,
562 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
563 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
566 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
567 0xFF,
570 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
571 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
572 0x41, 0x00, 0x0F, 0x00, 0x00,
575 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
576 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
577 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
578 0xFF,
581 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
582 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
583 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
584 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
587 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
588 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
589 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
595 0xEB,
597 0x03, 0x01, 0x0F, 0x03, 0x0E,
600 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
601 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
602 0xC4, 0x30, 0x02, 0x01, 0x01,
605 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
606 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
607 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
608 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
609 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
610 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
611 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
612 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
613 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
616 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
617 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
618 0x00, 0x00, 0x00, 0x00,
621 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
622 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
625 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
626 0xFF,
629 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
630 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
631 0x41, 0x00, 0x0F, 0x00, 0x00,
634 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
635 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
636 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
637 0xFF,
640 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
641 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
642 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
643 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
646 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
647 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
648 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
654 0xEB,
656 0x03, 0x01, 0x0F, 0x03, 0x0E,
659 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
660 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
661 0xC4, 0x32, 0x02, 0x01, 0x01,
664 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
665 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
666 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
667 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
668 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
669 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
670 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
671 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
672 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
675 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
676 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
677 0x00, 0x00, 0x00, 0x00,
680 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
681 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
684 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
685 0xFF,
688 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
689 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
690 0x41, 0x00, 0x0F, 0x00, 0x00,
693 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
694 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
695 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
696 0xFF,
699 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
700 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
701 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
702 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
705 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
706 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
707 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
713 0xEB,
715 0x03, 0x01, 0x0F, 0x03, 0x0E,
718 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
719 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
720 0xC4, 0x32, 0x02, 0x01, 0x01,
723 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
724 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
725 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
726 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
727 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
728 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
729 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
730 0x50, 0x03, 0x74, 0x14, 0x08, 0x43, 0x08, 0x43,
731 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
734 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
735 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
736 0x00, 0x00, 0x00, 0x00,
739 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
740 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
743 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
744 0xFF,
747 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
748 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
749 0x41, 0x00, 0x0F, 0x00, 0x00,
752 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
753 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
754 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
755 0xFF,
758 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
759 0x00, 0x00, 0x30, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
760 0x2E, 0x27, 0x00, 0x2b, 0x0c, 0x0F, 0xEF, 0x00,
761 0xFe, 0x0f, 0x01, 0xC0, 0x27, 0xEF,
764 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
765 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
766 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
773 0xEB,
775 0x03, 0x01, 0x0F, 0x03, 0x0E,
778 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
779 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
780 0xC4, 0x32, 0x02, 0x01, 0x01,
783 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
784 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
785 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
786 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
787 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
788 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
789 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
790 0x50, 0x03, 0x74, 0x14, 0x08, 0x43, 0x08, 0x43,
791 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
794 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
795 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
796 0x00, 0x00, 0x00, 0x00,
799 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
800 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
803 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
804 0xFF,
807 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
808 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
809 0x41, 0x00, 0x0F, 0x00, 0x00,
812 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
813 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
814 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
815 0xFF,
818 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
819 0x00, 0x00, 0x30, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
820 0x2E, 0x27, 0x00, 0x2b, 0x0c, 0x0F, 0xEF, 0x00,
821 0xFe, 0x0f, 0x01, 0xC0, 0x27, 0xEF,
824 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
825 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
826 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
843 smtc_scr_info.lfb_width = 0; in sm7xx_vga_setup()
844 smtc_scr_info.lfb_height = 0; in sm7xx_vga_setup()
845 smtc_scr_info.lfb_depth = 0; in sm7xx_vga_setup()
849 for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) { in sm7xx_vga_setup()
864 smtc_seqw(0x66, (smtc_seqr(0x66) & 0xC3) | 0x10); in sm712_setpalette()
882 chan &= 0xffff; in chan_to_field()
897 case 0x710: in smtc_blank()
898 case 0x712: in smtc_blank()
899 smtc_seqw(0x6a, 0x16); in smtc_blank()
900 smtc_seqw(0x6b, 0x02); in smtc_blank()
902 case 0x720: in smtc_blank()
903 smtc_seqw(0x6a, 0x0d); in smtc_blank()
904 smtc_seqw(0x6b, 0x02); in smtc_blank()
908 smtc_seqw(0x23, (smtc_seqr(0x23) & (~0xc0))); in smtc_blank()
909 smtc_seqw(0x01, (smtc_seqr(0x01) & (~0x20))); in smtc_blank()
910 smtc_seqw(0x21, (smtc_seqr(0x21) & 0x77)); in smtc_blank()
911 smtc_seqw(0x22, (smtc_seqr(0x22) & (~0x30))); in smtc_blank()
912 smtc_seqw(0x31, (smtc_seqr(0x31) | 0x03)); in smtc_blank()
913 smtc_seqw(0x24, (smtc_seqr(0x24) | 0x01)); in smtc_blank()
917 smtc_seqw(0x24, (smtc_seqr(0x24) | 0x01)); in smtc_blank()
918 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
919 smtc_seqw(0x23, (smtc_seqr(0x23) & (~0xc0))); in smtc_blank()
920 smtc_seqw(0x01, (smtc_seqr(0x01) & (~0x20))); in smtc_blank()
921 smtc_seqw(0x22, (smtc_seqr(0x22) & (~0x30))); in smtc_blank()
922 smtc_seqw(0x6a, 0x16); in smtc_blank()
923 smtc_seqw(0x6b, 0x02); in smtc_blank()
927 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
928 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
929 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0x20)); in smtc_blank()
930 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
931 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
932 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
933 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x20)); in smtc_blank()
934 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
935 smtc_seqw(0x6a, 0x0c); in smtc_blank()
936 smtc_seqw(0x6b, 0x02); in smtc_blank()
940 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
941 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
942 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0xD8)); in smtc_blank()
943 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
944 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
945 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
946 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x10)); in smtc_blank()
947 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
948 smtc_seqw(0x6a, 0x0c); in smtc_blank()
949 smtc_seqw(0x6b, 0x02); in smtc_blank()
953 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
954 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
955 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0xD8)); in smtc_blank()
956 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
957 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
958 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
959 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x30)); in smtc_blank()
960 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
961 smtc_seqw(0x6a, 0x0c); in smtc_blank()
962 smtc_seqw(0x6b, 0x02); in smtc_blank()
968 return 0; in smtc_blank()
1017 return 0; in smtc_setcolreg()
1027 int c, i, cnt = 0, err = 0; in smtcfb_read()
1038 if (total_size == 0) in smtcfb_read()
1042 return 0; in smtcfb_read()
1093 int c, i, cnt = 0, err = 0; in smtcfb_write()
1104 if (total_size == 0) in smtcfb_write()
1159 int i = 0, j = 0; in sm7xx_set_timing()
1166 for (j = 0; j < ARRAY_SIZE(vgamode); j++) { in sm7xx_set_timing()
1180 smtc_mmiowb(0x0, 0x3c6); in sm7xx_set_timing()
1182 smtc_seqw(0, 0x1); in sm7xx_set_timing()
1184 smtc_mmiowb(vgamode[j].init_misc, 0x3c2); in sm7xx_set_timing()
1187 for (i = 0; i < SIZE_SR00_SR04; i++) in sm7xx_set_timing()
1191 for (i = 0; i < SIZE_SR10_SR24; i++) in sm7xx_set_timing()
1192 smtc_seqw(i + 0x10, vgamode[j].init_sr10_sr24[i]); in sm7xx_set_timing()
1195 for (i = 0; i < SIZE_SR30_SR75; i++) in sm7xx_set_timing()
1196 if ((i + 0x30) != 0x30 && (i + 0x30) != 0x62 && in sm7xx_set_timing()
1197 (i + 0x30) != 0x6a && (i + 0x30) != 0x6b && in sm7xx_set_timing()
1198 (i + 0x30) != 0x70 && (i + 0x30) != 0x71 && in sm7xx_set_timing()
1199 (i + 0x30) != 0x74 && (i + 0x30) != 0x75) in sm7xx_set_timing()
1200 smtc_seqw(i + 0x30, in sm7xx_set_timing()
1204 for (i = 0; i < SIZE_SR80_SR93; i++) in sm7xx_set_timing()
1205 smtc_seqw(i + 0x80, vgamode[j].init_sr80_sr93[i]); in sm7xx_set_timing()
1208 for (i = 0; i < SIZE_SRA0_SRAF; i++) in sm7xx_set_timing()
1209 smtc_seqw(i + 0xa0, vgamode[j].init_sra0_sraf[i]); in sm7xx_set_timing()
1212 for (i = 0; i < SIZE_GR00_GR08; i++) in sm7xx_set_timing()
1216 for (i = 0; i < SIZE_AR00_AR14; i++) in sm7xx_set_timing()
1220 for (i = 0; i < SIZE_CR00_CR18; i++) in sm7xx_set_timing()
1224 for (i = 0; i < SIZE_CR30_CR4D; i++) { in sm7xx_set_timing()
1225 if ((i + 0x30) >= 0x3B && (i + 0x30) <= 0x3F) in sm7xx_set_timing()
1228 smtc_crtcw(i + 0x30, vgamode[j].init_cr30_cr4d[i]); in sm7xx_set_timing()
1232 for (i = 0; i < SIZE_CR90_CRA7; i++) in sm7xx_set_timing()
1233 smtc_crtcw(i + 0x90, vgamode[j].init_cr90_cra7[i]); in sm7xx_set_timing()
1235 smtc_mmiowb(0x67, 0x3c2); in sm7xx_set_timing()
1238 writel(0x0, sfb->vp_regs + 0x0C); in sm7xx_set_timing()
1239 writel(0x0, sfb->vp_regs + 0x40); in sm7xx_set_timing()
1245 writel(0x0, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1248 writel(0x00020000, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1251 writel(0x00040000, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1254 writel(0x00030000, sfb->vp_regs + 0x0); in sm7xx_set_timing()
1258 sfb->vp_regs + 0x10); in sm7xx_set_timing()
1264 case 0x710: in smtc_set_timing()
1265 case 0x712: in smtc_set_timing()
1266 case 0x720: in smtc_set_timing()
1283 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1293 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1303 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1314 sfb->fb->var.blue.offset = 0; in smtcfb_setmode()
1338 return 0; in smtc_check_var()
1345 return 0; in smtc_set_par()
1378 sfb->fb->fix.smem_start = pci_resource_start(pdev, 0); in smtc_map_smem()
1380 if (sfb->chip_id == 0x720) in smtc_map_smem()
1382 sfb->fb->fix.smem_start += 0x00200000; in smtc_map_smem()
1398 return 0; in smtc_map_smem()
1408 if (sfb->chip_id == 0x720) in smtc_unmap_smem()
1409 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem()
1420 outb_p(0x18, 0x3c4); in sm7xx_init_hw()
1421 outb_p(0x11, 0x3c5); in sm7xx_init_hw()
1429 case 0x710: in sm7xx_vram_probe()
1430 case 0x712: in sm7xx_vram_probe()
1440 return 0x00400000; in sm7xx_vram_probe()
1441 case 0x720: in sm7xx_vram_probe()
1442 outb_p(0x76, 0x3c4); in sm7xx_vram_probe()
1443 vram = inb_p(0x3c5) >> 6; in sm7xx_vram_probe()
1445 if (vram == 0x00) in sm7xx_vram_probe()
1446 return 0x00800000; /* 8 MB */ in sm7xx_vram_probe()
1447 else if (vram == 0x01) in sm7xx_vram_probe()
1448 return 0x01000000; /* 16 MB */ in sm7xx_vram_probe()
1449 else if (vram == 0x02) in sm7xx_vram_probe()
1450 return 0x00400000; /* illegal, fallback to 4 MB */ in sm7xx_vram_probe()
1451 else if (vram == 0x03) in sm7xx_vram_probe()
1452 return 0x00400000; /* 4 MB */ in sm7xx_vram_probe()
1454 return 0; /* unknown hardware */ in sm7xx_vram_probe()
1460 if (smtc_scr_info.lfb_width != 0) { in sm7xx_resolution_probe()
1509 err = pci_request_region(pdev, 0, "sm7xxfb"); in smtcfb_pci_probe()
1510 if (err < 0) { in smtcfb_pci_probe()
1539 mmio_base = pci_resource_start(pdev, 0); in smtcfb_pci_probe()
1547 case 0x710: in smtcfb_pci_probe()
1548 case 0x712: in smtcfb_pci_probe()
1549 sfb->fb->fix.mmio_start = mmio_base + 0x00400000; in smtcfb_pci_probe()
1550 sfb->fb->fix.mmio_len = 0x00400000; in smtcfb_pci_probe()
1561 sfb->lfb + 0x00700000); in smtcfb_pci_probe()
1562 sfb->dp_regs = sfb->lfb + 0x00408000; in smtcfb_pci_probe()
1563 sfb->vp_regs = sfb->lfb + 0x0040c000; in smtcfb_pci_probe()
1569 /* set MCLK = 14.31818 * (0x16 / 0x2) */ in smtcfb_pci_probe()
1570 smtc_seqw(0x6a, 0x16); in smtcfb_pci_probe()
1571 smtc_seqw(0x6b, 0x02); in smtcfb_pci_probe()
1572 smtc_seqw(0x62, 0x3e); in smtcfb_pci_probe()
1574 smtc_seqw(0x17, 0x20); in smtcfb_pci_probe()
1579 case 0x720: in smtcfb_pci_probe()
1581 sfb->fb->fix.mmio_len = 0x00200000; in smtcfb_pci_probe()
1582 sfb->dp_regs = ioremap(mmio_base, 0x00200000 + smem_size); in smtcfb_pci_probe()
1591 sfb->lfb = sfb->dp_regs + 0x00200000; in smtcfb_pci_probe()
1593 sfb->dp_regs + 0x000c0000); in smtcfb_pci_probe()
1594 sfb->vp_regs = sfb->dp_regs + 0x800; in smtcfb_pci_probe()
1596 smtc_seqw(0x62, 0xff); in smtcfb_pci_probe()
1597 smtc_seqw(0x6a, 0x0d); in smtcfb_pci_probe()
1598 smtc_seqw(0x6b, 0x02); in smtcfb_pci_probe()
1624 memset_io(sfb->lfb, 0, sfb->fb->fix.smem_len); in smtcfb_pci_probe()
1627 if (err < 0) in smtcfb_pci_probe()
1635 return 0; in smtcfb_pci_probe()
1646 pci_release_region(pdev, 0); in smtcfb_pci_probe()
1655 * 0x710 (LynxEM)
1656 * 0x712 (LynxEM+)
1657 * 0x720 (Lynx3DM, Lynx3DM+)
1660 { PCI_DEVICE(0x126f, 0x710), },
1661 { PCI_DEVICE(0x126f, 0x712), },
1662 { PCI_DEVICE(0x126f, 0x720), },
1663 {0,}
1677 pci_release_region(pdev, 0); in smtcfb_pci_remove()
1689 smtc_seqw(0x20, (smtc_seqr(0x20) | 0xc0)); in smtcfb_pci_suspend()
1690 smtc_seqw(0x69, (smtc_seqr(0x69) & 0xf7)); in smtcfb_pci_suspend()
1697 smtc_seqw(0x21, 0xff); in smtcfb_pci_suspend()
1699 return 0; in smtcfb_pci_suspend()
1710 case 0x710: in smtcfb_pci_resume()
1711 case 0x712: in smtcfb_pci_resume()
1712 /* set MCLK = 14.31818 * (0x16 / 0x2) */ in smtcfb_pci_resume()
1713 smtc_seqw(0x6a, 0x16); in smtcfb_pci_resume()
1714 smtc_seqw(0x6b, 0x02); in smtcfb_pci_resume()
1715 smtc_seqw(0x62, 0x3e); in smtcfb_pci_resume()
1717 smtc_seqw(0x17, 0x20); in smtcfb_pci_resume()
1721 case 0x720: in smtcfb_pci_resume()
1722 smtc_seqw(0x62, 0xff); in smtcfb_pci_resume()
1723 smtc_seqw(0x6a, 0x0d); in smtcfb_pci_resume()
1724 smtc_seqw(0x6b, 0x02); in smtcfb_pci_resume()
1728 smtc_seqw(0x34, (smtc_seqr(0x34) | 0xc0)); in smtcfb_pci_resume()
1729 smtc_seqw(0x33, ((smtc_seqr(0x33) | 0x08) & 0xfb)); in smtcfb_pci_resume()
1734 fb_set_suspend(sfb->fb, 0); in smtcfb_pci_resume()
1737 return 0; in smtcfb_pci_resume()