/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 290 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 …]
|
D | radeon_drv.c | 124 int *vpos, int *hpos, ktime_t *stime,
|
D | radeon_mode.h | 815 int *vpos, int *hpos, ktime_t *stime,
|
D | radeon_pm.c | 1614 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/ |
D | ch7006_mode.c | 335 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/ |
D | nouveau_display.c | 95 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/ |
D | drm_irq.c | 662 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/ |
D | psb_intel_sdvo.c | 161 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()
|
D | psb_intel_sdvo_regs.h | 600 unsigned int vpos:1; member
|
/drivers/gpu/drm/i915/ |
D | intel_sdvo_regs.h | 605 unsigned int vpos:1; member
|
D | intel_sdvo.c | 170 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()
|
D | i915_irq.c | 905 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()
|