/haiku/src/add-ons/accelerants/radeon/ |
H A D | multimon.c | 16 void Radeon_DetectMultiMode( virtual_card *vc, display_mode *mode ) in Radeon_DetectMultiMode() argument 18 (void)vc; in Radeon_DetectMultiMode() 54 void Radeon_VerifyMultiMode( virtual_card *vc, shared_info *si, display_mode *mode ) in Radeon_VerifyMultiMode() argument 58 int num_usable_crtcs = vc->assigned_crtc[0] && si->crtc[0].chosen_displays != dd_none; in Radeon_VerifyMultiMode() 61 num_usable_crtcs += vc->assigned_crtc[1] && si->crtc[1].chosen_displays != dd_none; in Radeon_VerifyMultiMode() 76 void Radeon_HideMultiMode( virtual_card *vc, display_mode *mode ) in Radeon_HideMultiMode() argument 78 (void) vc; in Radeon_HideMultiMode() 90 virtual_card *vc = ai->vc; in Radeon_InitMultiModeVars() local 95 vc->eff_width = mode->timing.h_display; in Radeon_InitMultiModeVars() 96 vc->eff_height = mode->timing.v_display; in Radeon_InitMultiModeVars() [all …]
|
H A D | Cursor.c | 37 virtual_card *vc = ai->vc; in SET_CURSOR_SHAPE() local 38 uint8 *fb_cursor = vc->cursor.data; in SET_CURSOR_SHAPE() 50 vc->cursor.hot_x = hot_x; in SET_CURSOR_SHAPE() 51 vc->cursor.hot_y = hot_y; in SET_CURSOR_SHAPE() 72 virtual_card *vc = ai->vc; in MOVE_CURSOR() local 81 hds = vc->mode.h_display_start; in MOVE_CURSOR() 82 vds = vc->mode.v_display_start; in MOVE_CURSOR() 85 if (x >= vc->mode.virtual_width) in MOVE_CURSOR() 86 x = vc->mode.virtual_width - 1; in MOVE_CURSOR() 87 if (y >= vc->mode.virtual_height) in MOVE_CURSOR() [all …]
|
H A D | SetDisplayMode.c | 109 virtual_card *vc = ai->vc; in Radeon_SetMode() local 189 &si->pll, tv_params, vc->tv_standard, internal_tv_encoder, in Radeon_SetMode() 197 vc->bpp = bpp; in Radeon_SetMode() 198 vc->datatype = format; in Radeon_SetMode() 228 crtc->crtc_idx, internal_tv_encoder, vc->tv_standard, disp_devices ); in Radeon_SetMode() 350 virtual_card *vc = ai->vc; in SET_DISPLAY_MODE() local 371 Radeon_DetectMultiMode( vc, &mode ); in SET_DISPLAY_MODE() 375 if( memcmp( &mode, &vc->mode, sizeof( display_mode )) == 0 && in SET_DISPLAY_MODE() 376 !vc->enforce_mode_change ) { in SET_DISPLAY_MODE() 383 vc->enforce_mode_change = false; in SET_DISPLAY_MODE() [all …]
|
H A D | crtc.c | 72 virtual_card *vc = ai->vc; in Radeon_CalcCRTCRegisters() local 78 hsync_fudge = Radeon_GetHSyncFudge( crtc, vc->datatype ); in Radeon_CalcCRTCRegisters() 85 | (vc->datatype << 8); in Radeon_CalcCRTCRegisters() 89 | (vc->datatype << 8) in Radeon_CalcCRTCRegisters() 122 values->crtc_pitch = Radeon_RoundVWidth( mode->virtual_width, vc->bpp ) / 8; in Radeon_CalcCRTCRegisters() 133 virtual_card *vc = ai->vc; in moveOneDisplay() local 136 offset = (vc->mode.v_display_start + crtc->rel_y) * vc->pitch + in moveOneDisplay() 137 (vc->mode.h_display_start + crtc->rel_x) * vc->bpp + in moveOneDisplay() 138 vc->fb_offset; in moveOneDisplay() 150 virtual_card *vc = ai->vc; in Radeon_MoveDisplay() local [all …]
|
H A D | settings.cpp | 28 void Radeon_ReadSettings( virtual_card *vc ) in Radeon_ReadSettings() argument 33 vc->swap_displays = false; in Radeon_ReadSettings() 34 vc->use_laptop_panel = false; in Radeon_ReadSettings() 35 vc->tv_standard = ts_ntsc; in Radeon_ReadSettings() 55 settings.FindBool( "SwapDisplays", &vc->swap_displays ); in Radeon_ReadSettings() 56 settings.FindBool( "UseLaptopPanel", &vc->use_laptop_panel ); in Radeon_ReadSettings() 60 vc->tv_standard = (tv_standard_e)tmp; in Radeon_ReadSettings() 63 void Radeon_WriteSettings( virtual_card *vc ) in Radeon_WriteSettings() argument 83 settings.AddBool( "SwapDisplays", vc->swap_displays ); in Radeon_WriteSettings() 84 settings.AddBool( "UseLaptopPanel", vc->use_laptop_panel ); in Radeon_WriteSettings() [all …]
|
H A D | Acceleration.c | 27 virtual_card *vc = ai->vc; in SCREEN_TO_SCREEN_BLIT_DMA() local 42 | (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT) in SCREEN_TO_SCREEN_BLIT_DMA() 66 virtual_card *vc = ai->vc; in SCREEN_TO_SCREEN_BLIT_PIO() local 73 OUTREG(ai->regs, RADEON_DP_GUI_MASTER_CNTL, (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT in SCREEN_TO_SCREEN_BLIT_PIO() 118 virtual_card *vc = ai->vc; in FILL_RECTANGLE_DMA() local 133 | (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT) in FILL_RECTANGLE_DMA() 161 virtual_card *vc = ai->vc; in FILL_RECTANGLE_PIO() local 166 OUTREG(ai->regs, RADEON_DP_GUI_MASTER_CNTL, ((vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT) in FILL_RECTANGLE_PIO() 194 virtual_card *vc = ai->vc; in INVERT_RECTANGLE_DMA() local 210 | (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT) in INVERT_RECTANGLE_DMA() [all …]
|
H A D | GetModeInfo.c | 21 virtual_card *vc = ai->vc; in GET_DISPLAY_MODE() local 26 *mode = vc->mode; in GET_DISPLAY_MODE() 32 Radeon_HideMultiMode(vc, mode); in GET_DISPLAY_MODE() 40 virtual_card *vc = ai->vc; in GET_FRAME_BUFFER_CONFIG() local 45 *afb = vc->fbc; in GET_FRAME_BUFFER_CONFIG() 82 if ((ai->vc->connected_displays & (dd_dvi | dd_dvi_ext | dd_lvds)) == 0) in radeon_get_preferred_display_mode() 132 virtual_card *vc = ai->vc; in ACCELERANT_RETRACE_SEMAPHORE() local 146 if( vc->used_crtc[0] ) in ACCELERANT_RETRACE_SEMAPHORE()
|
H A D | monitor_routing.c | 85 if( ai->vc->used_crtc[0] ) in Radeon_CalcMonitorRouting() 90 if( ai->vc->used_crtc[1] ) in Radeon_CalcMonitorRouting() 96 controlled_devices = ai->vc->controlled_displays; in Radeon_CalcMonitorRouting() 484 if( ai->vc->used_crtc[0] ) { in Radeon_ProgramMonitorRouting() 490 if( ai->vc->used_crtc[1] ) { in Radeon_ProgramMonitorRouting() 501 if( ai->vc->assigned_crtc[0] ) { in Radeon_ProgramMonitorRouting() 506 if( ai->vc->used_crtc[0] ) { in Radeon_ProgramMonitorRouting() 518 if( ai->vc->assigned_crtc[1] ) { in Radeon_ProgramMonitorRouting() 523 if( ai->vc->used_crtc[1] ) { in Radeon_ProgramMonitorRouting() 549 virtual_card *vc = ai->vc; in assignDefaultMonitorRoute() local [all …]
|
H A D | overlay_management.c | 71 virtual_card *vc = ai->vc; in ALLOCATE_OVERLAY_BUFFER() local 155 node->next = vc->overlay_buffers; in ALLOCATE_OVERLAY_BUFFER() 160 vc->overlay_buffers = node; in ALLOCATE_OVERLAY_BUFFER() 179 virtual_card *vc = ai->vc; in RELEASE_OVERLAY_BUFFER() local 213 vc->overlay_buffers = node->next; in RELEASE_OVERLAY_BUFFER() 296 virtual_card *vc = ai->vc; in ALLOCATE_OVERLAY() local 307 vc->uses_overlay = true; in ALLOCATE_OVERLAY() 316 virtual_card *vc = ai->vc; in RELEASE_OVERLAY() local 331 vc->uses_overlay = false; in RELEASE_OVERLAY()
|
H A D | radeon_accelerant.h | 43 virtual_card *vc; // associated virtual card member 84 void Radeon_HideMultiMode( virtual_card *vc, display_mode *mode ); 85 void Radeon_DetectMultiMode( virtual_card *vc, display_mode *mode ); 86 void Radeon_VerifyMultiMode( virtual_card *vc, shared_info *si, display_mode *mode ); 88 status_t Radeon_CheckMultiMonTunnel( virtual_card *vc, display_mode *mode, 127 void Radeon_ReadSettings( virtual_card *vc ); 128 void Radeon_WriteSettings( virtual_card *vc );
|
H A D | palette.c | 61 virtual_card *vc = ai->vc; in SET_INDEXED_COLORS() local 67 if( vc->mode.space != B_CMAP8 ) { in SET_INDEXED_COLORS() 72 if( vc->used_crtc[0] ) in SET_INDEXED_COLORS() 74 if( vc->used_crtc[1] ) in SET_INDEXED_COLORS()
|
H A D | InitAccelerant.c | 50 ai->virtual_card_area = clone_area( "Radeon virtual card", (void **)&ai->vc, B_ANY_ADDRESS, in init_common() 134 ai->vc = 0; in uninit_common() 149 virtual_card *vc; in INIT_ACCELERANT() local 159 vc = ai->vc; in INIT_ACCELERANT() 167 Radeon_ReadSettings( vc ); in INIT_ACCELERANT() 199 vc->overlay_buffers = NULL; in INIT_ACCELERANT()
|
H A D | overlay.c | 316 virtual_card *vc = ai->vc; in Radeon_SetColourKey() local 325 rgb32 = colourKey2RGB32( vc->mode.space, in Radeon_SetColourKey() 327 mask32 = colourKey2RGB32( vc->mode.space, in Radeon_SetColourKey() 532 virtual_card *vc = ai->vc; in Radeon_ShowOverlay() local 616 dest_left -= vc->mode.h_display_start + crtc->rel_x; in Radeon_ShowOverlay() 617 dest_top -= vc->mode.v_display_start + crtc->rel_y; in Radeon_ShowOverlay() 618 dest_right -= vc->mode.h_display_start + crtc->rel_x; in Radeon_ShowOverlay() 619 dest_bottom -= vc->mode.v_display_start + crtc->rel_y; in Radeon_ShowOverlay() 923 ai->si->active_overlay.h_display_start = vc->mode.h_display_start; in Radeon_ShowOverlay() 924 ai->si->active_overlay.v_display_start = vc->mode.v_display_start; in Radeon_ShowOverlay() [all …]
|
H A D | CP.h | 92 vc->state_buffer_idx, vc->state_buffer_size, true ); \
|
H A D | dpms.c | 25 virtual_card *vc = ai->vc; in SET_DPMS_MODE() local 30 if( vc->used_crtc[0] ) in SET_DPMS_MODE() 32 if( vc->used_crtc[0] ) in SET_DPMS_MODE() 52 return Radeon_GetDPMS( ai, ai->vc->used_crtc[0] ? 0 : 1 ); in DPMS_MODE()
|
H A D | ProposeDisplayMode.c | 545 if( (ai->vc->connected_displays & (dd_dvi | dd_dvi_ext | dd_lvds)) != 0 ) { in addFPMode() 630 virtual_card *vc = ai->vc; in PROPOSE_DISPLAY_MODE() local 638 result = Radeon_CheckMultiMonTunnel( vc, target, low, high, &isTunneled ); in PROPOSE_DISPLAY_MODE() 644 Radeon_DetectMultiMode( vc, &tmp_target ); in PROPOSE_DISPLAY_MODE() 652 ai, Radeon_DifferentPorts( &tmp_target ), vc->use_laptop_panel ); in PROPOSE_DISPLAY_MODE() 655 Radeon_DetectMultiMode( vc, target ); in PROPOSE_DISPLAY_MODE() 656 Radeon_VerifyMultiMode( vc, si, target ); in PROPOSE_DISPLAY_MODE() 695 Radeon_HideMultiMode( vc, target ); in PROPOSE_DISPLAY_MODE()
|
H A D | monitor_detection.c | 913 display_device_e controlled_displays = ai->vc->controlled_displays; in Radeon_DetectDisplays() 1129 ai->vc->connected_displays = displays; in Radeon_DetectDisplays()
|
/haiku/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | init.c | 283 (void **)&(di->vc), in Radeon_FirstOpen() 294 di->vc->assigned_crtc[0] = true; in Radeon_FirstOpen() 295 di->vc->assigned_crtc[1] = si->num_crtc > 1; in Radeon_FirstOpen() 296 di->vc->controlled_displays = in Radeon_FirstOpen() 299 di->vc->fb_mem_handle = 0; in Radeon_FirstOpen() 300 di->vc->cursor.mem_handle = 0; in Radeon_FirstOpen() 303 di->vc->id = di->virtual_card_area; in Radeon_FirstOpen()
|
H A D | radeon_driver.h | 102 virtual_card *vc; member
|
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_crtc.c | 416 uint8 mp, vc, hiprilvl, maxhipri, prioctl; in gx00_crtc_mem_priority() local 457 vc = (8 * colordepth) / 64; in gx00_crtc_mem_priority() 481 temp = (((((mp * tmclk) + (11 * vc * tpixclk)) / tpixclk) - (vc - 1)) / (8 * vc)) + 1.0; in gx00_crtc_mem_priority() 492 temp = (vc * (tmclk / tpixclk)) + 0.5; in gx00_crtc_mem_priority() 503 vc, tpixclk, tmclk)); in gx00_crtc_mem_priority()
|
/haiku/src/kits/ |
H A D | CountryFlags.rdef | 2698 resource(232,"flag-vc") #'VICN' array {
|