Lines Matching defs:mode

16 {	// TVoutput mode to set
52 static uint8 BT_set_macro (int std, int mode)
59 if ((std < 0) | (std > 1) | (mode < 0) | (mode > 3))
61 LOG(4,("Brooktree: Non existing mode or standard selected, aborting.\n"));
69 switch (mode)
77 /* enabled mode 1 */
78 LOG(4,("Brooktree: NTSC, mode 1\n"));
82 /* enabled mode 2 */
83 LOG(4,("Brooktree: NTSC, mode 2\n"));
87 /* enabled mode 3 */
88 LOG(4,("Brooktree: NTSC, mode 3\n"));
95 switch (mode)
168 * BT-compatibility mode! (This command will do nothing on a BT chip...) */
289 LOG(4,("Brooktree: Setting PAL 640x480 desktop mode\n"));
336 LOG(4,("Brooktree: I2C errors occurred while setting mode PAL640\n"));
347 LOG(4,("Brooktree: Setting PAL 800x600 desktop mode\n"));
394 LOG(4,("Brooktree: I2C errors occurred while setting mode PAL800\n"));
405 LOG(4,("Brooktree: Setting NTSC 640x480 desktop mode\n"));
452 LOG(4,("Brooktree: I2C errors occurred while setting mode NTSC640\n"));
463 LOG(4,("Brooktree: Setting NTSC 800x600 desktop mode\n"));
510 LOG(4,("Brooktree: I2C errors occurred while setting mode PAL800\n"));
521 LOG(4,("Brooktree: Setting PAL 720x576 overscanning DVD mode\n"));
568 LOG(4,("Brooktree: I2C errors occurred while setting mode PAL720\n"));
579 LOG(4,("Brooktree: Setting NTSC 720x480 overscanning DVD mode\n"));
668 LOG(4,("Brooktree: I2C errors occurred while setting mode NTSC720\n"));
679 LOG(4,("Brooktree: Setting PAL 800x600 overscanning VCD mode\n"));
778 LOG(4,("Brooktree: I2C errors occurred while setting mode PAL800 OS\n"));
789 LOG(4,("Brooktree: Setting NTSC 640x480 overscanning VCD mode\n"));
872 LOG(4,("Brooktree: I2C errors occurred while setting mode NTSC640 OS\n"));
998 static uint8 BT_setup_hphase(uint8 mode)
1042 switch (mode)
1054 //Vsync offset reg. does not exist on CX: mode is checked and OK.
1223 * mode is programmed for the TVout chip. This means that disabling the use
1228 /* (should prevent BT for being 'overclocked' by RIVA in VGA-only mode...) */
1335 uint32 mode = ((target.timing.h_display) | ((target.timing.v_display) << 16));
1337 switch (mode)
1432 target->timing.v_total = 556; //Above 525 because mode scales down
1454 target->timing.v_total = 686; //Above 525 because mode scales down
1476 target->timing.v_total = 571; //Below 625 because mode scales up
1499 target->timing.v_total = 696; //Above 625 because mode scales down
1513 target->timing.v_total = 525; //BT V_LINESI (== 525: 1:1 scaled mode)
1534 target->timing.v_total = 625; //BT V_LINESI (== 625: 1:1 scaled mode)
1556 target->timing.v_total = 525; //CH V_TOTAL (== 525: 1:1 scaled mode)
1567 target->timing.v_total = 625; //BT V_LINESI (== 625: 1:1 scaled mode)
1585 * so non dualhead-mode-dependant, and not 'fixed' CRTC1! */
1615 * so non dualhead-mode-dependant, and not 'fixed' CRTC1! */
1635 /* fixme if needed: we _could_ setup a TVout mode and apply the testsignal here... */
1638 //set mode (selecting PAL/NTSC according to board wiring for example) etc, then:
1654 /* preset new TVout mode */
1661 /* (pre)set TV mode */
1703 /* disable Macro mode */
1723 /* update the GPU CRTC timing for the requested mode */
1729 * so non dualhead-mode-dependant, and not 'fixed' CRTC1! */
1745 /* now set GPU CRTC to slave mode */