Lines Matching refs:line
665 int line, vactive_start, vactive_end, vtotal;
674 * - line < vactive_start: vpos = line - vactive_start and will be
676 * - vactive_start < line < vactive_end: vpos = line - vactive_start
678 * - line > vactive_end: vpos = line - vtotal - vactive_start
682 * simplify the code and only test if line > vactive_end
685 line = reg_read(ldev->regs, LTDC_CPSR) & CPSR_CYPOS;
690 if (line > vactive_end)
691 *vpos = line - vtotal - vactive_start;
693 *vpos = line - vactive_start;
839 /* Configures the color frame buffer pitch in bytes & line length */
864 /* Configures the frame buffer line number */