/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.h | 55 bool in_vblank_irq, int *vpos, int *hpos,
|
H A D | nouveau_display.c | 83 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 D | radeon_display.c | 287 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 D | radeon_kms.c | 765 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 D | radeon_mode.h | 837 unsigned int flags, int *vpos, int *hpos, 843 int *vpos, int *hpos,
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | dvo_ns2501.c | 219 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 D | intel_vblank.c | 297 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 D | intel_sdvo_regs.h | 611 unsigned int vpos:1; member in struct:intel_sdvo_enhancements_reply
|
H A D | intel_sdvo.c | 144 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 D | drm_vblank.h | 265 int *vpos, int *hpos,
|
H A D | drm_modeset_helper_vtables.h | 465 * 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 D | amdgpu_display.c | 130 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 D | amdgpu_mode.h | 679 unsigned int pipe, unsigned int flags, int *vpos, 695 bool in_vblank_irq, int *vpos,
|
H A D | amdgpu_kms.c | 1503 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 D | ch7006_mode.c | 334 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 D | lsdc_crtc.c | 132 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 D | lsdc_drv.h | 114 void (*get_scan_pos)(struct lsdc_crtc *lcrtc, int *hpos, int *vpos);
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 99 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 D | drm_vblank.c | 693 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 D | psb_intel_sdvo_regs.h | 600 unsigned int vpos:1; member in struct:psb_intel_sdvo_enhancements_reply
|
H A D | psb_intel_sdvo.c | 165 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 D | ltdc.c | 1061 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 D | dpu_crtc.c | 272 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 D | mdp5_crtc.c | 425 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 D | dcn10_hwseq.c | 1976 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) {
|