Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dradeon_display.c290 int vpos, hpos; in radeon_crtc_handle_vblank() local
325 &vpos, &hpos, NULL, NULL)) && in radeon_crtc_handle_vblank()
326 ((vpos >= (99 * rdev->mode_info.crtcs[crtc_id]->base.hwmode.crtc_vdisplay)/100) || in radeon_crtc_handle_vblank()
327 (vpos < 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank()
1778 int *vpos, int *hpos, ktime_t *stime, ktime_t *etime) in radeon_get_crtc_scanoutpos() argument
1881 *vpos = position & 0x1fff; in radeon_get_crtc_scanoutpos()
1898 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos()
1908 if (in_vbl && (*vpos >= vbl_start)) { in radeon_get_crtc_scanoutpos()
1910 *vpos = *vpos - vtotal; in radeon_get_crtc_scanoutpos()
1914 *vpos = *vpos - vbl_end; in radeon_get_crtc_scanoutpos()
[all …]
Dradeon_drv.c124 int *vpos, int *hpos, ktime_t *stime,
Dradeon_mode.h815 int *vpos, int *hpos, ktime_t *stime,
Dradeon_pm.c1614 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
1622 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, 0, &vpos, &hpos, NULL, NULL); in radeon_pm_in_vbl()
/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/nouveau/
Dnouveau_display.c95 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument
123 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head()
128 if (*vpos < 0) in nouveau_display_scanoutpos_head()
135 int *vpos, int *hpos, ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos() argument
141 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos()
/drivers/gpu/drm/
Ddrm_irq.c662 int vpos, hpos, i; in drm_calc_vbltimestamp_from_scanoutpos() local
702 vbl_status = dev->driver->get_scanout_position(dev, crtc, flags, &vpos, in drm_calc_vbltimestamp_from_scanoutpos()
740 delta_ns = vpos * linedur_ns + hpos * pixeldur_ns; in drm_calc_vbltimestamp_from_scanoutpos()
757 crtc, (int)vbl_status, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c161 struct drm_property *vpos; member
1650 if (psb_intel_sdvo_connector->vpos) in psb_intel_sdvo_destroy_enhance_property()
1651 drm_property_destroy(dev, psb_intel_sdvo_connector->vpos); in psb_intel_sdvo_destroy_enhance_property()
1822 CHECK_PROPERTY(vpos, VPOS) in psb_intel_sdvo_set_property()
2444 ENHANCEMENT(vpos, VPOS); in psb_intel_sdvo_create_enhance_property_tv()
Dpsb_intel_sdvo_regs.h600 unsigned int vpos:1; member
/drivers/gpu/drm/i915/
Dintel_sdvo_regs.h605 unsigned int vpos:1; member
Dintel_sdvo.c170 struct drm_property *vpos; member
2010 if (intel_sdvo_connector->vpos) in intel_sdvo_destroy_enhance_property()
2011 drm_property_destroy(dev, intel_sdvo_connector->vpos); in intel_sdvo_destroy_enhance_property()
2203 CHECK_PROPERTY(vpos, VPOS) in intel_sdvo_set_property()
2869 ENHANCEMENT(vpos, VPOS); in intel_sdvo_create_enhance_property_tv()
Di915_irq.c905 unsigned int flags, int *vpos, int *hpos, in i915_get_crtc_scanoutpos() argument
1014 *vpos = position; in i915_get_crtc_scanoutpos()
1017 *vpos = position / htotal; in i915_get_crtc_scanoutpos()
1018 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()