Home
last modified time | relevance | path

Searched refs:vpos (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_display.c276 int vpos, hpos; in radeon_crtc_handle_flip() local
303 &vpos, &hpos)) && in radeon_crtc_handle_flip()
304 ((vpos >= (99 * rdev->mode_info.crtcs[crtc_id]->base.hwmode.crtc_vdisplay)/100) || in radeon_crtc_handle_flip()
305 (vpos < 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_flip()
1535 int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, int *vpos, int *hpos) in radeon_get_crtc_scanoutpos() argument
1626 *vpos = position & 0x1fff; in radeon_get_crtc_scanoutpos()
1643 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos()
1653 if (in_vbl && (*vpos >= vbl_start)) { in radeon_get_crtc_scanoutpos()
1655 *vpos = *vpos - vtotal; in radeon_get_crtc_scanoutpos()
1659 *vpos = *vpos - vbl_end; in radeon_get_crtc_scanoutpos()
Dradeon_drv.c112 int *vpos, int *hpos);
Dradeon_pm.c744 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
752 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos); in radeon_pm_in_vbl()
Dradeon_mode.h657 int *vpos, int *hpos);
/drivers/gpu/drm/i2c/
Dch7006_mode.c335 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local
358 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties()
361 setbitf(state, CH7006_POV, VPOS_8, vpos); in ch7006_setup_properties()
362 setbitf(state, CH7006_VPOS, 0, vpos); in ch7006_setup_properties()
364 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos); in ch7006_setup_properties()
/drivers/gpu/drm/
Ddrm_irq.c591 int vpos, hpos, i; in drm_calc_vbltimestamp_from_scanoutpos() local
640 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); in drm_calc_vbltimestamp_from_scanoutpos()
683 delta_ns = (s64) vpos * linedur_ns + (s64) hpos * pixeldur_ns; in drm_calc_vbltimestamp_from_scanoutpos()
696 ((vdisplay - vpos) < vtotal / 100)) { in drm_calc_vbltimestamp_from_scanoutpos()
715 crtc, (int)vbl_status, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
/drivers/gpu/drm/i915/
Di915_irq.c240 int *vpos, int *hpos) in i915_get_crtc_scanoutpos() argument
268 *vpos = position & 0x1fff; in i915_get_crtc_scanoutpos()
278 *vpos = position / htotal; in i915_get_crtc_scanoutpos()
279 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
289 if ((*vpos < vbl_start) || (*vpos > vbl_end)) in i915_get_crtc_scanoutpos()
293 if (in_vbl && (*vpos >= vbl_start)) in i915_get_crtc_scanoutpos()
294 *vpos = *vpos - vtotal; in i915_get_crtc_scanoutpos()
Dintel_sdvo.c170 struct drm_property *vpos; member
1840 if (intel_sdvo_connector->vpos) in intel_sdvo_destroy_enhance_property()
1841 drm_property_destroy(dev, intel_sdvo_connector->vpos); in intel_sdvo_destroy_enhance_property()
2034 CHECK_PROPERTY(vpos, VPOS) in intel_sdvo_set_property()
2638 ENHANCEMENT(vpos, VPOS); in intel_sdvo_create_enhance_property_tv()
Dintel_sdvo_regs.h605 unsigned int vpos:1; member
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c161 struct drm_property *vpos; member
1632 if (psb_intel_sdvo_connector->vpos) in psb_intel_sdvo_destroy_enhance_property()
1633 drm_property_destroy(dev, psb_intel_sdvo_connector->vpos); in psb_intel_sdvo_destroy_enhance_property()
1804 CHECK_PROPERTY(vpos, VPOS) in psb_intel_sdvo_set_property()
2429 ENHANCEMENT(vpos, VPOS); in psb_intel_sdvo_create_enhance_property_tv()
Dpsb_intel_sdvo_regs.h600 unsigned int vpos:1; member