Searched refs:vactive_start (Results 1 – 2 of 2) sorted by relevance
606 int line, vsw, vbp, vactive_start, vactive_end, vfp_end; in mdp5_get_scanoutpos() local629 vactive_start = vsw + vbp + 1; in mdp5_get_scanoutpos()631 vactive_end = vactive_start + mode->crtc_vdisplay; in mdp5_get_scanoutpos()641 if (line < vactive_start) { in mdp5_get_scanoutpos()642 line -= vactive_start; in mdp5_get_scanoutpos()644 line = line - vfp_end - vactive_start; in mdp5_get_scanoutpos()646 line -= vactive_start; in mdp5_get_scanoutpos()
677 int line, vactive_start, vactive_end, vtotal; in ltdc_crtc_scanoutpos() local698 vactive_start = reg_read(ldev->regs, LTDC_BPCR) & BPCR_AVBP; in ltdc_crtc_scanoutpos()703 *vpos = line - vtotal - vactive_start; in ltdc_crtc_scanoutpos()705 *vpos = line - vactive_start; in ltdc_crtc_scanoutpos()