Searched refs:CR2W (Results 1 – 4 of 4) sorted by relevance
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_crtc2.c | 32 CR2W(DATACTL, (CR2R(DATACTL) & ~0x00000010)); in g400_crtc2_set_timing() 35 CR2W(CTL, (CR2R(CTL) & ~0x02001000)); in g400_crtc2_set_timing() 38 CR2W(HPARAM, ((((target.timing.h_display - 8) & 0x0fff) << 16) | in g400_crtc2_set_timing() 40 CR2W(HSYNC, ((((target.timing.h_sync_end - 8) & 0x0fff) << 16) | in g400_crtc2_set_timing() 42 CR2W(VPARAM, ((((target.timing.v_display - 1) & 0x0fff) << 16) | in g400_crtc2_set_timing() 44 CR2W(VSYNC, ((((target.timing.v_sync_end - 1) & 0x0fff) << 16) | in g400_crtc2_set_timing() 49 CR2W(PRELOAD, ((((target.timing.v_sync_start - 1) & 0x0fff) << 16) | in g400_crtc2_set_timing() 55 CR2W(MISC, temp); in g400_crtc2_set_timing() 80 CR2W(DATACTL, (CR2R(DATACTL) & ~0x00000010)); in g400_crtc2_set_timing() 86 CR2W(DATACTL, (CR2R(DATACTL) | 0x00000010)); in g400_crtc2_set_timing() [all …]
|
H A D | mga_maven.c | 280 CR2W(CTL, (CR2R(CTL) | 0x08)); /* disable the VIDPLL */ in g450_g550_maven_set_vid_pll() 281 CR2W(CTL, (CR2R(CTL) | 0x06)); /* select the VIDPLL */ in g450_g550_maven_set_vid_pll() 297 CR2W(CTL, (CR2R(CTL) & ~0x08)); /* enable the VIDPLL */ in g450_g550_maven_set_vid_pll() 479 CR2W(CTL, (CR2R(CTL) | 0x06)); /* select the VIDPLL */ in gx50_maven_check_vid_pll() 518 CR2W(CTL, (CR2R(CTL) | 0x08)); /* disable the VIDPLL */ in gx50_maven_check_vid_pll_range() 536 CR2W(CTL, (CR2R(CTL) & ~0x08)); /* enable the VIDPLL */ in gx50_maven_check_vid_pll_range() 555 CR2W(CTL, (CR2R(CTL) & ~0x08)); /* enable the VIDPLL */ in gx50_maven_check_vid_pll_range()
|
H A D | mga_general.c | 598 CR2W(DATACTL,0x00000000); in g400_general_powerup() 755 CR2W(DATACTL,0x00000000); in g450_general_powerup() 815 if (si->ps.secondary_head) CR2W(CTL,(CR2R(CTL)&0xffe00779)|0xD0000002); in gx00_general_dac_select() 827 if (si->ps.secondary_head) CR2W(CTL,(CR2R(CTL)&0x2fe00779)|0x4|(0x1<<20)); in gx00_general_dac_select() 845 CR2W(CTL,(CR2R(CTL)&0x2de00779)|0x6|(0x0<<20)); in gx00_general_dac_select() 863 CR2W(CTL,(CR2R(CTL)&0x2de00779)|0x6|(0x1<<20)); in gx00_general_dac_select()
|
/haiku/headers/private/graphics/matrox/ |
H A D | mga_macros.h | 346 #define CR2W(A,B) (MGA_REG32(MGACR2_##A)=B) macro
|