| /drivers/gpu/drm/radeon/ |
| A D | radeon_display.c | 287 int vpos, hpos; in radeon_crtc_handle_vblank() local 339 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank() 417 int vpos, hpos; in radeon_flip_work_func() local 455 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func() 1915 *vpos = position & 0x1fff; in radeon_get_crtc_scanoutpos() 1934 *hpos = *vpos - vbl_start; in radeon_get_crtc_scanoutpos() 1951 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos() 1961 *vpos -= vbl_start; in radeon_get_crtc_scanoutpos() 1972 if (in_vbl && (*vpos >= vbl_start)) { in radeon_get_crtc_scanoutpos() 1974 *vpos = *vpos - vtotal; in radeon_get_crtc_scanoutpos() [all …]
|
| A D | radeon_kms.c | 759 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local 788 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms() 798 pipe, vpos); in radeon_get_vblank_counter_kms() 804 if (vpos >= 0) in radeon_get_vblank_counter_kms()
|
| A D | radeon_mode.h | 839 unsigned int flags, int *vpos, int *hpos, 845 int *vpos, int *hpos,
|
| A D | radeon_pm.c | 1821 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local 1832 &vpos, &hpos, NULL, NULL, in radeon_pm_in_vbl()
|
| /drivers/gpu/drm/i915/display/ |
| A D | dvo_ns2501.c | 219 u16 vpos; /* vertical position, 8e/8f */ member 246 .vpos = 16, 266 .vpos = 4, 285 .vpos = 7, 631 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set() 632 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
|
| A D | intel_vblank.c | 327 int *vpos, int *hpos, in i915_get_crtc_scanoutpos() argument 443 *vpos = position; in i915_get_crtc_scanoutpos() 446 *vpos = position / htotal; in i915_get_crtc_scanoutpos() 447 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
|
| A D | intel_sdvo.c | 145 struct drm_property *vpos; member 174 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member 1483 if (intel_sdvo_conn->vpos) in intel_sdvo_update_props() 1484 UPDATE_PROPERTY(sdvo_state->tv.vpos, VPOS); in intel_sdvo_update_props() 2399 else if (property == intel_sdvo_connector->vpos) in intel_sdvo_connector_atomic_get_property() 2400 *val = sdvo_state->tv.vpos; in intel_sdvo_connector_atomic_get_property() 2457 else if (property == intel_sdvo_connector->vpos) in intel_sdvo_connector_atomic_set_property() 2458 sdvo_state->tv.vpos = val; in intel_sdvo_connector_atomic_set_property() 3210 ENHANCEMENT(&sdvo_state->tv, vpos, VPOS); in intel_sdvo_create_enhance_property_tv()
|
| A D | intel_sdvo_regs.h | 611 unsigned int vpos:1; member
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_display.c | 131 int vpos, hpos; in amdgpu_display_flip_work_func() local 142 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func() 1552 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() argument 1578 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 1596 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 1613 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos() 1623 *vpos -= vbl_start; in amdgpu_display_get_crtc_scanoutpos() 1634 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_display_get_crtc_scanoutpos() 1641 *vpos = (*vpos < vtotal) ? (*vpos - vtotal) : 0; in amdgpu_display_get_crtc_scanoutpos() 1645 *vpos = *vpos - vbl_end; in amdgpu_display_get_crtc_scanoutpos() [all …]
|
| A D | amdgpu_mode.h | 681 unsigned int pipe, unsigned int flags, int *vpos, 697 bool in_vblank_irq, int *vpos,
|
| A D | amdgpu_kms.c | 1572 int vpos, hpos, stat; in amdgpu_get_vblank_counter_kms() local 1600 &vpos, &hpos, NULL, NULL, in amdgpu_get_vblank_counter_kms() 1609 pipe, vpos); in amdgpu_get_vblank_counter_kms() 1615 if (vpos >= 0) in amdgpu_get_vblank_counter_kms()
|
| /drivers/gpu/drm/nouveau/dispnv04/i2c/ |
| A D | ch7006_mode.c | 334 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local 357 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties() 360 setbitf(state, CH7006_POV, VPOS_8, vpos); in ch7006_setup_properties() 361 setbitf(state, CH7006_VPOS, 0, vpos); in ch7006_setup_properties() 363 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos); in ch7006_setup_properties()
|
| /drivers/gpu/drm/imx/dc/ |
| A D | dc-crtc.c | 342 int *vpos, int *hpos, in dc_crtc_get_scanout_position() argument 358 *vpos = 0; in dc_crtc_get_scanout_position() 368 *vpos = line + 1; in dc_crtc_get_scanout_position() 371 *vpos = line - (vtotal - 1); in dc_crtc_get_scanout_position()
|
| /drivers/gpu/drm/vc4/ |
| A D | vc4_crtc.c | 108 int *vpos, int *hpos, in vc4_crtc_get_scanout_position() argument 148 *vpos = VC4_GET_FIELD(val, SCALER6_DISPX_STATUS_YLINE); in vc4_crtc_get_scanout_position() 150 *vpos = VC4_GET_FIELD(val, SCALER_DISPSTATX_LINE); in vc4_crtc_get_scanout_position() 155 *vpos /= 2; in vc4_crtc_get_scanout_position() 170 if (*vpos > fifo_lines) { in vc4_crtc_get_scanout_position() 183 *vpos -= fifo_lines + 1; in vc4_crtc_get_scanout_position() 209 *vpos = -vblank_lines; in vc4_crtc_get_scanout_position() 232 *vpos = 0; in vc4_crtc_get_scanout_position()
|
| /drivers/gpu/drm/loongson/ |
| A D | lsdc_crtc.c | 133 static void lsdc_crtc0_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) in lsdc_crtc0_scan_pos() argument 141 *vpos = val & 0xffff; in lsdc_crtc0_scan_pos() 144 static void lsdc_crtc1_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) in lsdc_crtc1_scan_pos() argument 152 *vpos = val & 0xffff; in lsdc_crtc1_scan_pos() 900 int *vpos, in lsdc_crtc_get_scanout_position() argument 930 *vpos = y; in lsdc_crtc_get_scanout_position()
|
| A D | lsdc_drv.h | 114 void (*get_scan_pos)(struct lsdc_crtc *lcrtc, int *hpos, int *vpos);
|
| /drivers/gpu/drm/nouveau/ |
| A D | nouveau_display.c | 84 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument 109 *vpos = calc(args.vblanks, args.vblanke, args.vtotal, args.vline); in nouveau_display_scanoutpos_head() 118 bool in_vblank_irq, int *vpos, int *hpos, in nouveau_display_scanoutpos() argument 122 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos()
|
| A D | nouveau_display.h | 58 bool in_vblank_irq, int *vpos, int *hpos,
|
| /drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| A D | dcn10_hwseq.c | 105 unsigned int vpos, frame_count; in dcn10_wait_for_pipe_update_if_needed() local 131 vpos = position.vertical_count; in dcn10_wait_for_pipe_update_if_needed() 140 if (vpos >= vupdate_start && vupdate_start >= vblank_start) in dcn10_wait_for_pipe_update_if_needed() 143 lines_to_vupdate = vupdate_start - vpos; in dcn10_wait_for_pipe_update_if_needed() 181 unsigned int vpos, cur_frame; in dcn10_set_wait_for_update_needed_for_pipe() local 189 vpos = position.vertical_count; in dcn10_set_wait_for_update_needed_for_pipe() 207 if (vpos < vupdate_start) { in dcn10_set_wait_for_update_needed_for_pipe() 2160 unsigned int lines_to_vupdate, us_to_vupdate, vpos; in delay_cursor_until_vupdate() local 2173 vpos = position.vertical_count; in delay_cursor_until_vupdate() 2175 if (vpos <= vupdate_start) { in delay_cursor_until_vupdate() [all …]
|
| /drivers/gpu/drm/ |
| A D | drm_vblank.c | 706 int vpos, hpos, i; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local 748 &vpos, &hpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 782 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 798 pipe, hpos, vpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|
| /drivers/gpu/drm/stm/ |
| A D | ltdc.c | 1058 int *vpos, int *hpos, in ltdc_crtc_get_scanout_position() argument 1094 *vpos = line - vtotal - vactive_start; in ltdc_crtc_get_scanout_position() 1096 *vpos = line - vactive_start; in ltdc_crtc_get_scanout_position() 1098 *vpos = 0; in ltdc_crtc_get_scanout_position()
|
| /drivers/gpu/drm/gma500/ |
| A D | psb_intel_sdvo_regs.h | 600 unsigned int vpos:1; member
|
| A D | psb_intel_sdvo.c | 165 struct drm_property *vpos; member 1705 CHECK_PROPERTY(vpos, VPOS) in psb_intel_sdvo_set_property() 2327 ENHANCEMENT(vpos, VPOS); in psb_intel_sdvo_create_enhance_property_tv()
|
| /drivers/gpu/drm/msm/disp/mdp5/ |
| A D | mdp5_crtc.c | 424 int *vpos, int *hpos, in mdp5_crtc_get_scanout_position() argument 467 *vpos = line; in mdp5_crtc_get_scanout_position()
|
| /drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_crtc.c | 272 int *vpos, int *hpos, in dpu_crtc_get_scanout_position() argument 313 *vpos = line; in dpu_crtc_get_scanout_position()
|