Subversion Repositories Kolibri OS

Rev

Rev 1117 | Rev 1221 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1117 Rev 1179
Line 348... Line 348...
348
#define AVIVO_D1CRTC_CONTROL                                    0x6080
348
#define AVIVO_D1CRTC_CONTROL                                    0x6080
349
#       define AVIVO_CRTC_EN                                    (1 << 0)
349
#       define AVIVO_CRTC_EN                                    (1 << 0)
350
#define AVIVO_D1CRTC_BLANK_CONTROL                              0x6084
350
#define AVIVO_D1CRTC_BLANK_CONTROL                              0x6084
351
#define AVIVO_D1CRTC_INTERLACE_CONTROL                          0x6088
351
#define AVIVO_D1CRTC_INTERLACE_CONTROL                          0x6088
352
#define AVIVO_D1CRTC_INTERLACE_STATUS                           0x608c
352
#define AVIVO_D1CRTC_INTERLACE_STATUS                           0x608c
-
 
353
#define AVIVO_D1CRTC_FRAME_COUNT                                0x60a4
353
#define AVIVO_D1CRTC_STEREO_CONTROL                             0x60c4
354
#define AVIVO_D1CRTC_STEREO_CONTROL                             0x60c4
Line 354... Line 355...
354
 
355
 
355
/* master controls */
356
/* master controls */
356
#define AVIVO_DC_CRTC_MASTER_EN                                 0x60f8
357
#define AVIVO_DC_CRTC_MASTER_EN                                 0x60f8
Line 436... Line 437...
436
#       define AVIVO_DC_LB_MEMORY_SPLIT_D1_1Q_D2_3Q    3
437
#       define AVIVO_DC_LB_MEMORY_SPLIT_D1_1Q_D2_3Q    3
437
#       define AVIVO_DC_LB_MEMORY_SPLIT_SHIFT_MODE (1 << 2)
438
#       define AVIVO_DC_LB_MEMORY_SPLIT_SHIFT_MODE (1 << 2)
438
#       define AVIVO_DC_LB_DISP1_END_ADR_SHIFT  4
439
#       define AVIVO_DC_LB_DISP1_END_ADR_SHIFT  4
439
#       define AVIVO_DC_LB_DISP1_END_ADR_MASK   0x7ff
440
#       define AVIVO_DC_LB_DISP1_END_ADR_MASK   0x7ff
Line 440... Line -...
440
 
-
 
441
#define R500_DxMODE_INT_MASK 0x6540
-
 
442
#define R500_D1MODE_INT_MASK (1<<0)
-
 
443
#define R500_D2MODE_INT_MASK (1<<8)
-
 
444
 
441
 
445
#define AVIVO_D1MODE_DATA_FORMAT                0x6528
442
#define AVIVO_D1MODE_DATA_FORMAT                0x6528
446
#       define AVIVO_D1MODE_INTERLEAVE_EN       (1 << 0)
443
#       define AVIVO_D1MODE_INTERLEAVE_EN       (1 << 0)
-
 
444
#define AVIVO_D1MODE_DESKTOP_HEIGHT             0x652C
-
 
445
#define AVIVO_D1MODE_VBLANK_STATUS              0x6534
-
 
446
#       define AVIVO_VBLANK_ACK                 (1 << 4)
-
 
447
#define AVIVO_D1MODE_VLINE_START_END            0x6538
-
 
448
#define AVIVO_DxMODE_INT_MASK                   0x6540
-
 
449
#       define AVIVO_D1MODE_INT_MASK            (1 << 0)
447
#define AVIVO_D1MODE_DESKTOP_HEIGHT             0x652C
450
#       define AVIVO_D2MODE_INT_MASK            (1 << 8)
448
#define AVIVO_D1MODE_VIEWPORT_START             0x6580
451
#define AVIVO_D1MODE_VIEWPORT_START             0x6580
449
#define AVIVO_D1MODE_VIEWPORT_SIZE              0x6584
452
#define AVIVO_D1MODE_VIEWPORT_SIZE              0x6584
450
#define AVIVO_D1MODE_EXT_OVERSCAN_LEFT_RIGHT    0x6588
453
#define AVIVO_D1MODE_EXT_OVERSCAN_LEFT_RIGHT    0x6588
Line 472... Line 475...
472
 
475
 
473
#define AVIVO_D2CRTC_CONTROL                                    0x6880
476
#define AVIVO_D2CRTC_CONTROL                                    0x6880
474
#define AVIVO_D2CRTC_BLANK_CONTROL                              0x6884
477
#define AVIVO_D2CRTC_BLANK_CONTROL                              0x6884
475
#define AVIVO_D2CRTC_INTERLACE_CONTROL                          0x6888
478
#define AVIVO_D2CRTC_INTERLACE_CONTROL                          0x6888
-
 
479
#define AVIVO_D2CRTC_INTERLACE_STATUS                           0x688c
476
#define AVIVO_D2CRTC_INTERLACE_STATUS                           0x688c
480
#define AVIVO_D2CRTC_FRAME_COUNT                                0x68a4
Line 477... Line 481...
477
#define AVIVO_D2CRTC_STEREO_CONTROL                             0x68c4
481
#define AVIVO_D2CRTC_STEREO_CONTROL                             0x68c4
478
 
482
 
479
#define AVIVO_D2GRPH_ENABLE                                     0x6900
483
#define AVIVO_D2GRPH_ENABLE                                     0x6900
Line 494... Line 498...
494
#define AVIVO_D2CUR_CONTROL                     0x6c00
498
#define AVIVO_D2CUR_CONTROL                     0x6c00
495
#define AVIVO_D2CUR_SURFACE_ADDRESS             0x6c08
499
#define AVIVO_D2CUR_SURFACE_ADDRESS             0x6c08
496
#define AVIVO_D2CUR_SIZE                        0x6c10
500
#define AVIVO_D2CUR_SIZE                        0x6c10
497
#define AVIVO_D2CUR_POSITION                    0x6c14
501
#define AVIVO_D2CUR_POSITION                    0x6c14
Line -... Line 502...
-
 
502
 
-
 
503
#define AVIVO_D2MODE_VBLANK_STATUS              0x6d34
498
 
504
#define AVIVO_D2MODE_VLINE_START_END            0x6d38
499
#define AVIVO_D2MODE_VIEWPORT_START             0x6d80
505
#define AVIVO_D2MODE_VIEWPORT_START             0x6d80
500
#define AVIVO_D2MODE_VIEWPORT_SIZE              0x6d84
506
#define AVIVO_D2MODE_VIEWPORT_SIZE              0x6d84
501
#define AVIVO_D2MODE_EXT_OVERSCAN_LEFT_RIGHT    0x6d88
507
#define AVIVO_D2MODE_EXT_OVERSCAN_LEFT_RIGHT    0x6d88
Line 744... Line 750...
744
#define R520_I2C_DATA_COUNT_MASK (0xF00)
750
#define R520_I2C_DATA_COUNT_MASK (0xF00)
745
#define AVIVO_I2C_CNTL						0x7d50
751
#define AVIVO_I2C_CNTL						0x7d50
746
#	define AVIVO_I2C_EN							(1 << 0)
752
#	define AVIVO_I2C_EN							(1 << 0)
747
#	define AVIVO_I2C_RESET						(1 << 8)
753
#	define AVIVO_I2C_RESET						(1 << 8)
Line -... Line 754...
-
 
754
 
-
 
755
#define AVIVO_DISP_INTERRUPT_STATUS                             0x7edc
-
 
756
#       define AVIVO_D1_VBLANK_INTERRUPT                        (1 << 4)
-
 
757
#       define AVIVO_D2_VBLANK_INTERRUPT                        (1 << 5)
748
 
758