Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c76 int vpos, hpos, stat, min_udelay = 0; in amdgpu_flip_work_func() local
106 &vpos, &hpos, NULL, NULL, in amdgpu_flip_work_func()
111 !(vpos >= 0 && hpos <= 0)) in amdgpu_flip_work_func()
131 vblank->linedur_ns / 1000, stat, vpos, hpos); in amdgpu_flip_work_func()
795 unsigned int flags, int *vpos, int *hpos, in amdgpu_get_crtc_scanoutpos() argument
821 *vpos = position & 0x1fff; in amdgpu_get_crtc_scanoutpos()
840 *hpos = *vpos - vbl_start; in amdgpu_get_crtc_scanoutpos()
857 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_get_crtc_scanoutpos()
867 *vpos -= vbl_start; in amdgpu_get_crtc_scanoutpos()
878 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_get_crtc_scanoutpos()
[all …]
Damdgpu_kms.c614 int vpos, hpos, stat; in amdgpu_get_vblank_counter_kms() local
642 &vpos, &hpos, NULL, NULL, in amdgpu_get_vblank_counter_kms()
651 pipe, vpos); in amdgpu_get_vblank_counter_kms()
657 if (vpos >= 0) in amdgpu_get_vblank_counter_kms()
Damdgpu_mode.h553 unsigned int flags, int *vpos, int *hpos,
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_display.c291 int vpos, hpos; in radeon_crtc_handle_vblank() local
328 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank()
330 ((vpos >= (99 * rdev->mode_info.crtcs[crtc_id]->base.hwmode.crtc_vdisplay)/100) || in radeon_crtc_handle_vblank()
331 (vpos < 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank()
406 int vpos, hpos, stat, min_udelay = 0; in radeon_flip_work_func() local
465 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func()
470 !(vpos >= 0 && hpos <= 0)) in radeon_flip_work_func()
490 vblank->linedur_ns / 1000, stat, vpos, hpos); in radeon_flip_work_func()
1854 unsigned int flags, int *vpos, int *hpos, in radeon_get_crtc_scanoutpos() argument
1959 *vpos = position & 0x1fff; in radeon_get_crtc_scanoutpos()
[all …]
Dradeon_kms.c758 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local
787 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms()
797 crtc, vpos); in radeon_get_vblank_counter_kms()
803 if (vpos >= 0) in radeon_get_vblank_counter_kms()
Dradeon_drv.c128 unsigned int flags, int *vpos, int *hpos,
Dradeon_mode.h883 unsigned int flags, int *vpos, int *hpos,
Dradeon_pm.c1751 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
1762 &vpos, &hpos, NULL, NULL, in radeon_pm_in_vbl()
/linux-4.4.14/drivers/gpu/drm/i915/
Ddvo_ns2501.c218 uint16_t vpos; /* vertical position, 8e/8f */ member
245 .vpos = 16,
265 .vpos = 4,
284 .vpos = 7,
630 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set()
631 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
Dintel_sdvo_regs.h605 unsigned int vpos:1; member
Dintel_sdvo.c176 struct drm_property *vpos; member
2143 CHECK_PROPERTY(vpos, VPOS) in intel_sdvo_set_property()
2831 ENHANCEMENT(vpos, VPOS); in intel_sdvo_create_enhance_property_tv()
Di915_irq.c774 unsigned int flags, int *vpos, int *hpos, in i915_get_crtc_scanoutpos() argument
883 *vpos = position; in i915_get_crtc_scanoutpos()
886 *vpos = position / htotal; in i915_get_crtc_scanoutpos()
887 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
/linux-4.4.14/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()
/linux-4.4.14/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
124 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head()
129 if (*vpos < 0) in nouveau_display_scanoutpos_head()
136 unsigned int flags, int *vpos, int *hpos, in nouveau_display_scanoutpos() argument
144 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_irq.c777 int vpos, hpos, i; in drm_calc_vbltimestamp_from_scanoutpos() local
812 &vpos, &hpos, in drm_calc_vbltimestamp_from_scanoutpos()
852 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_calc_vbltimestamp_from_scanoutpos()
870 pipe, vbl_status, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h600 unsigned int vpos:1; member
Dpsb_intel_sdvo.c161 struct drm_property *vpos; member
1773 CHECK_PROPERTY(vpos, VPOS) in psb_intel_sdvo_set_property()
2395 ENHANCEMENT(vpos, VPOS); in psb_intel_sdvo_create_enhance_property_tv()
/linux-4.4.14/include/drm/
DdrmP.h516 unsigned int flags, int *vpos, int *hpos,