Searched refs:vpos (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_display.h55 bool in_vblank_irq, int *vpos, int *hpos,
H A Dnouveau_display.c83 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, argument
108 *vpos = calc(args.vblanks, args.vblanke, args.vtotal, args.vline);
117 bool in_vblank_irq, int *vpos, int *hpos,
121 return nouveau_display_scanoutpos_head(crtc, vpos, hpos,
116 nouveau_display_scanoutpos(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_display.c287 int vpos, hpos; local
319 * distance to start of "fudged earlier" vblank in vpos, distance to
320 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in
339 &vpos, &hpos, NULL, NULL,
341 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) {
417 int vpos, hpos; local
455 &vpos, &hpos, NULL, NULL,
1789 * fudged earlier start of vblank in *vpos and the distance
1792 * \param *vpos Location where vertical scanout position should be stored.
1799 * Returns vpos a
1813 radeon_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
1988 radeon_get_crtc_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
[all...]
H A Dradeon_kms.c765 int vpos, hpos, stat; local
778 * vblank in vpos. vpos therefore will be >= 0 between start of vblank
779 * and start of vsync, so vpos >= 0 means to bump the hw frame counter
788 /* Ask radeon_get_crtc_scanoutpos to return vpos as
794 &vpos, &hpos, NULL, NULL,
804 pipe, vpos);
807 * but before vsync where vpos would turn negative and
810 if (vpos >= 0)
H A Dradeon_mode.h837 unsigned int flags, int *vpos, int *hpos,
843 int *vpos, int *hpos,
/linux-master/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c219 u16 vpos; /* vertical position, 8e/8f */ member in struct:ns2501_configuration
246 .vpos = 16,
266 .vpos = 4,
285 .vpos = 7,
631 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff);
632 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8);
H A Dintel_vblank.c297 int *vpos, int *hpos,
420 *vpos = position;
423 *vpos = position / htotal;
424 *hpos = position - (*vpos * htotal);
295 i915_get_crtc_scanoutpos(struct drm_crtc *_crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
H A Dintel_sdvo_regs.h611 unsigned int vpos:1; member in struct:intel_sdvo_enhancements_reply
H A Dintel_sdvo.c144 struct drm_property *vpos; member in struct:intel_sdvo_connector
173 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member in struct:intel_sdvo_connector_state::__anon90
1483 if (intel_sdvo_conn->vpos)
1484 UPDATE_PROPERTY(sdvo_state->tv.vpos, VPOS);
2403 else if (property == intel_sdvo_connector->vpos)
2404 *val = sdvo_state->tv.vpos;
2461 else if (property == intel_sdvo_connector->vpos)
2462 sdvo_state->tv.vpos = val;
3215 ENHANCEMENT(&sdvo_state->tv, vpos, VPOS);
/linux-master/include/drm/
H A Ddrm_vblank.h265 int *vpos, int *hpos,
H A Ddrm_modeset_helper_vtables.h465 * vpos:
478 * Returns vpos as a positive number while in active scanout area.
479 * Returns vpos as a negative number inside vblank, counting the number
489 bool in_vblank_irq, int *vpos, int *hpos,
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c130 int vpos, hpos; local
141 &vpos, &hpos, NULL, NULL,
1466 * fudged earlier start of vblank in *vpos and the distance
1469 * \param *vpos Location where vertical scanout position should be stored.
1476 * Returns vpos as a positive number while in active scanout area.
1477 * Returns vpos as a negative number inside vblank, counting the number
1491 unsigned int pipe, unsigned int flags, int *vpos,
1517 *vpos = position & 0x1fff;
1535 *hpos = *vpos - vbl_start;
1552 if ((*vpos < vbl_star
1490 amdgpu_display_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
1612 amdgpu_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
[all...]
H A Damdgpu_mode.h679 unsigned int pipe, unsigned int flags, int *vpos,
695 bool in_vblank_irq, int *vpos,
H A Damdgpu_kms.c1503 int vpos, hpos, stat; local
1515 * vblank in vpos. vpos therefore will be >= 0 between start of vblank
1516 * and start of vsync, so vpos >= 0 means to bump the hw frame counter
1526 * vpos as distance to start of vblank, instead of
1531 &vpos, &hpos, NULL, NULL,
1540 pipe, vpos);
1543 * but before vsync where vpos would turn negative and
1546 if (vpos >= 0)
/linux-master/drivers/gpu/drm/i2c/
H A Dch7006_mode.c334 int flicker, contrast, hpos, vpos; local
357 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale)
360 setbitf(state, CH7006_POV, VPOS_8, vpos);
361 setbitf(state, CH7006_VPOS, 0, vpos);
363 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos);
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c132 static void lsdc_crtc0_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) argument
140 *vpos = val & 0xffff;
143 static void lsdc_crtc1_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) argument
151 *vpos = val & 0xffff;
899 int *vpos,
929 *vpos = y;
897 lsdc_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
H A Dlsdc_drv.h114 void (*get_scan_pos)(struct lsdc_crtc *lcrtc, int *hpos, int *vpos);
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c99 int *vpos, int *hpos,
133 *vpos = VC4_GET_FIELD(val, SCALER_DISPSTATX_LINE);
137 *vpos /= 2;
152 if (*vpos > fifo_lines) {
161 * incrementing vpos. Therefore we choose HVS read position -
165 *vpos -= fifo_lines + 1;
191 *vpos = -vblank_lines;
209 * No clue where we are inside vblank. Return a vpos of zero,
214 *vpos = 0;
97 vc4_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/drivers/gpu/drm/
H A Ddrm_vblank.c693 int vpos, hpos, i; local
731 * Get vertical and horizontal scanout position vpos, hpos,
735 &vpos, &hpos,
769 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos),
785 pipe, hpos, vpos,
/linux-master/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h600 unsigned int vpos:1; member in struct:psb_intel_sdvo_enhancements_reply
H A Dpsb_intel_sdvo.c165 struct drm_property *vpos; member in struct:psb_intel_sdvo_connector
1705 CHECK_PROPERTY(vpos, VPOS)
2327 ENHANCEMENT(vpos, VPOS);
/linux-master/drivers/gpu/drm/stm/
H A Dltdc.c1061 int *vpos, int *hpos,
1076 * - line < vactive_start: vpos = line - vactive_start and will be
1078 * - vactive_start < line < vactive_end: vpos = line - vactive_start
1080 * - line > vactive_end: vpos = line - vtotal - vactive_start
1097 *vpos = line - vtotal - vactive_start;
1099 *vpos = line - vactive_start;
1101 *vpos = 0;
1059 ltdc_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c272 int *vpos, int *hpos,
313 *vpos = line;
270 dpu_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c425 int *vpos, int *hpos,
468 *vpos = line;
423 mdp5_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c1976 unsigned int lines_to_vupdate, us_to_vupdate, vpos; local
1989 vpos = position.vertical_count;
1994 vpos += stream->timing.v_total;
1996 if (vpos <= vupdate_start) {
1998 lines_to_vupdate = vupdate_start - vpos;
1999 } else if (vpos > vupdate_end) {

Completed in 301 milliseconds

12