Searched refs:vc (Results 1 - 20 of 20) sorted by relevance

/haiku/src/add-ons/accelerants/radeon/
H A Dsettings.cpp28 void Radeon_ReadSettings( virtual_card *vc )
33 vc->swap_displays = false;
34 vc->use_laptop_panel = false;
35 vc->tv_standard = ts_ntsc;
55 settings.FindBool( "SwapDisplays", &vc->swap_displays );
56 settings.FindBool( "UseLaptopPanel", &vc->use_laptop_panel );
60 vc->tv_standard = (tv_standard_e)tmp;
63 void Radeon_WriteSettings( virtual_card *vc )
83 settings.AddBool( "SwapDisplays", vc->swap_displays );
84 settings.AddBool( "UseLaptopPanel", vc
[all...]
H A Dmultimon.c16 void Radeon_DetectMultiMode( virtual_card *vc, display_mode *mode ) argument
18 (void)vc;
54 void Radeon_VerifyMultiMode( virtual_card *vc, shared_info *si, display_mode *mode ) argument
58 int num_usable_crtcs = vc->assigned_crtc[0] && si->crtc[0].chosen_displays != dd_none;
61 num_usable_crtcs += vc->assigned_crtc[1] && si->crtc[1].chosen_displays != dd_none;
76 void Radeon_HideMultiMode( virtual_card *vc, display_mode *mode ) argument
78 (void) vc;
90 virtual_card *vc = ai->vc; local
95 vc
146 Radeon_CheckMultiMonTunnel( virtual_card *vc, display_mode *mode, const display_mode *low, const display_mode *high, bool *isTunneled ) argument
[all...]
H A DCursor.c37 virtual_card *vc = ai->vc; local
38 uint8 *fb_cursor = vc->cursor.data;
50 vc->cursor.hot_x = hot_x;
51 vc->cursor.hot_y = hot_y;
72 virtual_card *vc = ai->vc; local
81 hds = vc->mode.h_display_start;
82 vds = vc->mode.v_display_start;
85 if (x >= vc
129 virtual_card *vc = ai->vc; local
153 virtual_card *vc = ai->vc; local
222 virtual_card *vc = ai->vc; local
[all...]
H A DSetDisplayMode.c109 virtual_card *vc = ai->vc; local
189 &si->pll, tv_params, vc->tv_standard, internal_tv_encoder,
197 vc->bpp = bpp;
198 vc->datatype = format;
228 crtc->crtc_idx, internal_tv_encoder, vc->tv_standard, disp_devices );
350 virtual_card *vc = ai->vc; local
371 Radeon_DetectMultiMode( vc, &mode );
375 if( memcmp( &mode, &vc
[all...]
H A DGetModeInfo.c21 virtual_card *vc = ai->vc; local
26 *mode = vc->mode;
32 Radeon_HideMultiMode(vc, mode);
40 virtual_card *vc = ai->vc; local
45 *afb = vc->fbc;
82 if ((ai->vc->connected_displays & (dd_dvi | dd_dvi_ext | dd_lvds)) == 0)
132 virtual_card *vc = ai->vc; local
[all...]
H A DAcceleration.c27 virtual_card *vc = ai->vc; local
42 | (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT)
66 virtual_card *vc = ai->vc; local
73 OUTREG(ai->regs, RADEON_DP_GUI_MASTER_CNTL, (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT
118 virtual_card *vc = ai->vc; local
133 | (vc->datatype << RADEON_GMC_DST_DATATYPE_SHIFT)
161 virtual_card *vc local
194 virtual_card *vc = ai->vc; local
244 virtual_card *vc = ai->vc; local
277 virtual_card *vc = ai->vc; local
323 virtual_card *vc = ai->vc; local
415 virtual_card *vc = ai->vc; local
498 virtual_card *vc = ai->vc; local
509 virtual_card *vc = ai->vc; local
[all...]
H A Dcrtc.c72 virtual_card *vc = ai->vc; local
78 hsync_fudge = Radeon_GetHSyncFudge( crtc, vc->datatype );
85 | (vc->datatype << 8);
89 | (vc->datatype << 8)
122 values->crtc_pitch = Radeon_RoundVWidth( mode->virtual_width, vc->bpp ) / 8;
133 virtual_card *vc = ai->vc; local
136 offset = (vc->mode.v_display_start + crtc->rel_y) * vc
150 virtual_card *vc = ai->vc; local
[all...]
H A Dradeon_accelerant.h43 virtual_card *vc; // associated virtual card member in struct:accelerator_info
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 Dpalette.c61 virtual_card *vc = ai->vc; local
67 if( vc->mode.space != B_CMAP8 ) {
72 if( vc->used_crtc[0] )
74 if( vc->used_crtc[1] )
H A Dmonitor_routing.c85 if( ai->vc->used_crtc[0] )
90 if( ai->vc->used_crtc[1] )
96 controlled_devices = ai->vc->controlled_displays;
484 if( ai->vc->used_crtc[0] ) {
490 if( ai->vc->used_crtc[1] ) {
501 if( ai->vc->assigned_crtc[0] ) {
506 if( ai->vc->used_crtc[0] ) {
518 if( ai->vc->assigned_crtc[1] ) {
523 if( ai->vc->used_crtc[1] ) {
549 virtual_card *vc local
653 virtual_card *vc = ai->vc; local
[all...]
H A Doverlay_management.c71 virtual_card *vc = ai->vc; local
155 node->next = vc->overlay_buffers;
160 vc->overlay_buffers = node;
179 virtual_card *vc = ai->vc; local
213 vc->overlay_buffers = node->next;
296 virtual_card *vc = ai->vc; local
307 vc
316 virtual_card *vc = ai->vc; local
[all...]
H A DCP.h92 vc->state_buffer_idx, vc->state_buffer_size, true ); \
H A DInitAccelerant.c50 ai->virtual_card_area = clone_area( "Radeon virtual card", (void **)&ai->vc, B_ANY_ADDRESS,
134 ai->vc = 0;
149 virtual_card *vc; local
159 vc = ai->vc;
167 Radeon_ReadSettings( vc );
199 vc->overlay_buffers = NULL;
H A Doverlay.c316 virtual_card *vc = ai->vc; local
325 rgb32 = colourKey2RGB32( vc->mode.space,
327 mask32 = colourKey2RGB32( vc->mode.space,
532 virtual_card *vc = ai->vc; local
616 dest_left -= vc->mode.h_display_start + crtc->rel_x;
617 dest_top -= vc->mode.v_display_start + crtc->rel_y;
618 dest_right -= vc->mode.h_display_start + crtc->rel_x;
619 dest_bottom -= vc
1036 virtual_card *vc = ai->vc; local
1065 virtual_card *vc = ai->vc; local
[all...]
H A Ddpms.c25 virtual_card *vc = ai->vc; local
30 if( vc->used_crtc[0] )
32 if( vc->used_crtc[0] )
52 return Radeon_GetDPMS( ai, ai->vc->used_crtc[0] ? 0 : 1 );
H A DProposeDisplayMode.c545 if( (ai->vc->connected_displays & (dd_dvi | dd_dvi_ext | dd_lvds)) != 0 ) {
630 virtual_card *vc = ai->vc; local
638 result = Radeon_CheckMultiMonTunnel( vc, target, low, high, &isTunneled );
644 Radeon_DetectMultiMode( vc, &tmp_target );
652 ai, Radeon_DifferentPorts( &tmp_target ), vc->use_laptop_panel );
655 Radeon_DetectMultiMode( vc, target );
656 Radeon_VerifyMultiMode( vc, si, target );
695 Radeon_HideMultiMode( vc, target );
H A Dmonitor_detection.c913 display_device_e controlled_displays = ai->vc->controlled_displays;
1129 ai->vc->connected_displays = displays;
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Dinit.c283 (void **)&(di->vc),
294 di->vc->assigned_crtc[0] = true;
295 di->vc->assigned_crtc[1] = si->num_crtc > 1;
296 di->vc->controlled_displays =
299 di->vc->fb_mem_handle = 0;
300 di->vc->cursor.mem_handle = 0;
303 di->vc->id = di->virtual_card_area;
H A Dradeon_driver.h102 virtual_card *vc; member in struct:device_info
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc.c416 uint8 mp, vc, hiprilvl, maxhipri, prioctl; local
457 vc = (8 * colordepth) / 64;
481 temp = (((((mp * tmclk) + (11 * vc * tpixclk)) / tpixclk) - (vc - 1)) / (8 * vc)) + 1.0;
492 temp = (vc * (tmclk / tpixclk)) + 0.5;
503 vc, tpixclk, tmclk));

Completed in 171 milliseconds