Searched refs:vactive_start (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_crtc.c | 907 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 D | mdp5_crtc.c | 433 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 D | dpu_crtc.c | 289 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 D | ltdc.c | 1068 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()
|