Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c907 int vsw, vbp, vactive_start, vactive_end, vfp_end; in lsdc_crtc_get_scanout_position() local
913 vactive_start = vsw + vbp + 1; in lsdc_crtc_get_scanout_position()
914 vactive_end = vactive_start + mode->crtc_vdisplay; in lsdc_crtc_get_scanout_position()
925 y = y - vfp_end - vactive_start; in lsdc_crtc_get_scanout_position()
927 y -= vactive_start; in lsdc_crtc_get_scanout_position()
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c433 int line, vsw, vbp, vactive_start, vactive_end, vfp_end; in mdp5_crtc_get_scanout_position() local
451 vactive_start = vsw + vbp + 1; in mdp5_crtc_get_scanout_position()
453 vactive_end = vactive_start + mode->crtc_vdisplay; in mdp5_crtc_get_scanout_position()
463 if (line < vactive_start) in mdp5_crtc_get_scanout_position()
464 line -= vactive_start; in mdp5_crtc_get_scanout_position()
466 line = line - vfp_end - vactive_start; in mdp5_crtc_get_scanout_position()
468 line -= vactive_start; in mdp5_crtc_get_scanout_position()
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c289 int line, vsw, vbp, vactive_start, vactive_end, vfp_end; in dpu_crtc_get_scanout_position() local
306 vactive_start = vsw + vbp + 1; in dpu_crtc_get_scanout_position()
307 vactive_end = vactive_start + mode->crtc_vdisplay; in dpu_crtc_get_scanout_position()
317 if (line < vactive_start) in dpu_crtc_get_scanout_position()
318 line -= vactive_start; in dpu_crtc_get_scanout_position()
320 line = line - vfp_end - vactive_start; in dpu_crtc_get_scanout_position()
322 line -= vactive_start; in dpu_crtc_get_scanout_position()
/openbmc/linux/drivers/gpu/drm/stm/
H A Dltdc.c1068 int line, vactive_start, vactive_end, vtotal; in ltdc_crtc_get_scanout_position() local
1090 regmap_read(ldev->regmap, LTDC_BPCR, &vactive_start); in ltdc_crtc_get_scanout_position()
1091 vactive_start &= BPCR_AVBP; in ltdc_crtc_get_scanout_position()
1098 *vpos = line - vtotal - vactive_start; in ltdc_crtc_get_scanout_position()
1100 *vpos = line - vactive_start; in ltdc_crtc_get_scanout_position()