Lines Matching +full:0 +full:x0e
71 .red = {16, 8, 0},
72 .green = {8, 8, 0},
73 .blue = {0, 8, 0},
78 .nonstd = 0,
88 .type_aux = 0,
89 .xpanstep = 0,
90 .ypanstep = 0,
91 .ywrapstep = 0,
102 {"0x301", 640, 480, 8},
103 {"0x303", 800, 600, 8},
104 {"0x305", 1024, 768, 8},
105 {"0x307", 1280, 1024, 8},
107 {"0x311", 640, 480, 16},
108 {"0x314", 800, 600, 16},
109 {"0x317", 1024, 768, 16},
110 {"0x31A", 1280, 1024, 16},
112 {"0x312", 640, 480, 24},
113 {"0x315", 800, 600, 24},
114 {"0x318", 1024, 768, 24},
115 {"0x31B", 1280, 1024, 24},
123 /* mode#0: 640 x 480 16Bpp 60Hz */
126 0xE3,
128 0x03, 0x01, 0x0F, 0x00, 0x0E,
131 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
132 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
133 0xC4, 0x30, 0x02, 0x01, 0x01,
136 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
137 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
138 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
139 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
140 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
141 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
142 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
143 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
144 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
147 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
148 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
149 0x00, 0x00, 0x00, 0x00,
152 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
153 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
156 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
157 0xFF,
160 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
161 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
162 0x41, 0x00, 0x0F, 0x00, 0x00,
165 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
166 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
167 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
168 0xFF,
171 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
172 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
173 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
174 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
177 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
178 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
179 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
186 0xE3,
188 0x03, 0x01, 0x0F, 0x00, 0x0E,
191 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
192 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
193 0xC4, 0x30, 0x02, 0x01, 0x01,
196 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
197 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
198 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
199 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
200 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
201 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
202 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
203 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
204 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
207 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
208 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
209 0x00, 0x00, 0x00, 0x00,
212 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
213 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
216 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
217 0xFF,
220 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
221 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
222 0x41, 0x00, 0x0F, 0x00, 0x00,
225 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
226 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
227 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
228 0xFF,
231 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
232 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
233 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
234 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
237 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
238 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
239 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
243 /* mode#0: 640 x 480 32Bpp 60Hz */
246 0xE3,
248 0x03, 0x01, 0x0F, 0x00, 0x0E,
251 0xFF, 0xBE, 0xEF, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
252 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
253 0xC4, 0x30, 0x02, 0x01, 0x01,
256 0x32, 0x03, 0xA0, 0x09, 0xC0, 0x32, 0x32, 0x32,
257 0x32, 0x32, 0x32, 0x32, 0x00, 0x00, 0x03, 0xFF,
258 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
259 0x20, 0x0C, 0x44, 0x20, 0x00, 0x32, 0x32, 0x32,
260 0x04, 0x24, 0x63, 0x4F, 0x52, 0x0B, 0xDF, 0xEA,
261 0x04, 0x50, 0x19, 0x32, 0x32, 0x00, 0x00, 0x32,
262 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
263 0x50, 0x03, 0x74, 0x14, 0x07, 0x82, 0x07, 0x04,
264 0x00, 0x45, 0x30, 0x30, 0x40, 0x30,
267 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x32,
268 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x32, 0x32,
269 0x00, 0x00, 0x00, 0x00,
272 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
273 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xFF, 0xDF,
276 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
277 0xFF,
280 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
281 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
282 0x41, 0x00, 0x0F, 0x00, 0x00,
285 0x5F, 0x4F, 0x4F, 0x00, 0x53, 0x1F, 0x0B, 0x3E,
286 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
287 0xEA, 0x0C, 0xDF, 0x50, 0x40, 0xDF, 0x00, 0xE3,
288 0xFF,
291 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x03, 0x20,
292 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xFF, 0xFD,
293 0x5F, 0x4F, 0x00, 0x54, 0x00, 0x0B, 0xDF, 0x00,
294 0xEA, 0x0C, 0x2E, 0x00, 0x4F, 0xDF,
297 0x56, 0xDD, 0x5E, 0xEA, 0x87, 0x44, 0x8F, 0x55,
298 0x0A, 0x8F, 0x55, 0x0A, 0x00, 0x00, 0x18, 0x00,
299 0x11, 0x10, 0x0B, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,
306 0x2B,
308 0x03, 0x01, 0x0F, 0x03, 0x0E,
311 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
312 0x99, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
313 0xC4, 0x30, 0x02, 0x01, 0x01,
316 0x34, 0x03, 0x20, 0x09, 0xC0, 0x24, 0x24, 0x24,
317 0x24, 0x24, 0x24, 0x24, 0x00, 0x00, 0x03, 0xFF,
318 0x00, 0xFC, 0x00, 0x00, 0x20, 0x38, 0x00, 0xFC,
319 0x20, 0x0C, 0x44, 0x20, 0x00, 0x24, 0x24, 0x24,
320 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
321 0x04, 0x55, 0x59, 0x24, 0x24, 0x00, 0x00, 0x24,
322 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
323 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
324 0x02, 0x45, 0x30, 0x35, 0x40, 0x20,
327 0x00, 0x00, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x24,
328 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x24, 0x24,
329 0x00, 0x00, 0x00, 0x00,
332 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
333 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
336 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
337 0xFF,
340 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
341 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
342 0x41, 0x00, 0x0F, 0x00, 0x00,
345 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
346 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
347 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
348 0xFF,
351 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
352 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
353 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
354 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
357 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
358 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
359 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
364 0x2B,
366 0x03, 0x01, 0x0F, 0x03, 0x0E,
369 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
370 0x99, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
371 0xC4, 0x30, 0x02, 0x01, 0x01,
374 0x36, 0x03, 0x20, 0x09, 0xC0, 0x36, 0x36, 0x36,
375 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0x03, 0xFF,
376 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
377 0x20, 0x0C, 0x44, 0x20, 0x00, 0x36, 0x36, 0x36,
378 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
379 0x04, 0x55, 0x59, 0x36, 0x36, 0x00, 0x00, 0x36,
380 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
381 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
382 0x02, 0x45, 0x30, 0x30, 0x40, 0x20,
385 0xFF, 0x07, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x36,
386 0xF7, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0x36, 0x36,
387 0x00, 0x00, 0x00, 0x00,
390 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
391 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
394 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
395 0xFF,
398 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
399 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
400 0x41, 0x00, 0x0F, 0x00, 0x00,
403 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
404 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
405 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
406 0xFF,
409 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
410 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
411 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
412 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
415 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
416 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
417 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
423 0x2B,
425 0x03, 0x01, 0x0F, 0x03, 0x0E,
428 0xFF, 0xBE, 0xEE, 0xFF, 0x00, 0x0E, 0x17, 0x2C,
429 0x99, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
430 0xC4, 0x30, 0x02, 0x01, 0x01,
433 0x34, 0x03, 0x20, 0x09, 0xC0, 0x24, 0x24, 0x24,
434 0x24, 0x24, 0x24, 0x24, 0x00, 0x00, 0x03, 0xFF,
435 0x00, 0xFC, 0x00, 0x00, 0x20, 0x38, 0x00, 0xFC,
436 0x20, 0x0C, 0x44, 0x20, 0x00, 0x24, 0x24, 0x24,
437 0x04, 0x48, 0x83, 0x63, 0x68, 0x72, 0x57, 0x58,
438 0x04, 0x55, 0x59, 0x24, 0x24, 0x00, 0x00, 0x24,
439 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
440 0x50, 0x03, 0x74, 0x14, 0x1C, 0x85, 0x35, 0x13,
441 0x02, 0x45, 0x30, 0x35, 0x40, 0x20,
444 0x00, 0x00, 0x00, 0x6F, 0x7F, 0x7F, 0xFF, 0x24,
445 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x24, 0x24,
446 0x00, 0x00, 0x00, 0x00,
449 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0xED, 0xED, 0xED,
450 0x7B, 0xFF, 0xFF, 0xFF, 0xBF, 0xEF, 0xBF, 0xDF,
453 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
454 0xFF,
457 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
458 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
459 0x41, 0x00, 0x0F, 0x00, 0x00,
462 0x7F, 0x63, 0x63, 0x00, 0x68, 0x18, 0x72, 0xF0,
463 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
464 0x58, 0x0C, 0x57, 0x64, 0x40, 0x57, 0x00, 0xE3,
465 0xFF,
468 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x03, 0x20,
469 0x00, 0x00, 0x00, 0x40, 0x00, 0xE7, 0xBF, 0xFD,
470 0x7F, 0x63, 0x00, 0x69, 0x18, 0x72, 0x57, 0x00,
471 0x58, 0x0C, 0xE0, 0x20, 0x63, 0x57,
474 0x56, 0x4B, 0x5E, 0x55, 0x86, 0x9D, 0x8E, 0xAA,
475 0xDB, 0x2A, 0xDF, 0x33, 0x00, 0x00, 0x18, 0x00,
476 0x20, 0x1F, 0x1A, 0x19, 0x0F, 0x0F, 0x0F, 0x00,
483 0xEB,
485 0x03, 0x01, 0x0F, 0x00, 0x0E,
488 0xC8, 0x40, 0x14, 0x60, 0x00, 0x0A, 0x17, 0x20,
489 0x51, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
490 0xC4, 0x30, 0x02, 0x00, 0x01,
493 0x22, 0x03, 0x24, 0x09, 0xC0, 0x22, 0x22, 0x22,
494 0x22, 0x22, 0x22, 0x22, 0x00, 0x00, 0x03, 0xFF,
495 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
496 0x20, 0x0C, 0x44, 0x20, 0x00, 0x22, 0x22, 0x22,
497 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
498 0x00, 0x60, 0x59, 0x22, 0x22, 0x00, 0x00, 0x22,
499 0x01, 0x80, 0x7A, 0x1A, 0x1A, 0x00, 0x00, 0x00,
500 0x50, 0x03, 0x16, 0x02, 0x0D, 0x82, 0x09, 0x02,
501 0x04, 0x45, 0x3F, 0x30, 0x40, 0x20,
504 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
505 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
506 0x00, 0x00, 0x00, 0x00,
509 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
510 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
513 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
514 0xFF,
517 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
518 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
519 0x41, 0x00, 0x0F, 0x00, 0x00,
522 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
523 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
524 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
525 0xFF,
528 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
529 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
530 0xA3, 0x7F, 0x00, 0x82, 0x0b, 0x6f, 0x57, 0x00,
531 0x5c, 0x0f, 0xE0, 0xe0, 0x7F, 0x57,
534 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
535 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
536 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
542 0xEB,
544 0x03, 0x01, 0x0F, 0x03, 0x0E,
547 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
548 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
549 0xC4, 0x30, 0x02, 0x01, 0x01,
552 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
553 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
554 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
555 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
556 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
557 0x0F, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
558 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
559 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
560 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
563 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
564 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
565 0x00, 0x00, 0x00, 0x00,
568 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
569 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
572 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
573 0xFF,
576 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
577 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
578 0x41, 0x00, 0x0F, 0x00, 0x00,
581 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
582 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
583 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
584 0xFF,
587 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
588 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
589 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
590 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
593 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
594 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
595 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
601 0xEB,
603 0x03, 0x01, 0x0F, 0x03, 0x0E,
606 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
607 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
608 0xC4, 0x30, 0x02, 0x01, 0x01,
611 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
612 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
613 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
614 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
615 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
616 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
617 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
618 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
619 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
622 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
623 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
624 0x00, 0x00, 0x00, 0x00,
627 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
628 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
631 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
632 0xFF,
635 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
636 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
637 0x41, 0x00, 0x0F, 0x00, 0x00,
640 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
641 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
642 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
643 0xFF,
646 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
647 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
648 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
649 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
652 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
653 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
654 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
660 0xEB,
662 0x03, 0x01, 0x0F, 0x03, 0x0E,
665 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
666 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
667 0xC4, 0x32, 0x02, 0x01, 0x01,
670 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
671 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
672 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
673 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
674 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
675 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
676 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
677 0x50, 0x03, 0x74, 0x14, 0x3B, 0x0D, 0x09, 0x02,
678 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
681 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
682 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
683 0x00, 0x00, 0x00, 0x00,
686 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
687 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
690 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
691 0xFF,
694 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
695 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
696 0x41, 0x00, 0x0F, 0x00, 0x00,
699 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
700 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
701 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
702 0xFF,
705 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
706 0x00, 0x00, 0x00, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
707 0xA3, 0x7F, 0x00, 0x86, 0x15, 0x24, 0xFF, 0x00,
708 0x01, 0x07, 0xE5, 0x20, 0x7F, 0xFF,
711 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
712 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
713 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
719 0xEB,
721 0x03, 0x01, 0x0F, 0x03, 0x0E,
724 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
725 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
726 0xC4, 0x32, 0x02, 0x01, 0x01,
729 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
730 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
731 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
732 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
733 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
734 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
735 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
736 0x50, 0x03, 0x74, 0x14, 0x08, 0x43, 0x08, 0x43,
737 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
740 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
741 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
742 0x00, 0x00, 0x00, 0x00,
745 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
746 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
749 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
750 0xFF,
753 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
754 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
755 0x41, 0x00, 0x0F, 0x00, 0x00,
758 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
759 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
760 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
761 0xFF,
764 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
765 0x00, 0x00, 0x30, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
766 0x2E, 0x27, 0x00, 0x2b, 0x0c, 0x0F, 0xEF, 0x00,
767 0xFe, 0x0f, 0x01, 0xC0, 0x27, 0xEF,
770 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
771 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
772 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
779 0xEB,
781 0x03, 0x01, 0x0F, 0x03, 0x0E,
784 0xF3, 0xB6, 0xC0, 0xDD, 0x00, 0x0E, 0x17, 0x2C,
785 0x99, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
786 0xC4, 0x32, 0x02, 0x01, 0x01,
789 0x38, 0x03, 0x20, 0x09, 0xC0, 0x3A, 0x3A, 0x3A,
790 0x3A, 0x3A, 0x3A, 0x3A, 0x00, 0x00, 0x03, 0xFF,
791 0x00, 0xFC, 0x00, 0x00, 0x20, 0x18, 0x00, 0xFC,
792 0x20, 0x0C, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3A,
793 0x06, 0x68, 0xA7, 0x7F, 0x83, 0x24, 0xFF, 0x03,
794 0x00, 0x60, 0x59, 0x3A, 0x3A, 0x00, 0x00, 0x3A,
795 0x01, 0x80, 0x7E, 0x1A, 0x1A, 0x00, 0x00, 0x00,
796 0x50, 0x03, 0x74, 0x14, 0x08, 0x43, 0x08, 0x43,
797 0x04, 0x45, 0x30, 0x30, 0x40, 0x20,
800 0xFF, 0x07, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x3A,
801 0xF7, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3A, 0x3A,
802 0x00, 0x00, 0x00, 0x00,
805 0x00, 0xFB, 0x9F, 0x01, 0x00, 0xED, 0xED, 0xED,
806 0x7B, 0xFB, 0xFF, 0xFF, 0x97, 0xEF, 0xBF, 0xDF,
809 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0F,
810 0xFF,
813 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
814 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
815 0x41, 0x00, 0x0F, 0x00, 0x00,
818 0xA3, 0x7F, 0x7F, 0x00, 0x85, 0x16, 0x24, 0xF5,
819 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
820 0x03, 0x09, 0xFF, 0x80, 0x40, 0xFF, 0x00, 0xE3,
821 0xFF,
824 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x20,
825 0x00, 0x00, 0x30, 0x40, 0x00, 0xFF, 0xBF, 0xFF,
826 0x2E, 0x27, 0x00, 0x2b, 0x0c, 0x0F, 0xEF, 0x00,
827 0xFe, 0x0f, 0x01, 0xC0, 0x27, 0xEF,
830 0x55, 0xD9, 0x5D, 0xE1, 0x86, 0x1B, 0x8E, 0x26,
831 0xDA, 0x8D, 0xDE, 0x94, 0x00, 0x00, 0x18, 0x00,
832 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x15, 0x03,
849 smtc_scr_info.lfb_width = 0; in sm7xx_vga_setup()
850 smtc_scr_info.lfb_height = 0; in sm7xx_vga_setup()
851 smtc_scr_info.lfb_depth = 0; in sm7xx_vga_setup()
855 for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) { in sm7xx_vga_setup()
870 smtc_seqw(0x66, (smtc_seqr(0x66) & 0xC3) | 0x10); in sm712_setpalette()
888 chan &= 0xffff; in chan_to_field()
903 case 0x710: in smtc_blank()
904 case 0x712: in smtc_blank()
905 smtc_seqw(0x6a, 0x16); in smtc_blank()
906 smtc_seqw(0x6b, 0x02); in smtc_blank()
908 case 0x720: in smtc_blank()
909 smtc_seqw(0x6a, 0x0d); in smtc_blank()
910 smtc_seqw(0x6b, 0x02); in smtc_blank()
914 smtc_seqw(0x23, (smtc_seqr(0x23) & (~0xc0))); in smtc_blank()
915 smtc_seqw(0x01, (smtc_seqr(0x01) & (~0x20))); in smtc_blank()
916 smtc_seqw(0x21, (smtc_seqr(0x21) & 0x77)); in smtc_blank()
917 smtc_seqw(0x22, (smtc_seqr(0x22) & (~0x30))); in smtc_blank()
918 smtc_seqw(0x31, (smtc_seqr(0x31) | 0x03)); in smtc_blank()
919 smtc_seqw(0x24, (smtc_seqr(0x24) | 0x01)); in smtc_blank()
923 smtc_seqw(0x24, (smtc_seqr(0x24) | 0x01)); in smtc_blank()
924 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
925 smtc_seqw(0x23, (smtc_seqr(0x23) & (~0xc0))); in smtc_blank()
926 smtc_seqw(0x01, (smtc_seqr(0x01) & (~0x20))); in smtc_blank()
927 smtc_seqw(0x22, (smtc_seqr(0x22) & (~0x30))); in smtc_blank()
928 smtc_seqw(0x6a, 0x16); in smtc_blank()
929 smtc_seqw(0x6b, 0x02); in smtc_blank()
933 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
934 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
935 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0x20)); in smtc_blank()
936 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
937 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
938 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
939 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x20)); in smtc_blank()
940 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
941 smtc_seqw(0x6a, 0x0c); in smtc_blank()
942 smtc_seqw(0x6b, 0x02); in smtc_blank()
946 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
947 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
948 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0xD8)); in smtc_blank()
949 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
950 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
951 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
952 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x10)); in smtc_blank()
953 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
954 smtc_seqw(0x6a, 0x0c); in smtc_blank()
955 smtc_seqw(0x6b, 0x02); in smtc_blank()
959 smtc_seqw(0x24, (smtc_seqr(0x24) & (~0x01))); in smtc_blank()
960 smtc_seqw(0x31, ((smtc_seqr(0x31) & (~0x07)) | 0x00)); in smtc_blank()
961 smtc_seqw(0x23, ((smtc_seqr(0x23) & (~0xc0)) | 0xD8)); in smtc_blank()
962 smtc_seqw(0x01, (smtc_seqr(0x01) | 0x20)); in smtc_blank()
963 smtc_seqw(0x21, (smtc_seqr(0x21) | 0x88)); in smtc_blank()
964 smtc_seqw(0x20, (smtc_seqr(0x20) & (~0xB0))); in smtc_blank()
965 smtc_seqw(0x22, ((smtc_seqr(0x22) & (~0x30)) | 0x30)); in smtc_blank()
966 smtc_seqw(0x34, (smtc_seqr(0x34) | 0x80)); in smtc_blank()
967 smtc_seqw(0x6a, 0x0c); in smtc_blank()
968 smtc_seqw(0x6b, 0x02); in smtc_blank()
974 return 0; in smtc_blank()
1023 return 0; in smtc_setcolreg()
1033 int c, i, cnt = 0, err = 0; in smtcfb_read()
1041 if (total_size == 0) in smtcfb_read()
1045 return 0; in smtcfb_read()
1096 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()
1377 sfb->fb->fix.smem_start = pci_resource_start(pdev, 0); in smtc_map_smem()
1379 if (sfb->chip_id == 0x720) in smtc_map_smem()
1381 sfb->fb->fix.smem_start += 0x00200000; in smtc_map_smem()
1397 return 0; in smtc_map_smem()
1407 if (sfb->chip_id == 0x720) in smtc_unmap_smem()
1408 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem()
1419 outb_p(0x18, 0x3c4); in sm7xx_init_hw()
1420 outb_p(0x11, 0x3c5); in sm7xx_init_hw()
1428 case 0x710: in sm7xx_vram_probe()
1429 case 0x712: in sm7xx_vram_probe()
1439 return 0x00400000; in sm7xx_vram_probe()
1440 case 0x720: in sm7xx_vram_probe()
1441 outb_p(0x76, 0x3c4); in sm7xx_vram_probe()
1442 vram = inb_p(0x3c5) >> 6; in sm7xx_vram_probe()
1444 if (vram == 0x00) in sm7xx_vram_probe()
1445 return 0x00800000; /* 8 MB */ in sm7xx_vram_probe()
1446 else if (vram == 0x01) in sm7xx_vram_probe()
1447 return 0x01000000; /* 16 MB */ in sm7xx_vram_probe()
1448 else if (vram == 0x02) in sm7xx_vram_probe()
1449 return 0x00400000; /* illegal, fallback to 4 MB */ in sm7xx_vram_probe()
1450 else if (vram == 0x03) in sm7xx_vram_probe()
1451 return 0x00400000; /* 4 MB */ in sm7xx_vram_probe()
1453 return 0; /* unknown hardware */ in sm7xx_vram_probe()
1459 if (smtc_scr_info.lfb_width != 0) { in sm7xx_resolution_probe()
1512 err = pci_request_region(pdev, 0, "sm7xxfb"); in smtcfb_pci_probe()
1513 if (err < 0) { in smtcfb_pci_probe()
1541 mmio_base = pci_resource_start(pdev, 0); in smtcfb_pci_probe()
1549 case 0x710: in smtcfb_pci_probe()
1550 case 0x712: in smtcfb_pci_probe()
1551 sfb->fb->fix.mmio_start = mmio_base + 0x00400000; in smtcfb_pci_probe()
1552 sfb->fb->fix.mmio_len = 0x00400000; in smtcfb_pci_probe()
1563 sfb->lfb + 0x00700000); in smtcfb_pci_probe()
1564 sfb->dp_regs = sfb->lfb + 0x00408000; in smtcfb_pci_probe()
1565 sfb->vp_regs = sfb->lfb + 0x0040c000; in smtcfb_pci_probe()
1571 /* set MCLK = 14.31818 * (0x16 / 0x2) */ in smtcfb_pci_probe()
1572 smtc_seqw(0x6a, 0x16); in smtcfb_pci_probe()
1573 smtc_seqw(0x6b, 0x02); in smtcfb_pci_probe()
1574 smtc_seqw(0x62, 0x3e); in smtcfb_pci_probe()
1576 smtc_seqw(0x17, 0x20); in smtcfb_pci_probe()
1581 case 0x720: in smtcfb_pci_probe()
1583 sfb->fb->fix.mmio_len = 0x00200000; in smtcfb_pci_probe()
1584 sfb->dp_regs = ioremap(mmio_base, 0x00200000 + smem_size); in smtcfb_pci_probe()
1593 sfb->lfb = sfb->dp_regs + 0x00200000; in smtcfb_pci_probe()
1595 sfb->dp_regs + 0x000c0000); in smtcfb_pci_probe()
1596 sfb->vp_regs = sfb->dp_regs + 0x800; in smtcfb_pci_probe()
1598 smtc_seqw(0x62, 0xff); in smtcfb_pci_probe()
1599 smtc_seqw(0x6a, 0x0d); in smtcfb_pci_probe()
1600 smtc_seqw(0x6b, 0x02); in smtcfb_pci_probe()
1626 memset_io(sfb->lfb, 0, sfb->fb->fix.smem_len); in smtcfb_pci_probe()
1629 if (err < 0) in smtcfb_pci_probe()
1637 return 0; in smtcfb_pci_probe()
1648 pci_release_region(pdev, 0); in smtcfb_pci_probe()
1657 * 0x710 (LynxEM)
1658 * 0x712 (LynxEM+)
1659 * 0x720 (Lynx3DM, Lynx3DM+)
1662 { PCI_DEVICE(0x126f, 0x710), },
1663 { PCI_DEVICE(0x126f, 0x712), },
1664 { PCI_DEVICE(0x126f, 0x720), },
1665 {0,}
1679 pci_release_region(pdev, 0); in smtcfb_pci_remove()
1691 smtc_seqw(0x20, (smtc_seqr(0x20) | 0xc0)); in smtcfb_pci_suspend()
1692 smtc_seqw(0x69, (smtc_seqr(0x69) & 0xf7)); in smtcfb_pci_suspend()
1699 smtc_seqw(0x21, 0xff); in smtcfb_pci_suspend()
1701 return 0; in smtcfb_pci_suspend()
1712 case 0x710: in smtcfb_pci_resume()
1713 case 0x712: in smtcfb_pci_resume()
1714 /* set MCLK = 14.31818 * (0x16 / 0x2) */ in smtcfb_pci_resume()
1715 smtc_seqw(0x6a, 0x16); in smtcfb_pci_resume()
1716 smtc_seqw(0x6b, 0x02); in smtcfb_pci_resume()
1717 smtc_seqw(0x62, 0x3e); in smtcfb_pci_resume()
1719 smtc_seqw(0x17, 0x20); in smtcfb_pci_resume()
1723 case 0x720: in smtcfb_pci_resume()
1724 smtc_seqw(0x62, 0xff); in smtcfb_pci_resume()
1725 smtc_seqw(0x6a, 0x0d); in smtcfb_pci_resume()
1726 smtc_seqw(0x6b, 0x02); in smtcfb_pci_resume()
1730 smtc_seqw(0x34, (smtc_seqr(0x34) | 0xc0)); in smtcfb_pci_resume()
1731 smtc_seqw(0x33, ((smtc_seqr(0x33) | 0x08) & 0xfb)); in smtcfb_pci_resume()
1736 fb_set_suspend(sfb->fb, 0); in smtcfb_pci_resume()
1739 return 0; in smtcfb_pci_resume()