/drivers/video/fbdev/sis/ |
H A D | initextlfb.c | 40 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/video/fbdev/geode/ |
H A D | display_gx.c | 66 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; local 145 vtotal = vblankend; 155 ((vtotal - 1) << 16));
|
H A D | display_gx1.c | 86 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; local 163 vtotal = vblankend; 172 val = (vactive - 1) | ((vtotal - 1) << 16);
|
H A D | lxfb_ops.c | 354 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; local 480 vtotal = vblankend; 488 write_dc(par, DC_V_ACTIVE_TIMING, (vactive - 1) | ((vtotal - 1) << 16));
|
/drivers/media/i2c/ |
H A D | ths8200.c | 76 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/staging/imx-drm/ |
H A D | ipuv3-plane.c | 46 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/cirrus/ |
H A D | cirrus_mode.c | 200 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/video/fbdev/core/ |
H A D | fbcvt.c | 45 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 D | modedb.c | 774 u32 pixclock, hfreq, htotal, vtotal; local 798 vtotal = var->yres + var->lower_margin + var->vsync_len + 802 vtotal /= 2; 804 vtotal *= 2; 807 mode->refresh = hfreq/vtotal;
|
H A D | fbmon.c | 708 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/video/fbdev/matrox/ |
H A D | matroxfb_g450.c | 331 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) {
|
H A D | matroxfb_maven.c | 225 unsigned int htotal, unsigned int vtotal, 238 scrlen = htotal * (vtotal - 1); 239 fwant = htotal * vtotal; 243 fwant, fxtal, htotal, vtotal, fmax); 298 unsigned int htotal, unsigned int vtotal, 304 fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); 963 /* vtotal - 1 */ 223 matroxfb_PLL_mavenclock(const struct matrox_pll_features2* pll, const struct matrox_pll_ctl* ctl, unsigned int htotal, unsigned int vtotal, unsigned int* in, unsigned int* feed, unsigned int* post, unsigned int* h2) argument 297 matroxfb_mavenclock(const struct matrox_pll_ctl *ctl, unsigned int htotal, unsigned int vtotal, unsigned int* in, unsigned int* feed, unsigned int* post, unsigned int* htotal2) argument
|
/drivers/gpu/drm/i915/ |
H A D | intel_crt.c | 539 uint32_t vtotal, vactive; local 565 vtotal = ((save_vtotal >> 16) & 0xfff) + 1; 595 if (vblank_start <= vactive && vblank_end >= vtotal) { 606 if (vblank_start - vactive >= vtotal - vblank_end) 609 vsample = (vtotal + vblank_end) >> 1;
|
/drivers/video/fbdev/vermilion/ |
H A D | vermilion.c | 782 u32 vtotal, vactive, vblank_start, vblank_end, vsync_start, vsync_end; local 801 vtotal = 805 vblank_end = vtotal; 819 ((clock / htotal) * 1000) / vtotal); 848 VML_WRITE32(par, VML_VTOTAL_A, ((vtotal - 1) << 16) | (vactive - 1));
|
/drivers/gpu/drm/ |
H A D | drm_modes.c | 58 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/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 787 int vdisplay, vsyncstart, vsyncend, vtotal; local 917 vtotal = mode->vtotal - 2; 935 WREG_CRT(6, vtotal & 0xFF); 936 WREG_CRT(7, ((vtotal & 0x100) >> 8) | 941 ((vtotal & 0x200) >> 4)| 958 WREG_CRT(22, (vtotal + 1) & 0xFF); 972 ext_vga[2] = ((vtotal & 0xc00) >> 10) | 1464 if (!mode->htotal || !mode->vtotal || !mode->clock) 1468 total_area = mode->htotal * mode->vtotal; [all...] |
/drivers/staging/xgifb/ |
H A D | XGI_main_26.c | 931 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/video/fbdev/ |
H A D | neofb.c | 267 int vtotal = vsync_end + var->upper_margin; local 296 par->CRTC[6] = (vtotal - 2) & 0xFF; 297 par->CRTC[7] = (((vtotal - 2) & 0x100) >> 8) 301 | 0x10 | (((vtotal - 2) & 0x200) >> 4) 322 par->CRTC[22] = (vtotal - 1) & 0xFF; 733 int vsync_start, vtotal; local 742 vtotal = vsync_start + info->var.vsync_len + info->var.upper_margin; 788 par->VerticalExt = (((vtotal - 2) & 0x400) >> 10)
|
H A D | pm2fb.c | 695 u32 vsstart, vsend, vbend, vtotal; local 732 vtotal = info->var.yres + vbend - 1; 822 pm2_WR(par, PM2R_V_TOTAL, vtotal);
|
H A D | pm3fb.c | 736 const u32 vtotal = info->var.yres + vbend; local 758 PM3_WRITE_REG(par, PM3VTotal, vtotal - 1);
|
H A D | pvr2fb.c | 361 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 D | cirrusfb.c | 667 int yres, vdispend, vsyncstart, vsyncend, vtotal; local 709 vtotal = vsyncend + var->upper_margin; 715 vtotal *= 2; 720 vtotal = (vtotal + 1) / 2; 724 vtotal /= 2; 733 vtotal -= 2; 774 dev_dbg(info->device, "CRT6: %d\n", vtotal & 0xff); 775 vga_wcrt(regbase, VGA_CRTC_V_TOTAL, vtotal & 0xff); 778 if (vtotal [all...] |
/drivers/gpu/drm/i2c/ |
H A D | ch7006_priv.h | 52 int vtotal; member in struct:ch7006_tv_norm_info
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 1788 int vbl_start, vbl_end, vtotal, ret = 0; local 1916 vtotal = rdev->mode_info.crtcs[crtc]->base.hwmode.crtc_vtotal; 1917 *vpos = *vpos - vtotal; 1939 vtotal = rdev->mode_info.crtcs[crtc]->base.hwmode.crtc_vtotal; 1941 if (vbl_start - *vpos < vtotal / 100) { 1942 *vpos -= vtotal;
|
/drivers/media/pci/bt8xx/ |
H A D | bttvp.h | 99 u16 vtotal; member in struct:bttv_tvnorm 152 u16 sheight,vscale,vdelay,vtotal; member in struct:bttv_geometry
|