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

12345

/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 Dmdfld_device.c203 pipe->vtotal = PSB_RVDC32(map->vtotal);
329 PSB_WVDC32(pipe->vtotal, map->vtotal);
458 .vtotal = VTOTAL_A,
480 .vtotal = VTOTAL_B,
503 .vtotal = VTOTAL_C,
H A Dintel_bios.c177 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay +
192 /* Some VBTs have bogus h/vtotal values */
195 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal)
196 panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1;
271 if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) {
H A Dpsb_device.c273 .vtotal = VTOTAL_A,
297 .vtotal = VTOTAL_B,
/drivers/gpu/drm/panel/
H A Dpanel-simple.c341 .vtotal = 600 + 16 + 6 + 16,
364 .vtotal = 768 + 14 + 42,
388 .vtotal = 768 + 3 + 6 + 13,
411 .vtotal = 1080 + 25 + 10 + 10,
438 .vtotal = 768 + 4 + 4 + 4,
461 .vtotal = 768 + 16 + 8 + 16,
484 .vtotal = 480 + 10 + 3 + 32,
508 .vtotal = 480 + 10 + 2 + 33,
532 .vtotal = 480 + 37 + 2 + 8,
554 .vtotal
[all...]
/drivers/video/fbdev/core/
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.c708 int vtotal, htotal; local
722 vtotal = mode->yres + mode->lower_margin + mode->vsync_len
726 vtotal /= 2;
729 vtotal *= 2;
733 hz = (hscan + vtotal / 2) / vtotal;
1100 u32 vtotal; member in struct:__fb_timings
1228 timings->vtotal = timings->vactive + timings->vblank;
1238 timings->vtotal = timings->vactive + timings->vblank;
1239 timings->vfreq = timings->hfreq/timings->vtotal;
1390 unsigned int htotal, vtotal; local
1513 u32 hfreq, vfreq, htotal, vtotal, pixclock; local
[all...]
/drivers/gpu/drm/cirrus/
H A Dcirrus_mode.c200 int vtotal, vdispend; local
209 vtotal = mode->vtotal;
213 vtotal -= 2;
225 WREG_CRT(VGA_CRTC_V_TOTAL, vtotal & 0xff);
237 if (vtotal & 256)
243 if (vtotal & 512)
257 if (vtotal & 256)
259 if (vtotal & 512)
/drivers/media/i2c/
H A Dths8200.c76 static inline unsigned vtotal(const struct v4l2_bt_timings *t) function
228 uint16_t line_start_front_porch = (vtotal(bt) - bt->vfrontporch);
275 ((vtotal(bt) >> 4) & 0xf0) + 0x7);
276 ths8200_write(sd, THS8200_DTG1_FRAME_SZ_LSB, vtotal(bt) & 0xff);
302 ths8200_write(sd, THS8200_DTG2_BP3_4_MSB, ((vtotal(bt)) >> 4) & 0x70);
305 ths8200_write(sd, THS8200_DTG2_BP3_LSB, (vtotal(bt)) & 0xff);
328 ((vtotal(bt) + 1) >> 8) & 0x7);
329 ths8200_write(sd, THS8200_DTG2_VDLY1_LSB, vtotal(bt) + 1);
366 "vertical: sync %d\n", __func__, htotal(bt), vtotal(bt),
/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_bridge.c154 vstart = mode->vtotal - mode->vsync_start - 1;
155 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1;
157 DBG("htotal=%d, vtotal=%d, hstart=%d, hend=%d, vstart=%d, vend=%d",
158 mode->htotal, mode->vtotal, hstart, hend, vstart, vend);
162 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1));
173 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal));
/drivers/video/fbdev/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/gpu/drm/
H A Ddrm_modes.c58 mode->vsync_end, mode->vtotal, mode->type, mode->flags);
258 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin +
314 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines;
330 drm_mode->vtotal *= 2;
515 drm_mode->vtotal = vtotal_lines;
520 drm_mode->vtotal *= 2;
595 dmode->vtotal = dmode->vsync_end + vm->vback_porch;
711 else if (mode->htotal > 0 && mode->vtotal > 0) {
712 int vtotal; local
713 vtotal
[all...]
/drivers/video/fbdev/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/sti/
H A Dsti_vtg.c124 writel(mode->vtotal * 2, vtg->regs + VTG_HLFLN);
126 tmp = (mode->vtotal - mode->vsync_start + 1) << 16;
131 tmp = (mode->vdisplay + mode->vtotal - mode->vsync_start + 1) << 16;
160 tmp |= mode->vtotal;
211 u32 start_line = mode.vtotal - mode.vsync_start + 1;
/drivers/staging/imx-drm/
H A Dipuv3-plane.c46 unsigned long htotal, vtotal; local
49 vtotal = mode->vtotal;
51 if (!htotal || !vtotal)
54 return DIV_ROUND_UP(mode->clock * 1000, vtotal * htotal);
/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/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_encoder.c162 mode->vsync_end, mode->vtotal,
178 vsync_period = mode->vtotal * mode->htotal;
180 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew;
/drivers/gpu/drm/nouveau/core/engine/disp/
H A Dnv04.c51 args->v0.vtotal = nv_rd32(priv, 0x680804 + hoff) & 0xffff;
52 args->v0.vblanke = args->v0.vtotal - 1;
59 * If output is vga instead of digital then vtotal/htotal is
63 if (!args->v0.vtotal || !args->v0.htotal)
/drivers/staging/xgifb/
H A DXGI_main_26.c931 unsigned int vtotal = var->upper_margin + var->yres + var->lower_margin local
945 vtotal <<= 1;
947 vtotal <<= 2;
949 if (!htotal || !vtotal) {
952 } pr_debug("var->pixclock=%d, htotal=%d, vtotal=%d\n",
953 var->pixclock, htotal, vtotal);
955 if (var->pixclock && htotal && vtotal) {
959 / vtotal);
1233 unsigned int vtotal = 0; local
1239 vtotal
[all...]
/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_dtv_encoder.c177 mode->vsync_end, mode->vtotal,
196 vsync_period = mode->vtotal * mode->htotal;
198 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew;
/drivers/gpu/drm/omapdrm/
H A Domap_connector.c58 mode->vtotal = mode->vsync_end + timings->vbp;
89 timings->vbp = mode->vtotal - mode->vsync_end;
249 mode->vsync_end, mode->vtotal, mode->type, mode->flags);
/drivers/video/fbdev/
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) {
/drivers/video/fbdev/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) {

Completed in 796 milliseconds

12345