diff options
Diffstat (limited to 'drivers/video/via/share.h')
-rw-r--r-- | drivers/video/via/share.h | 331 |
1 files changed, 0 insertions, 331 deletions
diff --git a/drivers/video/via/share.h b/drivers/video/via/share.h index c01c1c162726..3158dfc90bed 100644 --- a/drivers/video/via/share.h +++ b/drivers/video/via/share.h | |||
@@ -283,337 +283,6 @@ | |||
283 | #define HW_LAYOUT_LCD1_LCD2 0x04 | 283 | #define HW_LAYOUT_LCD1_LCD2 0x04 |
284 | #define HW_LAYOUT_LCD_EXTERNAL_LCD2 0x10 | 284 | #define HW_LAYOUT_LCD_EXTERNAL_LCD2 0x10 |
285 | 285 | ||
286 | /* Definition Refresh Rate */ | ||
287 | #define REFRESH_49 49 | ||
288 | #define REFRESH_50 50 | ||
289 | #define REFRESH_60 60 | ||
290 | #define REFRESH_75 75 | ||
291 | #define REFRESH_85 85 | ||
292 | #define REFRESH_100 100 | ||
293 | #define REFRESH_120 120 | ||
294 | |||
295 | /* Definition Sync Polarity*/ | ||
296 | #define NEGATIVE 1 | ||
297 | #define POSITIVE 0 | ||
298 | |||
299 | /*480x640@60 Sync Polarity (GTF) | ||
300 | */ | ||
301 | #define M480X640_R60_HSP NEGATIVE | ||
302 | #define M480X640_R60_VSP POSITIVE | ||
303 | |||
304 | /*640x480@60 Sync Polarity (VESA Mode) | ||
305 | */ | ||
306 | #define M640X480_R60_HSP NEGATIVE | ||
307 | #define M640X480_R60_VSP NEGATIVE | ||
308 | |||
309 | /*640x480@75 Sync Polarity (VESA Mode) | ||
310 | */ | ||
311 | #define M640X480_R75_HSP NEGATIVE | ||
312 | #define M640X480_R75_VSP NEGATIVE | ||
313 | |||
314 | /*640x480@85 Sync Polarity (VESA Mode) | ||
315 | */ | ||
316 | #define M640X480_R85_HSP NEGATIVE | ||
317 | #define M640X480_R85_VSP NEGATIVE | ||
318 | |||
319 | /*640x480@100 Sync Polarity (GTF Mode) | ||
320 | */ | ||
321 | #define M640X480_R100_HSP NEGATIVE | ||
322 | #define M640X480_R100_VSP POSITIVE | ||
323 | |||
324 | /*640x480@120 Sync Polarity (GTF Mode) | ||
325 | */ | ||
326 | #define M640X480_R120_HSP NEGATIVE | ||
327 | #define M640X480_R120_VSP POSITIVE | ||
328 | |||
329 | /*720x480@60 Sync Polarity (GTF Mode) | ||
330 | */ | ||
331 | #define M720X480_R60_HSP NEGATIVE | ||
332 | #define M720X480_R60_VSP POSITIVE | ||
333 | |||
334 | /*720x576@60 Sync Polarity (GTF Mode) | ||
335 | */ | ||
336 | #define M720X576_R60_HSP NEGATIVE | ||
337 | #define M720X576_R60_VSP POSITIVE | ||
338 | |||
339 | /*800x600@60 Sync Polarity (VESA Mode) | ||
340 | */ | ||
341 | #define M800X600_R60_HSP POSITIVE | ||
342 | #define M800X600_R60_VSP POSITIVE | ||
343 | |||
344 | /*800x600@75 Sync Polarity (VESA Mode) | ||
345 | */ | ||
346 | #define M800X600_R75_HSP POSITIVE | ||
347 | #define M800X600_R75_VSP POSITIVE | ||
348 | |||
349 | /*800x600@85 Sync Polarity (VESA Mode) | ||
350 | */ | ||
351 | #define M800X600_R85_HSP POSITIVE | ||
352 | #define M800X600_R85_VSP POSITIVE | ||
353 | |||
354 | /*800x600@100 Sync Polarity (GTF Mode) | ||
355 | */ | ||
356 | #define M800X600_R100_HSP NEGATIVE | ||
357 | #define M800X600_R100_VSP POSITIVE | ||
358 | |||
359 | /*800x600@120 Sync Polarity (GTF Mode) | ||
360 | */ | ||
361 | #define M800X600_R120_HSP NEGATIVE | ||
362 | #define M800X600_R120_VSP POSITIVE | ||
363 | |||
364 | /*800x480@60 Sync Polarity (CVT Mode) | ||
365 | */ | ||
366 | #define M800X480_R60_HSP NEGATIVE | ||
367 | #define M800X480_R60_VSP POSITIVE | ||
368 | |||
369 | /*848x480@60 Sync Polarity (CVT Mode) | ||
370 | */ | ||
371 | #define M848X480_R60_HSP NEGATIVE | ||
372 | #define M848X480_R60_VSP POSITIVE | ||
373 | |||
374 | /*852x480@60 Sync Polarity (GTF Mode) | ||
375 | */ | ||
376 | #define M852X480_R60_HSP NEGATIVE | ||
377 | #define M852X480_R60_VSP POSITIVE | ||
378 | |||
379 | /*1024x512@60 Sync Polarity (GTF Mode) | ||
380 | */ | ||
381 | #define M1024X512_R60_HSP NEGATIVE | ||
382 | #define M1024X512_R60_VSP POSITIVE | ||
383 | |||
384 | /*1024x600@60 Sync Polarity (GTF Mode) | ||
385 | */ | ||
386 | #define M1024X600_R60_HSP NEGATIVE | ||
387 | #define M1024X600_R60_VSP POSITIVE | ||
388 | |||
389 | /*1024x768@60 Sync Polarity (VESA Mode) | ||
390 | */ | ||
391 | #define M1024X768_R60_HSP NEGATIVE | ||
392 | #define M1024X768_R60_VSP NEGATIVE | ||
393 | |||
394 | /*1024x768@75 Sync Polarity (VESA Mode) | ||
395 | */ | ||
396 | #define M1024X768_R75_HSP POSITIVE | ||
397 | #define M1024X768_R75_VSP POSITIVE | ||
398 | |||
399 | /*1024x768@85 Sync Polarity (VESA Mode) | ||
400 | */ | ||
401 | #define M1024X768_R85_HSP POSITIVE | ||
402 | #define M1024X768_R85_VSP POSITIVE | ||
403 | |||
404 | /*1024x768@100 Sync Polarity (GTF Mode) | ||
405 | */ | ||
406 | #define M1024X768_R100_HSP NEGATIVE | ||
407 | #define M1024X768_R100_VSP POSITIVE | ||
408 | |||
409 | /*1152x864@75 Sync Polarity (VESA Mode) | ||
410 | */ | ||
411 | #define M1152X864_R75_HSP POSITIVE | ||
412 | #define M1152X864_R75_VSP POSITIVE | ||
413 | |||
414 | /*1280x720@60 Sync Polarity (GTF Mode) | ||
415 | */ | ||
416 | #define M1280X720_R60_HSP NEGATIVE | ||
417 | #define M1280X720_R60_VSP POSITIVE | ||
418 | |||
419 | /* 1280x768@50 Sync Polarity (GTF Mode) */ | ||
420 | #define M1280X768_R50_HSP NEGATIVE | ||
421 | #define M1280X768_R50_VSP POSITIVE | ||
422 | |||
423 | /*1280x768@60 Sync Polarity (GTF Mode) | ||
424 | */ | ||
425 | #define M1280X768_R60_HSP NEGATIVE | ||
426 | #define M1280X768_R60_VSP POSITIVE | ||
427 | |||
428 | /*1280x800@60 Sync Polarity (CVT Mode) | ||
429 | */ | ||
430 | #define M1280X800_R60_HSP NEGATIVE | ||
431 | #define M1280X800_R60_VSP POSITIVE | ||
432 | |||
433 | /*1280x960@60 Sync Polarity (VESA Mode) | ||
434 | */ | ||
435 | #define M1280X960_R60_HSP POSITIVE | ||
436 | #define M1280X960_R60_VSP POSITIVE | ||
437 | |||
438 | /*1280x1024@60 Sync Polarity (VESA Mode) | ||
439 | */ | ||
440 | #define M1280X1024_R60_HSP POSITIVE | ||
441 | #define M1280X1024_R60_VSP POSITIVE | ||
442 | |||
443 | /* 1360x768@60 Sync Polarity (CVT Mode) */ | ||
444 | #define M1360X768_R60_HSP POSITIVE | ||
445 | #define M1360X768_R60_VSP POSITIVE | ||
446 | |||
447 | /* 1360x768@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
448 | #define M1360X768_RB_R60_HSP POSITIVE | ||
449 | #define M1360X768_RB_R60_VSP NEGATIVE | ||
450 | |||
451 | /* 1368x768@50 Sync Polarity (GTF Mode) */ | ||
452 | #define M1368X768_R50_HSP NEGATIVE | ||
453 | #define M1368X768_R50_VSP POSITIVE | ||
454 | |||
455 | /* 1368x768@60 Sync Polarity (VESA Mode) */ | ||
456 | #define M1368X768_R60_HSP NEGATIVE | ||
457 | #define M1368X768_R60_VSP POSITIVE | ||
458 | |||
459 | /*1280x1024@75 Sync Polarity (VESA Mode) | ||
460 | */ | ||
461 | #define M1280X1024_R75_HSP POSITIVE | ||
462 | #define M1280X1024_R75_VSP POSITIVE | ||
463 | |||
464 | /*1280x1024@85 Sync Polarity (VESA Mode) | ||
465 | */ | ||
466 | #define M1280X1024_R85_HSP POSITIVE | ||
467 | #define M1280X1024_R85_VSP POSITIVE | ||
468 | |||
469 | /*1440x1050@60 Sync Polarity (GTF Mode) | ||
470 | */ | ||
471 | #define M1440X1050_R60_HSP NEGATIVE | ||
472 | #define M1440X1050_R60_VSP POSITIVE | ||
473 | |||
474 | /*1600x1200@60 Sync Polarity (VESA Mode) | ||
475 | */ | ||
476 | #define M1600X1200_R60_HSP POSITIVE | ||
477 | #define M1600X1200_R60_VSP POSITIVE | ||
478 | |||
479 | /*1600x1200@75 Sync Polarity (VESA Mode) | ||
480 | */ | ||
481 | #define M1600X1200_R75_HSP POSITIVE | ||
482 | #define M1600X1200_R75_VSP POSITIVE | ||
483 | |||
484 | /* 1680x1050@60 Sync Polarity (CVT Mode) */ | ||
485 | #define M1680x1050_R60_HSP NEGATIVE | ||
486 | #define M1680x1050_R60_VSP NEGATIVE | ||
487 | |||
488 | /* 1680x1050@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
489 | #define M1680x1050_RB_R60_HSP POSITIVE | ||
490 | #define M1680x1050_RB_R60_VSP NEGATIVE | ||
491 | |||
492 | /* 1680x1050@75 Sync Polarity (CVT Mode) */ | ||
493 | #define M1680x1050_R75_HSP NEGATIVE | ||
494 | #define M1680x1050_R75_VSP POSITIVE | ||
495 | |||
496 | /*1920x1080@60 Sync Polarity (CVT Mode) | ||
497 | */ | ||
498 | #define M1920X1080_R60_HSP NEGATIVE | ||
499 | #define M1920X1080_R60_VSP POSITIVE | ||
500 | |||
501 | /* 1920x1080@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
502 | #define M1920X1080_RB_R60_HSP POSITIVE | ||
503 | #define M1920X1080_RB_R60_VSP NEGATIVE | ||
504 | |||
505 | /*1920x1440@60 Sync Polarity (VESA Mode) | ||
506 | */ | ||
507 | #define M1920X1440_R60_HSP NEGATIVE | ||
508 | #define M1920X1440_R60_VSP POSITIVE | ||
509 | |||
510 | /*1920x1440@75 Sync Polarity (VESA Mode) | ||
511 | */ | ||
512 | #define M1920X1440_R75_HSP NEGATIVE | ||
513 | #define M1920X1440_R75_VSP POSITIVE | ||
514 | |||
515 | #if 0 | ||
516 | /* 1400x1050@60 Sync Polarity (VESA Mode) */ | ||
517 | #define M1400X1050_R60_HSP NEGATIVE | ||
518 | #define M1400X1050_R60_VSP NEGATIVE | ||
519 | #endif | ||
520 | |||
521 | /* 1400x1050@60 Sync Polarity (CVT Mode) */ | ||
522 | #define M1400X1050_R60_HSP NEGATIVE | ||
523 | #define M1400X1050_R60_VSP POSITIVE | ||
524 | |||
525 | /* 1400x1050@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
526 | #define M1400X1050_RB_R60_HSP POSITIVE | ||
527 | #define M1400X1050_RB_R60_VSP NEGATIVE | ||
528 | |||
529 | /* 1400x1050@75 Sync Polarity (CVT Mode) */ | ||
530 | #define M1400X1050_R75_HSP NEGATIVE | ||
531 | #define M1400X1050_R75_VSP POSITIVE | ||
532 | |||
533 | /* 960x600@60 Sync Polarity (CVT Mode) */ | ||
534 | #define M960X600_R60_HSP NEGATIVE | ||
535 | #define M960X600_R60_VSP POSITIVE | ||
536 | |||
537 | /* 1000x600@60 Sync Polarity (GTF Mode) */ | ||
538 | #define M1000X600_R60_HSP NEGATIVE | ||
539 | #define M1000X600_R60_VSP POSITIVE | ||
540 | |||
541 | /* 1024x576@60 Sync Polarity (GTF Mode) */ | ||
542 | #define M1024X576_R60_HSP NEGATIVE | ||
543 | #define M1024X576_R60_VSP POSITIVE | ||
544 | |||
545 | /*1024x600@60 Sync Polarity (GTF Mode)*/ | ||
546 | #define M1024X600_R60_HSP NEGATIVE | ||
547 | #define M1024X600_R60_VSP POSITIVE | ||
548 | |||
549 | /* 1088x612@60 Sync Polarity (CVT Mode) */ | ||
550 | #define M1088X612_R60_HSP NEGATIVE | ||
551 | #define M1088X612_R60_VSP POSITIVE | ||
552 | |||
553 | /* 1152x720@60 Sync Polarity (CVT Mode) */ | ||
554 | #define M1152X720_R60_HSP NEGATIVE | ||
555 | #define M1152X720_R60_VSP POSITIVE | ||
556 | |||
557 | /* 1200x720@60 Sync Polarity (GTF Mode) */ | ||
558 | #define M1200X720_R60_HSP NEGATIVE | ||
559 | #define M1200X720_R60_VSP POSITIVE | ||
560 | |||
561 | /* 1200x900@60 Sync Polarity (DCON) */ | ||
562 | #define M1200X900_R60_HSP POSITIVE | ||
563 | #define M1200X900_R60_VSP POSITIVE | ||
564 | |||
565 | /* 1280x600@60 Sync Polarity (GTF Mode) */ | ||
566 | #define M1280x600_R60_HSP NEGATIVE | ||
567 | #define M1280x600_R60_VSP POSITIVE | ||
568 | |||
569 | /* 1280x720@50 Sync Polarity (GTF Mode) */ | ||
570 | #define M1280X720_R50_HSP NEGATIVE | ||
571 | #define M1280X720_R50_VSP POSITIVE | ||
572 | |||
573 | /* 1440x900@60 Sync Polarity (CVT Mode) */ | ||
574 | #define M1440X900_R60_HSP NEGATIVE | ||
575 | #define M1440X900_R60_VSP POSITIVE | ||
576 | |||
577 | /* 1440x900@75 Sync Polarity (CVT Mode) */ | ||
578 | #define M1440X900_R75_HSP NEGATIVE | ||
579 | #define M1440X900_R75_VSP POSITIVE | ||
580 | |||
581 | /* 1440x900@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
582 | #define M1440X900_RB_R60_HSP POSITIVE | ||
583 | #define M1440X900_RB_R60_VSP NEGATIVE | ||
584 | |||
585 | /* 1600x900@60 Sync Polarity (CVT Mode) */ | ||
586 | #define M1600X900_R60_HSP NEGATIVE | ||
587 | #define M1600X900_R60_VSP POSITIVE | ||
588 | |||
589 | /* 1600x900@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
590 | #define M1600X900_RB_R60_HSP POSITIVE | ||
591 | #define M1600X900_RB_R60_VSP NEGATIVE | ||
592 | |||
593 | /* 1600x1024@60 Sync Polarity (GTF Mode) */ | ||
594 | #define M1600X1024_R60_HSP NEGATIVE | ||
595 | #define M1600X1024_R60_VSP POSITIVE | ||
596 | |||
597 | /* 1792x1344@60 Sync Polarity (DMT Mode) */ | ||
598 | #define M1792x1344_R60_HSP NEGATIVE | ||
599 | #define M1792x1344_R60_VSP POSITIVE | ||
600 | |||
601 | /* 1856x1392@60 Sync Polarity (DMT Mode) */ | ||
602 | #define M1856x1392_R60_HSP NEGATIVE | ||
603 | #define M1856x1392_R60_VSP POSITIVE | ||
604 | |||
605 | /* 1920x1200@60 Sync Polarity (CVT Mode) */ | ||
606 | #define M1920X1200_R60_HSP NEGATIVE | ||
607 | #define M1920X1200_R60_VSP POSITIVE | ||
608 | |||
609 | /* 1920x1200@60 Sync Polarity (CVT Reduce Blanking Mode) */ | ||
610 | #define M1920X1200_RB_R60_HSP POSITIVE | ||
611 | #define M1920X1200_RB_R60_VSP NEGATIVE | ||
612 | |||
613 | /* 2048x1536@60 Sync Polarity (CVT Mode) */ | ||
614 | #define M2048x1536_R60_HSP NEGATIVE | ||
615 | #define M2048x1536_R60_VSP POSITIVE | ||
616 | |||
617 | /* Definition CRTC Timing Index */ | 286 | /* Definition CRTC Timing Index */ |
618 | #define H_TOTAL_INDEX 0 | 287 | #define H_TOTAL_INDEX 0 |
619 | #define H_ADDR_INDEX 1 | 288 | #define H_ADDR_INDEX 1 |