Searched refs:vtotal (Results 1 - 25 of 70) sorted by relevance

123

/drivers/gpu/drm/gma500/
H A Dmdfld_tpo_vid.c58 mode->vtotal = mode->vdisplay +
69 dev_dbg(dev->dev, "vtotal is %d\n", mode->vtotal);
79 mode->vtotal = 499;
H A Dmdfld_tmd_vid.c61 mode->vtotal = mode->vdisplay + \
72 dev_dbg(dev->dev, "vtotal is %d\n", mode->vtotal);
82 mode->vtotal = 873;
H A Dintel_bios.c73 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay +
78 /* Some VBTs have bogus h/vtotal values */
81 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal)
82 panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1;
156 if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) {
H A Dmdfld_dsi_dpi.c442 pclk_vbp = mode->vtotal - mode->vsync_end;
505 (mode->vtotal * mode->htotal * dsi_config->bpp /
703 adjusted_mode->vtotal = fixed_mode->vtotal;
802 REG_WRITE(VTOTAL_A, ((mode->vtotal - 1) << 16) | (mode->vdisplay - 1));
803 REG_WRITE(VBLANK_A, ((mode->vtotal - 1) << 16) | (mode->vdisplay - 1));
/drivers/video/
H A Dfbcvt.c45 u32 vtotal; member in struct:fb_cvt_data
164 u32 vtotal = cvt->yres/cvt->interlace; local
166 vtotal += 2 * cvt->v_margin + cvt->interlace/2 + fb_cvt_vbi_lines(cvt);
167 vtotal |= cvt->interlace/2;
169 return vtotal;
177 pixclock = (cvt->f_refresh * cvt->vtotal * cvt->htotal)/1000;
363 cvt.vtotal = fb_cvt_vtotal(&cvt);
373 cvt.v_front_porch = cvt.vtotal - cvt.yres/cvt.interlace -
H A Dfbmon.c706 int vtotal, htotal; local
720 vtotal = mode->yres + mode->lower_margin + mode->vsync_len
724 vtotal /= 2;
727 vtotal *= 2;
731 hz = (hscan + vtotal / 2) / vtotal;
1091 u32 vtotal; member in struct:__fb_timings
1219 timings->vtotal = timings->vactive + timings->vblank;
1229 timings->vtotal = timings->vactive + timings->vblank;
1230 timings->vfreq = timings->hfreq/timings->vtotal;
1412 u32 hfreq, vfreq, htotal, vtotal, pixclock; local
[all...]
H A Dpvr2fb.c361 unsigned int vtotal; local
390 vtotal = par->vsync_total;
392 vtotal /= 2;
393 if (vtotal > (PAL_VTOTAL + NTSC_VTOTAL)/2) {
436 unsigned int vtotal, hsync_total; local
508 vtotal = var->upper_margin + var->yres + var->lower_margin +
513 vtotal /= 2;
514 if (vtotal > (PAL_VTOTAL + NTSC_VTOTAL)/2) {
H A Damifb.c157 - vtotal: Last line value (i.e. number of lines = vtotal + 1)
756 u_short vtotal; /* vmode */ member in struct:amifb_par
981 * vtotal 1 4096 1
1018 /* hsstrt/hsstop/htotal/vsstrt/vsstop/vtotal/hcenter (sync timings) */
1025 #define vtotal2hw(vtotal) (div2(vtotal) - 1)
1128 u_int htotal, vtotal; local
1219 par->vtotal =
1236 par->diwstop_v = par->vtotal
[all...]
H A Dcirrusfb.c690 int yres, vdispend, vsyncstart, vsyncend, vtotal; local
732 vtotal = vsyncend + var->upper_margin;
738 vtotal *= 2;
743 vtotal = (vtotal + 1) / 2;
747 vtotal /= 2;
756 vtotal -= 2;
797 dev_dbg(info->device, "CRT6: %d\n", vtotal & 0xff);
798 vga_wcrt(regbase, VGA_CRTC_V_TOTAL, vtotal & 0xff);
801 if (vtotal
[all...]
H A Dmodedb.c777 u32 pixclock, hfreq, htotal, vtotal; local
801 vtotal = var->yres + var->lower_margin + var->vsync_len +
805 vtotal /= 2;
807 vtotal *= 2;
810 mode->refresh = hfreq/vtotal;
H A Dsh_mobile_hdmi.c295 u16 htotal, hblank, hdelay, vtotal, vblank, vdelay, voffset; local
307 vtotal = mode->yres + mode->upper_margin + mode->lower_margin
326 vtotal, vblank, vdelay, mode->vsync_len, sync);
342 hdmi_write(hdmi, vtotal, HDMI_EXTERNAL_V_TOTAL_7_0);
343 hdmi_write(hdmi, vtotal >> 8, HDMI_EXTERNAL_V_TOTAL_9_8);
/drivers/video/geode/
H A Ddisplay_gx.c66 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; local
145 vtotal = vblankend;
155 ((vtotal - 1) << 16));
H A Ddisplay_gx1.c86 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; local
163 vtotal = vblankend;
172 val = (vactive - 1) | ((vtotal - 1) << 16);
/drivers/video/sis/
H A Dinitextlfb.c40 int *htotal, int *vtotal, unsigned char rateindex);
178 int *vtotal, unsigned char rateindex)
219 *vtotal = ((cr_data & 0xFF) |
225 *vtotal *= 2;
177 sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, int *vtotal, unsigned char rateindex) argument
/drivers/gpu/drm/
H A Ddrm_modes.c58 mode->vsync_end, mode->vtotal, mode->type, mode->flags);
194 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin +
250 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines;
266 drm_mode->vtotal *= 2;
449 drm_mode->vtotal = vtotal_lines;
454 drm_mode->vtotal *= 2;
638 else if (mode->htotal > 0 && mode->vtotal > 0) {
639 int vtotal; local
640 vtotal = mode->vtotal;
[all...]
/drivers/gpu/drm/i2c/
H A Dch7006_mode.c41 .vtotal = 525, \
46 .vtotal = 625, \
120 .vtotal = vt, \
187 mode->mode.vtotal != drm_mode->vtotal ||
346 scale = norm->vtotal*fixed1;
347 do_div(scale, mode->vtotal);
353 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4;
/drivers/staging/omapdrm/
H A Domap_connector.c49 mode->vtotal = mode->vsync_end + timings->vbp;
73 timings->vbp = mode->vtotal - mode->vsync_end;
237 mode->vsync_end, mode->vtotal, mode->type, mode->flags);
304 mode->vsync_end, mode->vtotal, mode->type, mode->flags);
/drivers/gpu/drm/i915/
H A Dintel_crt.c316 uint32_t vtotal, vactive; local
342 vtotal = ((save_vtotal >> 16) & 0xfff) + 1;
372 if (vblank_start <= vactive && vblank_end >= vtotal) {
383 if (vblank_start - vactive >= vtotal - vblank_end)
386 vsample = (vtotal + vblank_end) >> 1;
H A Dintel_panel.c47 adjusted_mode->vtotal = fixed_mode->vtotal;
/drivers/video/matrox/
H A Dmatroxfb_g450.c331 unsigned int vtotal; local
335 vtotal = mt->VTotal;
338 if (vtotal < outd->v_total) {
339 unsigned int yovr = outd->v_total - vtotal;
342 } else if (vtotal > outd->v_total) {
/drivers/staging/xgifb/
H A DXGI_main_26.c1088 unsigned int vtotal = var->upper_margin + var->yres + var->lower_margin local
1106 vtotal <<= 1;
1108 vtotal <<= 2;
1110 /* vtotal <<= 1; */
1114 if (!htotal || !vtotal) {
1117 } pr_debug("var->pixclock=%d, htotal=%d, vtotal=%d\n",
1118 var->pixclock, htotal, vtotal);
1120 if (var->pixclock && htotal && vtotal) {
1124 / vtotal);
1410 unsigned int vtotal local
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_connector.c64 mode->vtotal = mode->vsync_end + timing->upper_margin;
95 timing->upper_margin = mode->vtotal - mode->vsync_end;
/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c268 unsigned vblank = native_mode->vtotal - native_mode->vdisplay;
286 adjusted_mode->vtotal = native_mode->vdisplay + vblank;
/drivers/media/video/bt8xx/
H A Dbttvp.h97 u16 vtotal; member in struct:bttv_tvnorm
152 u16 sheight,vscale,vdelay,vtotal; member in struct:bttv_geometry
/drivers/video/vermilion/
H A Dvermilion.c785 u32 vtotal, vactive, vblank_start, vblank_end, vsync_start, vsync_end; local
804 vtotal =
808 vblank_end = vtotal;
822 ((clock / htotal) * 1000) / vtotal);
851 VML_WRITE32(par, VML_VTOTAL_A, ((vtotal - 1) << 16) | (vactive - 1));

Completed in 1447 milliseconds

123