Home
last modified time | relevance | path

Searched refs:v_display (Results 1 – 25 of 89) sorted by relevance

1234

/haiku/src/add-ons/accelerants/skeleton/
H A DProposeDisplayMode.c126 want_same_height = target->timing.v_display == target->virtual_height; in PROPOSE_DISPLAY_MODE()
159 target->timing.v_display==valid_mode_list[i].v_display in PROPOSE_DISPLAY_MODE()
191 …&target->timing.v_display, &target->timing.v_sync_start, &target->timing.v_sync_end, &target->timi… in PROPOSE_DISPLAY_MODE()
201 target_aspect = (target->timing.h_display / ((float)target->timing.v_display)); in PROPOSE_DISPLAY_MODE()
246 (target->timing.v_display == si->ps.p1_timing.v_display)) in PROPOSE_DISPLAY_MODE()
254 (target->timing.v_display == si->ps.p2_timing.v_display)) in PROPOSE_DISPLAY_MODE()
270 (target->timing.v_display > si->ps.p1_timing.v_display)) in PROPOSE_DISPLAY_MODE()
279 (target->timing.v_display > si->ps.p2_timing.v_display)) in PROPOSE_DISPLAY_MODE()
289 if ((target->timing.v_display > target->virtual_height) || want_same_height) in PROPOSE_DISPLAY_MODE()
290 target->virtual_height = target->timing.v_display; in PROPOSE_DISPLAY_MODE()
[all …]
/haiku/src/add-ons/accelerants/via/
H A DProposeDisplayMode.c128 want_same_height = target->timing.v_display == target->virtual_height; in PROPOSE_DISPLAY_MODE()
161 target->timing.v_display==valid_mode_list[i].v_display in PROPOSE_DISPLAY_MODE()
193 …&target->timing.v_display, &target->timing.v_sync_start, &target->timing.v_sync_end, &target->timi… in PROPOSE_DISPLAY_MODE()
203 target_aspect = (target->timing.h_display / ((float)target->timing.v_display)); in PROPOSE_DISPLAY_MODE()
248 (target->timing.v_display == si->ps.p1_timing.v_display)) in PROPOSE_DISPLAY_MODE()
256 (target->timing.v_display == si->ps.p2_timing.v_display)) in PROPOSE_DISPLAY_MODE()
272 (target->timing.v_display > si->ps.p1_timing.v_display)) in PROPOSE_DISPLAY_MODE()
281 (target->timing.v_display > si->ps.p2_timing.v_display)) in PROPOSE_DISPLAY_MODE()
291 if ((target->timing.v_display > target->virtual_height) || want_same_height) in PROPOSE_DISPLAY_MODE()
292 target->virtual_height = target->timing.v_display; in PROPOSE_DISPLAY_MODE()
[all …]
/haiku/src/add-ons/accelerants/common/
H A Dvalidate_display_mode.cpp105 if (mode.timing.v_display < constraints.min_v_display) { in sanitize_display_mode()
107 __func__, mode.timing.v_display, constraints.min_v_display); in sanitize_display_mode()
108 mode.timing.v_display = constraints.min_v_display; in sanitize_display_mode()
109 } else if (mode.timing.v_display > constraints.max_v_display) { in sanitize_display_mode()
111 __func__, mode.timing.v_display, constraints.max_v_display); in sanitize_display_mode()
112 mode.timing.v_display = constraints.max_v_display; in sanitize_display_mode()
123 sanitize_timing(mode.timing.v_display, mode.timing.v_sync_start, in sanitize_display_mode()
149 if (mode.timing.v_display < low.timing.v_display in is_display_mode_within_bounds()
150 || mode.timing.v_display > high.timing.v_display in is_display_mode_within_bounds()
/haiku/src/add-ons/accelerants/radeon/
H A DProposeDisplayMode.c171 want_same_height = target->timing.v_display == target->virtual_height; in Radeon_ProposeDisplayMode()
183 if( target->timing.v_display > flatpanel->panel_yres ) in Radeon_ProposeDisplayMode()
184 target->timing.v_display = flatpanel->panel_yres; in Radeon_ProposeDisplayMode()
194 ( target->timing.v_display != flatpanel->panel_yres ) ) in Radeon_ProposeDisplayMode()
284 int v_display, v_sync_start, v_sync_wid, v_total; in Radeon_ProposeDisplayMode() local
286 v_display = target->timing.v_display; in Radeon_ProposeDisplayMode()
292 if( v_display < 200 ) in Radeon_ProposeDisplayMode()
293 v_display = 200; in Radeon_ProposeDisplayMode()
295 if( v_display > V_2PIX(RADEON_CRTC_V_DISP >> RADEON_CRTC_V_DISP_SHIFT) - 5) in Radeon_ProposeDisplayMode()
296 v_display = V_2PIX(RADEON_CRTC_V_DISP >> RADEON_CRTC_V_DISP_SHIFT) - 5; in Radeon_ProposeDisplayMode()
[all …]
H A DSetDisplayMode.c141 if( mode->timing.v_display > fp_info->panel_yres ) in Radeon_SetMode()
142 mode->timing.v_display = fp_info->panel_yres; in Radeon_SetMode()
148 if( mode->timing.v_display < fp_info->panel_yres ) in Radeon_SetMode()
149 mode->timing.v_display = fp_info->panel_yres; in Radeon_SetMode()
161 mode->timing.v_total = mode->timing.v_display + fp_info->v_blank; in Radeon_SetMode()
162 mode->timing.v_sync_start = mode->timing.v_display + fp_info->v_over_plus; in Radeon_SetMode()
173 if( mode->timing.v_display > 768 ) in Radeon_SetMode()
174 mode->timing.v_display = 768; in Radeon_SetMode()
358 SHOW_FLOW( 2, "width=%d, height=%d", mode.timing.h_display, mode.timing.v_display ); in SET_DISPLAY_MODE()
/haiku/src/add-ons/accelerants/neomagic/
H A DProposeDisplayMode.c79 want_same_height = target->timing.v_display == target->virtual_height; in PROPOSE_DISPLAY_MODE()
112 target->timing.v_display==valid_mode_list[i].v_display in PROPOSE_DISPLAY_MODE()
151 …&target->timing.v_display, &target->timing.v_sync_start, &target->timing.v_sync_end, &target->timi… in PROPOSE_DISPLAY_MODE()
162 if ((target->timing.v_display > target->virtual_height) || want_same_height) in PROPOSE_DISPLAY_MODE()
163 target->virtual_height = target->timing.v_display; in PROPOSE_DISPLAY_MODE()
202 (target->timing.v_display < low->timing.v_display) || in PROPOSE_DISPLAY_MODE()
203 (target->timing.v_display > high->timing.v_display) || in PROPOSE_DISPLAY_MODE()
213 if ((target->timing.v_display < low->timing.v_display) || in PROPOSE_DISPLAY_MODE()
214 (target->timing.v_display > high->timing.v_display)) in PROPOSE_DISPLAY_MODE()
254 if (target->virtual_height < target->timing.v_display) in PROPOSE_DISPLAY_MODE()
H A DCursor.c47 uint16 v_display = si->dm.timing.v_display; /* local copy needed for flatpanel */ in MOVE_CURSOR() local
65 if (v_display > si->ps.panel_height) v_display = si->ps.panel_height; in MOVE_CURSOR()
79 if (y >= (v_display + vds)) in MOVE_CURSOR()
80 vds = y - v_display + 1; in MOVE_CURSOR()
H A DSetDisplayMode.c172 uint16 v_display = si->dm.timing.v_display; /* local copy needed for flatpanel */ in MOVE_DISPLAY() local
200 if (v_display > si->ps.panel_height) v_display = si->ps.panel_height; in MOVE_DISPLAY()
206 if ((v_display + v_display_start) > si->dm.virtual_height) in MOVE_DISPLAY()
/haiku/src/add-ons/accelerants/matrox/
H A DProposeDisplayMode.c134 want_same_height = target->timing.v_display == target->virtual_height; in PROPOSE_DISPLAY_MODE()
160 …&target->timing.v_display, &target->timing.v_sync_start, &target->timing.v_sync_end, &target->timi… in PROPOSE_DISPLAY_MODE()
171 if ((target->timing.v_display > target->virtual_height) || want_same_height) in PROPOSE_DISPLAY_MODE()
172 target->virtual_height = target->timing.v_display; in PROPOSE_DISPLAY_MODE()
211 (target->timing.v_display < low->timing.v_display) || in PROPOSE_DISPLAY_MODE()
212 (target->timing.v_display > high->timing.v_display) || in PROPOSE_DISPLAY_MODE()
222 if ((target->timing.v_display < low->timing.v_display) || in PROPOSE_DISPLAY_MODE()
223 (target->timing.v_display > high->timing.v_display)) in PROPOSE_DISPLAY_MODE()
265 if (target->virtual_height < target->timing.v_display) in PROPOSE_DISPLAY_MODE()
375 (target->timing.v_display <= 768)) in PROPOSE_DISPLAY_MODE()
[all …]
/haiku/src/add-ons/accelerants/ati/
H A Dmode.cpp35 if (mode.timing.h_display == width && mode.timing.v_display == height) { in FindDisplayMode()
66 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory()
67 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory()
90 && vesaMode.height == mode.timing.v_display in GetVesaModeNumber()
144 if (mode->timing.h_display == 640 && mode->timing.v_display < 480) in IsModeUsable()
155 && mode->timing.v_display == 350) in IsModeUsable()
234 target->timing.h_display, target->timing.v_display, in ProposeDisplayMode()
245 && target->timing.v_display == mode.timing.v_display in ProposeDisplayMode()
281 mode.timing.h_display, mode.timing.v_display, in SetDisplayMode()
290 mode.timing.v_display, in SetDisplayMode()
[all …]
/haiku/src/add-ons/accelerants/via/engine/
H A Dcrtc2.c144 ((uint16)((si->ps.p2_timing.v_sync_start / ((float)si->ps.p2_timing.v_display)) * in eng_crtc2_set_timing()
145 target.timing.v_display)); in eng_crtc2_set_timing()
148 ((uint16)((si->ps.p2_timing.v_sync_end / ((float)si->ps.p2_timing.v_display)) * in eng_crtc2_set_timing()
149 target.timing.v_display)); in eng_crtc2_set_timing()
152 ((uint16)((si->ps.p2_timing.v_total / ((float)si->ps.p2_timing.v_display)) * in eng_crtc2_set_timing()
153 target.timing.v_display)) - 1; in eng_crtc2_set_timing()
155 if (target.timing.v_sync_start == target.timing.v_display) in eng_crtc2_set_timing()
173 vdisp_e = target.timing.v_display - 1; in eng_crtc2_set_timing()
180 linecomp = target.timing.v_display; in eng_crtc2_set_timing()
307 iscale_y = (((1 << 12) * target.timing.v_display) / si->ps.p2_timing.v_display); in eng_crtc2_set_timing()
[all …]
H A Dcrtc.c148 ((uint16)((si->ps.p1_timing.v_sync_start / ((float)si->ps.p1_timing.v_display)) * in eng_crtc_set_timing()
149 target.timing.v_display)); in eng_crtc_set_timing()
152 ((uint16)((si->ps.p1_timing.v_sync_end / ((float)si->ps.p1_timing.v_display)) * in eng_crtc_set_timing()
153 target.timing.v_display)); in eng_crtc_set_timing()
156 ((uint16)((si->ps.p1_timing.v_total / ((float)si->ps.p1_timing.v_display)) * in eng_crtc_set_timing()
157 target.timing.v_display)) - 1; in eng_crtc_set_timing()
159 if (target.timing.v_sync_start == target.timing.v_display) in eng_crtc_set_timing()
177 vdisp_e = target.timing.v_display - 1; in eng_crtc_set_timing()
313 iscale_y = (((1 << 12) * target.timing.v_display) / si->ps.p1_timing.v_display); in eng_crtc_set_timing()
326 DACW(FP_VVALID_E, (si->ps.p1_timing.v_display - 1)); in eng_crtc_set_timing()
[all …]
H A Dinfo.c219 si->ps.p1_timing.v_display = 0; in detect_panels()
222 si->ps.p2_timing.v_display = 0; in detect_panels()
264 si->ps.p1_timing.v_display = height; in detect_panels()
277 si->ps.p2_timing.v_display = height; in detect_panels()
291 si->ps.p1_timing.v_display = height; in detect_panels()
305 si->ps.p2_timing.v_display = height; in detect_panels()
315 (si->ps.p1_timing.v_display == si->ps.p2_timing.v_display)) in detect_panels()
326 si->ps.p1_timing.v_display = 0; in detect_panels()
337 si->ps.p1_timing.v_display = 0; in detect_panels()
346 si->ps.p2_timing.v_display = 0; in detect_panels()
[all …]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dcrtc2.c144 ((uint16)((si->ps.p2_timing.v_sync_start / ((float)si->ps.p2_timing.v_display)) * in eng_crtc2_set_timing()
145 target.timing.v_display)); in eng_crtc2_set_timing()
148 ((uint16)((si->ps.p2_timing.v_sync_end / ((float)si->ps.p2_timing.v_display)) * in eng_crtc2_set_timing()
149 target.timing.v_display)); in eng_crtc2_set_timing()
152 ((uint16)((si->ps.p2_timing.v_total / ((float)si->ps.p2_timing.v_display)) * in eng_crtc2_set_timing()
153 target.timing.v_display)) - 1; in eng_crtc2_set_timing()
155 if (target.timing.v_sync_start == target.timing.v_display) in eng_crtc2_set_timing()
173 vdisp_e = target.timing.v_display - 1; in eng_crtc2_set_timing()
180 linecomp = target.timing.v_display; in eng_crtc2_set_timing()
307 iscale_y = (((1 << 12) * target.timing.v_display) / si->ps.p2_timing.v_display); in eng_crtc2_set_timing()
[all …]
H A Dcrtc.c158 ((uint16)((si->ps.p1_timing.v_sync_start / ((float)si->ps.p1_timing.v_display)) * in eng_crtc_set_timing()
159 target.timing.v_display)); in eng_crtc_set_timing()
162 ((uint16)((si->ps.p1_timing.v_sync_end / ((float)si->ps.p1_timing.v_display)) * in eng_crtc_set_timing()
163 target.timing.v_display)); in eng_crtc_set_timing()
166 ((uint16)((si->ps.p1_timing.v_total / ((float)si->ps.p1_timing.v_display)) * in eng_crtc_set_timing()
167 target.timing.v_display)) - 1; in eng_crtc_set_timing()
169 if (target.timing.v_sync_start == target.timing.v_display) in eng_crtc_set_timing()
187 vdisp_e = target.timing.v_display - 1; in eng_crtc_set_timing()
194 linecomp = target.timing.v_display; in eng_crtc_set_timing()
324 iscale_y = (((1 << 12) * target.timing.v_display) / si->ps.p1_timing.v_display); in eng_crtc_set_timing()
[all …]
/haiku/src/add-ons/accelerants/nvidia/
H A DProposeDisplayMode.c110 } else if( mode->virtual_height == 2 * mode->timing.v_display ) { in Haiku_DetectTranslateMultiMode()
238 bool want_same_height = target->timing.v_display == target->virtual_height; in PROPOSE_DISPLAY_MODE()
265 &target->timing.h_total, &target->timing.v_display, in PROPOSE_DISPLAY_MODE()
280 target_aspect = (target->timing.h_display / ((float)target->timing.v_display)); in PROPOSE_DISPLAY_MODE()
328 || target->timing.v_display > si->ps.crtc1_screen.timing.v_display) { in PROPOSE_DISPLAY_MODE()
335 || target->timing.v_display > si->ps.crtc2_screen.timing.v_display) { in PROPOSE_DISPLAY_MODE()
345 if (target->timing.v_display > target->virtual_height || want_same_height) in PROPOSE_DISPLAY_MODE()
346 target->virtual_height = target->timing.v_display; in PROPOSE_DISPLAY_MODE()
380 if (target->timing.v_display < low->timing.v_display in PROPOSE_DISPLAY_MODE()
381 || target->timing.v_display > high->timing.v_display in PROPOSE_DISPLAY_MODE()
[all …]
/haiku/src/add-ons/accelerants/intel_810/
H A Dmode.cpp28 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory()
29 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory()
78 if (mode->timing.h_display == 640 && mode->timing.v_display < 480) in IsModeUsable()
144 target->timing.h_display, target->timing.v_display, in ProposeDisplayMode()
155 && target->timing.v_display == mode.timing.v_display in ProposeDisplayMode()
192 mode.timing.h_display, mode.timing.v_display, in SetDisplayMode()
200 mode.timing.v_display, in SetDisplayMode()
234 || mode.timing.v_display + verticalStart > mode.virtual_height) in MoveDisplay()
/haiku/src/add-ons/accelerants/3dfx/
H A Dmode.cpp28 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory()
29 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory()
84 if (mode->timing.h_display == 640 && mode->timing.v_display < 480) in IsModeUsable()
141 target->timing.h_display, target->timing.v_display, in ProposeDisplayMode()
159 && target->timing.v_display == mode.timing.v_display in ProposeDisplayMode()
195 mode.timing.h_display, mode.timing.v_display, in SetDisplayMode()
203 mode.timing.v_display, in SetDisplayMode()
237 || mode.timing.v_display + verticalStart > mode.virtual_height) in MoveDisplay()
H A D3dfx_mode.cpp230 int vDisp_e = mode.timing.v_display - 1; in TDFX_SetDisplayMode()
287 uint8 miscOutReg = 0x0f | (mode.timing.v_display < 400 ? 0xa0 in TDFX_SetDisplayMode()
288 : mode.timing.v_display < 480 ? 0x60 in TDFX_SetDisplayMode()
289 : mode.timing.v_display < 768 ? 0xe0 : 0x20); in TDFX_SetDisplayMode()
315 && mode.timing.h_display == 1280 && mode.timing.v_display == 1024) in TDFX_SetDisplayMode()
318 uint32 screenSize = mode.timing.h_display | (mode.timing.v_display << 12); in TDFX_SetDisplayMode()
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_crtc.c66 drain = si->dm.timing.h_display * si->dm.timing.v_display * bytes_per_pixel; in nv_crtc_update_fifo()
270 ((uint16)((si->ps.p1_timing.v_sync_start / ((float)si->ps.p1_timing.v_display)) * in nv_crtc_set_timing()
271 target.timing.v_display)); in nv_crtc_set_timing()
274 ((uint16)((si->ps.p1_timing.v_sync_end / ((float)si->ps.p1_timing.v_display)) * in nv_crtc_set_timing()
275 target.timing.v_display)); in nv_crtc_set_timing()
278 ((uint16)((si->ps.p1_timing.v_total / ((float)si->ps.p1_timing.v_display)) * in nv_crtc_set_timing()
279 target.timing.v_display)) - 1; in nv_crtc_set_timing()
282 if (target.timing.v_sync_start == target.timing.v_display) in nv_crtc_set_timing()
291 if (target.timing.v_sync_start > (target.timing.v_display + 1)) { in nv_crtc_set_timing()
313 vdisp_e = target.timing.v_display - 1; in nv_crtc_set_timing()
[all …]
H A Dnv_crtc2.c66 drain = si->dm.timing.h_display * si->dm.timing.v_display * bytes_per_pixel; in nv_crtc2_update_fifo()
256 ((uint16)((si->ps.p2_timing.v_sync_start / ((float)si->ps.p2_timing.v_display)) * in nv_crtc2_set_timing()
257 target.timing.v_display)); in nv_crtc2_set_timing()
260 ((uint16)((si->ps.p2_timing.v_sync_end / ((float)si->ps.p2_timing.v_display)) * in nv_crtc2_set_timing()
261 target.timing.v_display)); in nv_crtc2_set_timing()
264 ((uint16)((si->ps.p2_timing.v_total / ((float)si->ps.p2_timing.v_display)) * in nv_crtc2_set_timing()
265 target.timing.v_display)) - 1; in nv_crtc2_set_timing()
268 if (target.timing.v_sync_start == target.timing.v_display) in nv_crtc2_set_timing()
277 if (target.timing.v_sync_start > (target.timing.v_display + 1)) { in nv_crtc2_set_timing()
299 vdisp_e = target.timing.v_display - 1; in nv_crtc2_set_timing()
[all …]
/haiku/src/add-ons/accelerants/s3/
H A Dmode.cpp37 int vDisp_e = mode.timing.v_display - 1; in InitCrtcTimingValues()
129 if (mode.timing.h_display == width && mode.timing.v_display == height) { in FindDisplayMode()
160 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory()
161 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory()
210 if (mode->timing.h_display == 640 && mode->timing.v_display < 480) in IsModeUsable()
220 || mode->timing.v_display > si.panelY)) { in IsModeUsable()
301 target->timing.h_display, target->timing.v_display, in ProposeDisplayMode()
312 && target->timing.v_display == mode.timing.v_display in ProposeDisplayMode()
363 mode.timing.h_display, mode.timing.v_display, in SetDisplayMode()
371 mode.timing.v_display, in SetDisplayMode()
[all …]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_maventv.c743 tv_target.timing.v_total = (tv_target.timing.v_display / uscan_fact); in maventv_init()
748 diff = tv_target.timing.v_total - tv_target.timing.v_display; in maventv_init()
749 tv_target.timing.v_sync_start = tv_target.timing.v_display + ((diff * 7) / 20); in maventv_init()
756 diff = tv_target.timing.v_total - tv_target.timing.v_display; in maventv_init()
757 tv_target.timing.v_sync_start = tv_target.timing.v_display + ((diff * 5) / 20); in maventv_init()
811 diff = 576 - tv_target.timing.v_display; in maventv_init()
815 tv_target.timing.v_display = 576; in maventv_init()
819 tv_target.timing.v_sync_start = tv_target.timing.v_display + (diff / 2); in maventv_init()
835 diff = 480 - tv_target.timing.v_display; in maventv_init()
839 tv_target.timing.v_display = 480; in maventv_init()
[all …]
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dpatch.cpp39 timing.v_active = mode.timing.v_display & 0xFF; in vbe_patch_intel_bios()
40 timing.v_active_high = (mode.timing.v_display >> 8) & 0xF; in vbe_patch_intel_bios()
42 uint16 v_blank = mode.timing.v_total - mode.timing.v_display; in vbe_patch_intel_bios()
54 uint16 v_sync_off = mode.timing.v_sync_start - mode.timing.v_display; in vbe_patch_intel_bios()
185 && allowedModes[i].height == mode.timing.v_display) { in vbe_patch_nvidia_bios()
271 timing->usCRTC_V_Disp = mode.timing.v_display; in vbe_patch_atom1_bios()
297 timing->usVBlanking_Time = mode.timing.v_total - mode.timing.v_display; in vbe_patch_atom2_bios()
298 timing->usVActive = mode.timing.v_display; in vbe_patch_atom2_bios()
417 if (modeInfo.width == mode.timing.h_display && modeInfo.height == mode.timing.v_display in vesa_set_custom_display_mode()
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dmode.cpp365 mode->timing.h_total, mode->timing.v_display, in is_mode_supported()
386 __func__, mode->timing.h_display, mode->timing.v_display); in is_mode_sane()
393 __func__, mode->timing.h_display, mode->timing.v_display); in is_mode_sane()
402 __func__, mode->timing.h_display, mode->timing.v_display); in is_mode_sane()
406 if (mode->timing.v_total < mode->timing.v_display) { in is_mode_sane()
409 __func__, mode->timing.h_display, mode->timing.v_display); in is_mode_sane()
420 __func__, mode->timing.h_display, mode->timing.v_display, refresh); in is_mode_sane()

1234