Home
last modified time | relevance | path

Searched refs:vactive_start (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c908 int vsw, vbp, vactive_start, vactive_end, vfp_end; in lsdc_crtc_get_scanout_position() local
914 vactive_start = vsw + vbp + 1; in lsdc_crtc_get_scanout_position()
915 vactive_end = vactive_start + mode->crtc_vdisplay; in lsdc_crtc_get_scanout_position()
926 y = y - vfp_end - vactive_start; in lsdc_crtc_get_scanout_position()
928 y -= vactive_start; in lsdc_crtc_get_scanout_position()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c430 int line, vsw, vbp, vactive_start, vactive_end, vfp_end; in mdp5_crtc_get_scanout_position() local
448 vactive_start = vsw + vbp + 1; in mdp5_crtc_get_scanout_position()
450 vactive_end = vactive_start + mode->crtc_vdisplay; in mdp5_crtc_get_scanout_position()
460 if (line < vactive_start) in mdp5_crtc_get_scanout_position()
461 line -= vactive_start; in mdp5_crtc_get_scanout_position()
463 line = line - vfp_end - vactive_start; in mdp5_crtc_get_scanout_position()
465 line -= vactive_start; in mdp5_crtc_get_scanout_position()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c278 int line, vsw, vbp, vactive_start, vactive_end, vfp_end; in dpu_crtc_get_scanout_position() local
295 vactive_start = vsw + vbp + 1; in dpu_crtc_get_scanout_position()
296 vactive_end = vactive_start + mode->crtc_vdisplay; in dpu_crtc_get_scanout_position()
306 if (line < vactive_start) in dpu_crtc_get_scanout_position()
307 line -= vactive_start; in dpu_crtc_get_scanout_position()
309 line = line - vfp_end - vactive_start; in dpu_crtc_get_scanout_position()
311 line -= vactive_start; in dpu_crtc_get_scanout_position()
/linux/drivers/gpu/drm/stm/
H A Dltdc.c1064 int line, vactive_start, vactive_end, vtotal; in ltdc_crtc_get_scanout_position() local
1086 regmap_read(ldev->regmap, LTDC_BPCR, &vactive_start); in ltdc_crtc_get_scanout_position()
1087 vactive_start &= BPCR_AVBP; in ltdc_crtc_get_scanout_position()
1094 *vpos = line - vtotal - vactive_start; in ltdc_crtc_get_scanout_position()
1096 *vpos = line - vactive_start; in ltdc_crtc_get_scanout_position()