/linux-4.1.27/drivers/gpu/drm/panel/ |
D | panel-simple.c | 381 .vtotal = 480 + 2 + 45 + 0, 406 .vtotal = 600 + 16 + 6 + 16, 429 .vtotal = 800 + 4 + 20 + 8, 452 .vtotal = 768 + 14 + 42, 476 .vtotal = 768 + 10 + 12 + 6, 499 .vtotal = 768 + 3 + 6 + 13, 522 .vtotal = 1080 + 25 + 10 + 10, 550 .vtotal = 600 + 17 + 1 + 17, 578 .vtotal = 768 + 4 + 4 + 4, 601 .vtotal = 768 + 16 + 8 + 16, [all …]
|
D | panel-sharp-lq101r1sx01.c | 285 .vtotal = 1600 + 4 + 8 + 32,
|
/linux-4.1.27/drivers/media/i2c/ |
D | ths8200.c | 66 static inline unsigned vtotal(const struct v4l2_bt_timings *t) in vtotal() function 218 uint16_t line_start_front_porch = (vtotal(bt) - bt->vfrontporch); in ths8200_setup() 265 ((vtotal(bt) >> 4) & 0xf0) + 0x7); in ths8200_setup() 266 ths8200_write(sd, THS8200_DTG1_FRAME_SZ_LSB, vtotal(bt) & 0xff); in ths8200_setup() 292 ths8200_write(sd, THS8200_DTG2_BP3_4_MSB, ((vtotal(bt)) >> 4) & 0x70); in ths8200_setup() 295 ths8200_write(sd, THS8200_DTG2_BP3_LSB, (vtotal(bt)) & 0xff); in ths8200_setup() 318 ((vtotal(bt) + 1) >> 8) & 0x7); in ths8200_setup() 319 ths8200_write(sd, THS8200_DTG2_VDLY1_LSB, vtotal(bt) + 1); in ths8200_setup() 356 "vertical: sync %d\n", __func__, htotal(bt), vtotal(bt), in ths8200_setup()
|
D | adv7842.c | 229 static inline unsigned vtotal(const struct v4l2_bt_timings *t) in vtotal() function 968 u32 height = vtotal(bt); in configure_custom_video_timings() 1319 if (vtotal(bt) != stdi->lcf + 1) in stdi2dv_timings()
|
D | adv7604.c | 342 static inline unsigned vtotal(const struct v4l2_bt_timings *t) in vtotal() function 928 u32 height = vtotal(bt); in configure_custom_video_timings() 1290 if (vtotal(&adv76xx_timings[i].bt) != stdi->lcf + 1) in stdi2dv_timings()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | fbcvt.c | 45 u32 vtotal; member 164 u32 vtotal = cvt->yres/cvt->interlace; in fb_cvt_vtotal() local 166 vtotal += 2 * cvt->v_margin + cvt->interlace/2 + fb_cvt_vbi_lines(cvt); in fb_cvt_vtotal() 167 vtotal |= cvt->interlace/2; in fb_cvt_vtotal() 169 return vtotal; in fb_cvt_vtotal() 177 pixclock = (cvt->f_refresh * cvt->vtotal * cvt->htotal)/1000; in fb_cvt_pixclock() 363 cvt.vtotal = fb_cvt_vtotal(&cvt); in fb_find_mode_cvt() 373 cvt.v_back_porch = cvt.vtotal - cvt.yres/cvt.interlace - in fb_find_mode_cvt()
|
D | fbmon.c | 721 int vtotal, htotal; in fb_get_monitor_limits() local 735 vtotal = mode->yres + mode->lower_margin + mode->vsync_len in fb_get_monitor_limits() 739 vtotal /= 2; in fb_get_monitor_limits() 742 vtotal *= 2; in fb_get_monitor_limits() 746 hz = (hscan + vtotal / 2) / vtotal; in fb_get_monitor_limits() 1113 u32 vtotal; member 1241 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_vfreq() 1251 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_hfreq() 1252 timings->vfreq = timings->hfreq/timings->vtotal; in fb_timings_hfreq() 1266 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_dclk() [all …]
|
D | modedb.c | 885 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local 909 vtotal = var->yres + var->lower_margin + var->vsync_len + in fb_var_to_videomode() 913 vtotal /= 2; in fb_var_to_videomode() 915 vtotal *= 2; in fb_var_to_videomode() 918 mode->refresh = hfreq/vtotal; in fb_var_to_videomode()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_modes.c | 58 mode->vsync_end, mode->vtotal, mode->type, mode->flags); in drm_mode_debug_printmodeline() 258 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode() 314 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode() 330 drm_mode->vtotal *= 2; in drm_cvt_mode() 515 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex() 520 drm_mode->vtotal *= 2; in drm_gtf_mode_complex() 595 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in drm_display_mode_from_videomode() 636 vm->vback_porch = dmode->vtotal - dmode->vsync_end; in drm_display_mode_to_videomode() 751 else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh() 752 int vtotal; in drm_mode_vrefresh() local [all …]
|
D | drm_edid.c | 1797 mode->vtotal *= 2; in drm_mode_do_interlace_quirk() 1798 mode->vtotal |= 1; in drm_mode_do_interlace_quirk() 1875 mode->vtotal = mode->vdisplay + vblank; in drm_mode_detailed() 1880 if (mode->vsync_end > mode->vtotal) in drm_mode_detailed() 1881 mode->vtotal = mode->vsync_end + 1; in drm_mode_detailed()
|
D | drm_crtc.c | 1728 in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX, in drm_crtc_convert_to_umode() 1740 out->vtotal = in->vtotal; in drm_crtc_convert_to_umode() 1778 out->vtotal = in->vtotal; in drm_crtc_convert_umode()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 201 int vtotal, vdispend; in cirrus_crtc_mode_set() local 210 vtotal = mode->vtotal; in cirrus_crtc_mode_set() 214 vtotal -= 2; in cirrus_crtc_mode_set() 226 WREG_CRT(VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_crtc_mode_set() 238 if (vtotal & 256) in cirrus_crtc_mode_set() 244 if (vtotal & 512) in cirrus_crtc_mode_set() 258 if (vtotal & 256) in cirrus_crtc_mode_set() 260 if (vtotal & 512) in cirrus_crtc_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_bridge.c | 150 vstart = mode->vtotal - mode->vsync_start - 1; in hdmi_bridge_mode_set() 151 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; in hdmi_bridge_mode_set() 154 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in hdmi_bridge_mode_set() 158 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); in hdmi_bridge_mode_set() 169 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal)); in hdmi_bridge_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | mdfld_tpo_vid.c | 58 mode->vtotal = mode->vdisplay + in tpo_vid_get_config_mode() 69 dev_dbg(dev->dev, "vtotal is %d\n", mode->vtotal); in tpo_vid_get_config_mode() 79 mode->vtotal = 499; in tpo_vid_get_config_mode()
|
D | mdfld_device.c | 203 pipe->vtotal = PSB_RVDC32(map->vtotal); in mdfld_save_display_registers() 329 PSB_WVDC32(pipe->vtotal, map->vtotal); in mdfld_restore_display_registers() 458 .vtotal = VTOTAL_A, 480 .vtotal = VTOTAL_B, 503 .vtotal = VTOTAL_C,
|
D | mdfld_tmd_vid.c | 61 mode->vtotal = mode->vdisplay + \ in tmd_vid_get_config_mode() 72 dev_dbg(dev->dev, "vtotal is %d\n", mode->vtotal); in tmd_vid_get_config_mode() 82 mode->vtotal = 873; in tmd_vid_get_config_mode()
|
D | intel_bios.c | 177 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + in fill_detail_timing_data() 195 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) in fill_detail_timing_data() 196 panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1; in fill_detail_timing_data() 271 if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) { in parse_lfp_panel_data()
|
D | psb_intel_display.c | 278 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in psb_intel_crtc_mode_set() 401 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get() 407 vtot = p->vtotal; in psb_intel_crtc_mode_get() 421 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
|
D | oaktrail_device.c | 216 p->vtotal = PSB_RVDC32(VTOTAL_A); in oaktrail_save_display_registers() 336 PSB_WVDC32(p->vtotal, VTOTAL_A); in oaktrail_restore_display_registers() 474 .vtotal = VTOTAL_A, 498 .vtotal = VTOTAL_B,
|
D | mdfld_dsi_dpi.c | 442 pclk_vbp = mode->vtotal - mode->vsync_end; in mdfld_dsi_dpi_timing_calculation() 505 (mode->vtotal * mode->htotal * dsi_config->bpp / in mdfld_dsi_dpi_controller_init() 703 adjusted_mode->vtotal = fixed_mode->vtotal; in mdfld_dsi_dpi_mode_fixup() 802 REG_WRITE(VTOTAL_A, ((mode->vtotal - 1) << 16) | (mode->vdisplay - 1)); in mdfld_set_pipe_timing() 803 REG_WRITE(VBLANK_A, ((mode->vtotal - 1) << 16) | (mode->vdisplay - 1)); in mdfld_set_pipe_timing()
|
D | psb_device.c | 273 .vtotal = VTOTAL_A, 297 .vtotal = VTOTAL_B,
|
D | cdv_intel_display.c | 803 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in cdv_intel_crtc_mode_set() 945 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get() 951 vtot = p->vtotal; in cdv_intel_crtc_mode_get() 965 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
D | oaktrail_lvds.c | 254 mode->vtotal = mode->vdisplay + \ in oaktrail_lvds_get_configuration_mode() 265 printk(KERN_INFO "vtotal is %d\n", mode->vtotal); in oaktrail_lvds_get_configuration_mode()
|
D | mdfld_intel_display.c | 722 adjusted_mode->vtotal); in mdfld_crtc_mode_set() 821 REG_WRITE(map->vtotal, (mode->crtc_vdisplay - 1) | in mdfld_crtc_mode_set() 838 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in mdfld_crtc_mode_set()
|
D | cdv_device.c | 536 .vtotal = VTOTAL_A, 561 .vtotal = VTOTAL_B,
|
D | cdv_intel_lvds.c | 307 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in cdv_intel_lvds_mode_fixup()
|
D | oaktrail_crtc.c | 452 REG_WRITE_WITH_AUX(map->vtotal, (mode->crtc_vdisplay - 1) | in oaktrail_crtc_mode_set() 471 REG_WRITE_WITH_AUX(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in oaktrail_crtc_mode_set()
|
D | tc35876x-dsi-lvds.c | 595 mode->vtotal = 838; in tc35876x_get_config_mode() 605 dev_info(&dev->pdev->dev, "vtotal = %d\n", mode->vtotal); in tc35876x_get_config_mode()
|
D | psb_intel_lvds.c | 423 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in psb_intel_lvds_mode_fixup()
|
D | psb_drv.h | 288 u32 vtotal; member 322 u32 vtotal; member
|
D | oaktrail_hdmi.c | 773 pipeb->vtotal = PSB_RVDC32(VTOTAL_B); in oaktrail_hdmi_save() 826 PSB_WVDC32(pipeb->vtotal, VTOTAL_B); in oaktrail_hdmi_restore()
|
D | gma_display.c | 579 crtc_state->saveVTOTAL = REG_READ(map->vtotal); in gma_crtc_save() 633 REG_WRITE(map->vtotal, crtc_state->saveVTOTAL); in gma_crtc_restore()
|
D | cdv_intel_dp.c | 887 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode()
|
D | psb_intel_sdvo.c | 791 mode->vtotal = mode->vdisplay + dtd->part1.v_blank; in psb_intel_sdvo_get_mode_from_dtd() 792 mode->vtotal += (dtd->part1.v_high & 0xf) << 8; in psb_intel_sdvo_get_mode_from_dtd()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
D | initextlfb.c | 40 int *htotal, int *vtotal, unsigned char rateindex); 178 int *vtotal, unsigned char rateindex) in sisfb_gettotalfrommode() argument 219 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode() 225 *vtotal *= 2; in sisfb_gettotalfrommode()
|
D | sis_main.c | 562 int htotal, vtotal; in sisfb_verify_rate() local 597 &htotal, &vtotal, rate_idx)) { in sisfb_verify_rate() 598 dclock = (htotal * vtotal * rate) / 1000; in sisfb_verify_rate() 1186 unsigned int htotal = 0, vtotal = 0; in sisfb_do_set_var() local 1194 vtotal = var->upper_margin + var->lower_margin + var->vsync_len; in sisfb_do_set_var() 1199 vtotal += var->yres; in sisfb_do_set_var() 1200 vtotal <<= 1; in sisfb_do_set_var() 1202 vtotal += var->yres; in sisfb_do_set_var() 1203 vtotal <<= 2; in sisfb_do_set_var() 1205 vtotal += var->yres; in sisfb_do_set_var() [all …]
|
D | sis_main.h | 754 int *htotal, int *vtotal, unsigned char rateindex);
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 41 .vtotal = 525, \ 46 .vtotal = 625, \ 120 .vtotal = vt, \ 187 mode->mode.vtotal != drm_mode->vtotal || in ch7006_lookup_mode() 346 scale = norm->vtotal*fixed1; in ch7006_setup_properties() 347 do_div(scale, mode->vtotal); in ch7006_setup_properties() 353 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()
|
D | tda998x_drv.c | 834 if (mode->vtotal >= BIT(11)) in tda998x_encoder_mode_valid() 871 n_line = mode->vtotal; in tda998x_encoder_mode_set() 889 vwin1_line_s = mode->vtotal - mode->vdisplay - 1; in tda998x_encoder_mode_set() 900 vwin1_line_s = (mode->vtotal - mode->vdisplay)/2; in tda998x_encoder_mode_set() 906 vwin2_line_s = vwin1_line_s + mode->vtotal/2; in tda998x_encoder_mode_set() 909 vs2_line_s = vs1_line_s + mode->vtotal/2 ; in tda998x_encoder_mode_set()
|
D | ch7006_priv.h | 52 int vtotal; member
|
/linux-4.1.27/drivers/video/fbdev/geode/ |
D | display_gx.c | 66 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; in gx_set_mode() local 145 vtotal = vblankend; in gx_set_mode() 155 ((vtotal - 1) << 16)); in gx_set_mode()
|
D | display_gx1.c | 86 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; in gx1_set_mode() local 163 vtotal = vblankend; in gx1_set_mode() 172 val = (vactive - 1) | ((vtotal - 1) << 16); in gx1_set_mode()
|
D | lxfb_ops.c | 354 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; in lx_set_mode() local 480 vtotal = vblankend; in lx_set_mode() 488 write_dc(par, DC_V_ACTIVE_TIMING, (vactive - 1) | ((vtotal - 1) << 16)); in lx_set_mode()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1805 hdmi_set_reg(core->h_v_line, 3, (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_set() 1831 val = m->vtotal / 2; in hdmi_v13_mode_set() 1832 val |= ((m->vtotal - m->vdisplay) / 2) << 11; in hdmi_v13_mode_set() 1835 val = (m->vtotal + in hdmi_v13_mode_set() 1837 val |= m->vtotal << 11; in hdmi_v13_mode_set() 1840 val = ((m->vtotal / 2) + 7); in hdmi_v13_mode_set() 1841 val |= ((m->vtotal / 2) + 2) << 12; in hdmi_v13_mode_set() 1849 hdmi_set_reg(tg->vact_st, 2, (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_set() 1856 val = m->vtotal; in hdmi_v13_mode_set() 1857 val |= (m->vtotal - m->vdisplay) << 11; in hdmi_v13_mode_set() [all …]
|
D | exynos7_drm_decon.c | 156 unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh; in decon_calc_clkdiv() 185 if (mode->htotal == 0 || mode->vtotal == 0) in decon_commit()
|
D | exynos_drm_fimd.c | 310 unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh; in fimd_calc_clkdiv() 349 if (mode->htotal == 0 || mode->vtotal == 0) in fimd_commit()
|
D | exynos_drm_dsi.c | 1522 vm->vback_porch = mode->vtotal - mode->vsync_end; in exynos_dsi_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | nv04.c | 51 args->v0.vtotal = nv_rd32(priv, 0x680804 + hoff) & 0xffff; in nv04_disp_scanoutpos() 52 args->v0.vblanke = args->v0.vtotal - 1; in nv04_disp_scanoutpos() 63 if (!args->v0.vtotal || !args->v0.htotal) in nv04_disp_scanoutpos()
|
D | gf110.c | 643 args->v0.vtotal = ( total & 0xffff0000) >> 16; in gf110_disp_main_scanoutpos()
|
D | nv50.c | 967 args->v0.vtotal = ( total & 0xffff0000) >> 16; in nv50_disp_main_scanoutpos()
|
/linux-4.1.27/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 46 unsigned long htotal, vtotal; in calc_vref() local 49 vtotal = mode->vtotal; in calc_vref() 51 if (!htotal || !vtotal) in calc_vref() 54 return DIV_ROUND_UP(mode->clock * 1000, vtotal * htotal); in calc_vref()
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
D | sti_vtg.c | 133 writel(mode->vtotal * 2, vtg->regs + VTG_HLFLN); in vtg_set_mode() 135 tmp = (mode->vtotal - mode->vsync_start + 1) << 16; in vtg_set_mode() 140 tmp = (mode->vdisplay + mode->vtotal - mode->vsync_start + 1) << 16; in vtg_set_mode() 174 tmp |= mode->vtotal; in vtg_set_mode() 236 u32 start_line = mode.vtotal - mode.vsync_start + 1; in sti_vtg_get_line_number()
|
D | sti_dvo.c | 118 timing.total_lines = mode->vtotal; in dvo_awg_generate_code() 121 timing.trailing_lines = mode->vtotal - mode->vsync_start; in dvo_awg_generate_code()
|
D | sti_drm_crtc.c | 102 mode->vtotal, mode->type, mode->flags); in sti_drm_crtc_mode_set()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | amifb.c | 756 u_short vtotal; /* vmode */ member 1024 #define vtotal2hw(vtotal) (div2(vtotal) - 1) argument 1127 u_int htotal, vtotal; in ami_decode_var() local 1218 par->vtotal = in ami_decode_var() 1235 par->diwstop_v = par->vtotal - in ami_decode_var() 1242 if (par->diwstop_v > par->vtotal) { in ami_decode_var() 1259 if (par->vtotal > (PAL_VTOTAL + NTSC_VTOTAL) / 2) { in ami_decode_var() 1274 vtotal = PAL_VTOTAL>>1; in ami_decode_var() 1304 vtotal = NTSC_VTOTAL>>1; in ami_decode_var() 1339 par->diwstop_v = par->vtotal; in ami_decode_var() [all …]
|
D | pvr2fb.c | 361 unsigned int vtotal; in pvr2fb_set_par() local 390 vtotal = par->vsync_total; in pvr2fb_set_par() 392 vtotal /= 2; in pvr2fb_set_par() 393 if (vtotal > (PAL_VTOTAL + NTSC_VTOTAL)/2) { in pvr2fb_set_par() 436 unsigned int vtotal, hsync_total; in pvr2fb_check_var() local 508 vtotal = var->upper_margin + var->yres + var->lower_margin + in pvr2fb_check_var() 513 vtotal /= 2; in pvr2fb_check_var() 514 if (vtotal > (PAL_VTOTAL + NTSC_VTOTAL)/2) { in pvr2fb_check_var()
|
D | cirrusfb.c | 667 int yres, vdispend, vsyncstart, vsyncend, vtotal; in cirrusfb_set_par_foo() local 709 vtotal = vsyncend + var->upper_margin; in cirrusfb_set_par_foo() 715 vtotal *= 2; in cirrusfb_set_par_foo() 720 vtotal = (vtotal + 1) / 2; in cirrusfb_set_par_foo() 724 vtotal /= 2; in cirrusfb_set_par_foo() 733 vtotal -= 2; in cirrusfb_set_par_foo() 774 dev_dbg(info->device, "CRT6: %d\n", vtotal & 0xff); in cirrusfb_set_par_foo() 775 vga_wcrt(regbase, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrusfb_set_par_foo() 778 if (vtotal & 256) in cirrusfb_set_par_foo() 786 if (vtotal & 512) in cirrusfb_set_par_foo() [all …]
|
D | neofb.c | 267 int vtotal = vsync_end + var->upper_margin; in vgaHWInit() local 296 par->CRTC[6] = (vtotal - 2) & 0xFF; in vgaHWInit() 297 par->CRTC[7] = (((vtotal - 2) & 0x100) >> 8) in vgaHWInit() 301 | 0x10 | (((vtotal - 2) & 0x200) >> 4) in vgaHWInit() 322 par->CRTC[22] = (vtotal - 1) & 0xFF; in vgaHWInit() 733 int vsync_start, vtotal; in neofb_set_par() local 742 vtotal = vsync_start + info->var.vsync_len + info->var.upper_margin; in neofb_set_par() 788 par->VerticalExt = (((vtotal - 2) & 0x400) >> 10) in neofb_set_par()
|
D | tridentfb.c | 1012 u32 vtotal, vdispend, vsyncstart, vsyncend, vblankstart, vblankend; in tridentfb_set_par() local 1030 vtotal = var->upper_margin + vsyncend - 2; in tridentfb_set_par() 1032 vblankend = vtotal; in tridentfb_set_par() 1035 vtotal /= 2; in tridentfb_set_par() 1073 write3X4(par, VGA_CRTC_V_TOTAL, vtotal & 0xFF); in tridentfb_set_par() 1091 if (vtotal & 0x100) tmp |= 0x01; in tridentfb_set_par() 1096 if (vtotal & 0x200) tmp |= 0x20; in tridentfb_set_par() 1103 if (vtotal & 0x400) tmp |= 0x80; in tridentfb_set_par()
|
D | gbefb.c | 523 timing->vtotal = var->upper_margin + var->yres + in compute_gbe_timing() 526 1000 / timing->vtotal; in compute_gbe_timing() 532 timing->vblank_end = timing->vtotal; in compute_gbe_timing() 557 SET_GBE_FIELD(VT_XYMAX, MAXY, val, timing->vtotal); in gbe_set_timing_info() 996 var->upper_margin = timing.vtotal - timing.vsync_end; in gbefb_check_var()
|
D | sh_mobile_hdmi.c | 406 u16 htotal, hblank, hdelay, vtotal, vblank, vdelay, voffset; in sh_hdmi_external_video_param() local 418 vtotal = mode->yres + mode->upper_margin + mode->lower_margin in sh_hdmi_external_video_param() 437 vtotal, vblank, vdelay, mode->vsync_len, sync); in sh_hdmi_external_video_param() 453 hdmi_write(hdmi, vtotal, HDMI_EXTERNAL_V_TOTAL_7_0); in sh_hdmi_external_video_param() 454 hdmi_write(hdmi, vtotal >> 8, HDMI_EXTERNAL_V_TOTAL_9_8); in sh_hdmi_external_video_param()
|
D | mx3fb.c | 931 u32 vtotal; in mx3fb_check_var() local 1002 vtotal = var->yres + var->lower_margin + var->vsync_len + in mx3fb_check_var() 1004 var->pixclock = (vtotal * htotal * 6UL) / 100UL; in mx3fb_check_var()
|
D | pm2fb.c | 695 u32 vsstart, vsend, vbend, vtotal; in pm2fb_set_par() local 732 vtotal = info->var.yres + vbend - 1; in pm2fb_set_par() 822 pm2_WR(par, PM2R_V_TOTAL, vtotal); in pm2fb_set_par()
|
D | pm3fb.c | 736 const u32 vtotal = info->var.yres + vbend; in pm3fb_write_mode() local 758 PM3_WRITE_REG(par, PM3VTotal, vtotal - 1); in pm3fb_write_mode()
|
/linux-4.1.27/drivers/staging/xgifb/ |
D | XGI_main_26.c | 931 unsigned int vtotal = var->upper_margin + var->yres + var->lower_margin in XGIfb_do_set_var() local 945 vtotal <<= 1; in XGIfb_do_set_var() 947 vtotal <<= 2; in XGIfb_do_set_var() 949 if (!htotal || !vtotal) { in XGIfb_do_set_var() 953 var->pixclock, htotal, vtotal); in XGIfb_do_set_var() 959 / vtotal); in XGIfb_do_set_var() 1233 unsigned int vtotal = 0; in XGIfb_check_var() local 1239 vtotal = var->upper_margin + var->yres + var->lower_margin in XGIfb_check_var() 1241 vtotal <<= 1; in XGIfb_check_var() 1243 vtotal = var->upper_margin + var->yres + var->lower_margin in XGIfb_check_var() [all …]
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 331 unsigned int vtotal; in computeRegs() local 335 vtotal = mt->VTotal; in computeRegs() 338 if (vtotal < outd->v_total) { in computeRegs() 339 unsigned int yovr = outd->v_total - vtotal; in computeRegs() 342 } else if (vtotal > outd->v_total) { in computeRegs()
|
D | matroxfb_maven.c | 225 unsigned int htotal, unsigned int vtotal, in matroxfb_PLL_mavenclock() argument 238 scrlen = htotal * (vtotal - 1); in matroxfb_PLL_mavenclock() 239 fwant = htotal * vtotal; in matroxfb_PLL_mavenclock() 243 fwant, fxtal, htotal, vtotal, fmax); in matroxfb_PLL_mavenclock() 298 unsigned int htotal, unsigned int vtotal, in matroxfb_mavenclock() argument 304 fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); in matroxfb_mavenclock()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_cmd_encoder.c | 110 total_lines_x100 = mode->vtotal * mode->vrefresh; in pingpong_tearcheck_setup() 113 __func__, mode->vtotal, mode->vrefresh); in pingpong_tearcheck_setup() 210 mode->vsync_end, mode->vtotal, in mdp5_cmd_encoder_mode_set()
|
D | mdp5_encoder.c | 143 mode->vsync_end, mode->vtotal, in mdp5_encoder_mode_set() 180 vsync_period = mode->vtotal * mode->htotal; in mdp5_encoder_mode_set() 182 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp5_encoder_mode_set()
|
D | mdp5_crtc.c | 257 mode->vsync_end, mode->vtotal, in mdp5_crtc_mode_set_nofb()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_dtv_encoder.c | 122 mode->vsync_end, mode->vtotal, in mdp4_dtv_encoder_mode_set() 141 vsync_period = mode->vtotal * mode->htotal; in mdp4_dtv_encoder_mode_set() 143 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp4_dtv_encoder_mode_set()
|
D | mdp4_lcdc_encoder.c | 288 mode->vsync_end, mode->vtotal, in mdp4_lcdc_encoder_mode_set() 307 vsync_period = mode->vtotal * mode->htotal; in mdp4_lcdc_encoder_mode_set() 309 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + lcdc_hsync_skew; in mdp4_lcdc_encoder_mode_set()
|
D | mdp4_crtc.c | 258 mode->vsync_end, mode->vtotal, in mdp4_crtc_mode_set_nofb()
|
/linux-4.1.27/include/drm/ |
D | drm_modes.h | 87 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ 119 int vtotal; member
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_connector.c | 58 mode->vtotal = mode->vsync_end + timings->vbp; in copy_timings_omap_to_drm() 89 timings->vbp = mode->vtotal - mode->vsync_end; in copy_timings_drm_to_omap() 249 mode->vsync_end, mode->vtotal, mode->type, mode->flags); in omap_connector_mode_valid()
|
D | omap_crtc.c | 508 mode->vsync_end, mode->vtotal, in omap_crtc_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 788 int vdisplay, vsyncstart, vsyncend, vtotal; in mga_crtc_mode_set() local 918 vtotal = mode->vtotal - 2; in mga_crtc_mode_set() 936 WREG_CRT(6, vtotal & 0xFF); in mga_crtc_mode_set() 937 WREG_CRT(7, ((vtotal & 0x100) >> 8) | in mga_crtc_mode_set() 942 ((vtotal & 0x200) >> 4)| in mga_crtc_mode_set() 959 WREG_CRT(22, (vtotal + 1) & 0xFF); in mga_crtc_mode_set() 973 ext_vga[2] = ((vtotal & 0xc00) >> 10) | in mga_crtc_mode_set() 1465 if (!mode->htotal || !mode->vtotal || !mode->clock) in mga_vga_calculate_mode_bandwidth() 1469 total_area = mode->htotal * mode->vtotal; in mga_vga_calculate_mode_bandwidth()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | amigahw.h | 187 unsigned short vtotal; member 269 amiga_custom.vtotal = 223; /* 70 Hz */ in amifb_video_off()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_crt.c | 546 uint32_t vtotal, vactive; in intel_crt_load_detect() local 572 vtotal = ((save_vtotal >> 16) & 0xfff) + 1; in intel_crt_load_detect() 602 if (vblank_start <= vactive && vblank_end >= vtotal) { in intel_crt_load_detect() 613 if (vblank_start - vactive >= vtotal - vblank_end) in intel_crt_load_detect() 616 vsample = (vtotal + vblank_end) >> 1; in intel_crt_load_detect()
|
D | i915_irq.c | 619 int position, vtotal; in __intel_get_crtc_scanline() local 621 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline() 623 vtotal /= 2; in __intel_get_crtc_scanline() 634 return (position + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline() 646 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local 659 vtotal = mode->crtc_vtotal; in i915_get_crtc_scanoutpos() 666 vtotal /= 2; in i915_get_crtc_scanoutpos() 699 vtotal *= htotal; in i915_get_crtc_scanoutpos() 710 if (position >= vtotal) in i915_get_crtc_scanoutpos() 711 position = vtotal - 1; in i915_get_crtc_scanoutpos() [all …]
|
D | dvo_ns2501.c | 516 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid() 542 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set()
|
D | intel_dsi_pll.c | 90 vbp = mode->vtotal - mode->vsync_end; in dsi_rr_formula()
|
D | intel_bios.c | 104 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + in fill_detail_timing_data() 122 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) in fill_detail_timing_data() 123 panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1; in fill_detail_timing_data()
|
D | intel_tv.c | 1164 .vtotal = 1104, 1436 mode_ptr->vtotal = vactive_s + 33; in intel_tv_get_modes() 1438 tmp = (u64) tv_mode->refresh * mode_ptr->vtotal; in intel_tv_get_modes()
|
D | intel_dsi.c | 718 vbp = mode->vtotal - mode->vsync_end; in set_dsi_timings() 838 txbyteclkhs(adjusted_mode->vtotal * in intel_dsi_prepare()
|
D | intel_dvo.c | 284 C(vtotal); in intel_dvo_compute_config()
|
D | intel_dsi_panel_vbt.c | 444 pclk += DIV_ROUND_UP(mode->vtotal * in vbt_panel_init()
|
D | intel_panel.c | 81 scan->vtotal == fixed_mode->vtotal) { in intel_find_panel_downclock()
|
D | intel_sdvo.c | 820 v_blank_len = mode->vtotal - mode->vdisplay; in intel_sdvo_get_dtd_from_mode() 881 mode.vtotal = mode.vdisplay + dtd->part1.v_blank; in intel_sdvo_get_mode_from_dtd() 882 mode.vtotal += (dtd->part1.v_high & 0xf) << 8; in intel_sdvo_get_mode_from_dtd()
|
D | intel_display.c | 6708 mode->vtotal = pipe_config->base.adjusted_mode.crtc_vtotal; in intel_mode_from_pipe_config() 9385 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in intel_crtc_mode_get() 11416 int vtotal; in update_scanline_offset() local 11418 vtotal = mode->crtc_vtotal; in update_scanline_offset() 11420 vtotal /= 2; in update_scanline_offset() 11422 crtc->scanline_offset = vtotal - 1; in update_scanline_offset() 14475 u32 vtotal; member 14553 error->transcoder[i].vtotal = I915_READ(VTOTAL(cpu_transcoder)); in intel_display_capture_error_state() 14614 err_printf(m, " VTOTAL: %08x\n", error->transcoder[i].vtotal); in intel_display_print_error_state()
|
D | i915_debugfs.c | 2509 mode->vsync_end, mode->vtotal, in intel_seq_print_mode()
|
/linux-4.1.27/Documentation/EDID/ |
D | HOWTO.txt | 38 VTimings: vdisp vsyncstart vsyncend vtotal 47 #define YBLANK vtotal-vdisp
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 198 unsigned int vtotal; in xtpg_s_stream() local 202 vtotal = min_t(unsigned int, XVTC_MAX_VSIZE, in xtpg_s_stream() 207 config.vsync_end = vtotal - 1; in xtpg_s_stream() 208 config.vsize = vtotal; in xtpg_s_stream()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv-risc.c | 368 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo_old() 419 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo() 455 btwrite(geo->vtotal>>8, BT848_VTOTAL_HI); in bttv_apply_geo() 456 btwrite(geo->vtotal & 0xff, BT848_VTOTAL_LO); in bttv_apply_geo()
|
D | bttvp.h | 100 u16 vtotal; member 153 u16 sheight,vscale,vdelay,vtotal; member
|
D | bttv-driver.c | 498 .vtotal = 524,
|
/linux-4.1.27/drivers/gpu/drm/msm/edp/ |
D | edp_bridge.c | 69 mode->vsync_end, mode->vtotal, in edp_bridge_mode_set()
|
D | edp_ctrl.c | 1313 EDP_TOTAL_HOR_VER_VERT(mode->vtotal)); in msm_edp_ctrl_timing_cfg() 1315 vstart_from_sync = mode->vtotal - mode->vsync_start; in msm_edp_ctrl_timing_cfg()
|
/linux-4.1.27/drivers/video/fbdev/vermilion/ |
D | vermilion.c | 782 u32 vtotal, vactive, vblank_start, vblank_end, vsync_start, vsync_end; in vmlfb_set_par_locked() local 801 vtotal = in vmlfb_set_par_locked() 805 vblank_end = vtotal; in vmlfb_set_par_locked() 819 ((clock / htotal) * 1000) / vtotal); in vmlfb_set_par_locked() 848 VML_WRITE32(par, VML_VTOTAL_A, ((vtotal - 1) << 16) | (vactive - 1)); in vmlfb_set_par_locked()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv17.c | 222 mode->vtotal / 1000; in nv17_tv_get_ld_modes() 287 mode->vtotal = output_mode->vtotal; in nv17_tv_get_hd_modes() 550 regs->fp_vert_regs[FP_TOTAL] = output_mode->vtotal - 1; in nv17_tv_mode_set()
|
D | tvnv04.c | 146 regp->tv_vtotal = adjusted_mode->vtotal; in nv04_tv_mode_set()
|
D | dfp.c | 313 regp->fp_vert_regs[FP_TOTAL] = output_mode->vtotal - 1; in nv04_dfp_mode_set() 314 regp->fp_vert_regs[FP_CRTC] = output_mode->vtotal - 5 - 1; in nv04_dfp_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 641 dsp_sty = crtc_y + crtc->mode.vtotal - crtc->mode.vsync_start; in vop_update_plane_event() 864 if (adjusted_mode->htotal == 0 || adjusted_mode->vtotal == 0) in vop_crtc_mode_fixup() 899 u16 vtotal = adjusted_mode->vtotal; in vop_crtc_mode_set() local 901 u16 vact_st = adjusted_mode->vtotal - adjusted_mode->vsync_start; in vop_crtc_mode_set() 941 VOP_CTRL_SET(vop, vtotal_pw, (vtotal << 16) | vsync_len); in vop_crtc_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_encoders.c | 327 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; in radeon_panel_mode_fixup() 345 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup()
|
D | radeon_display.c | 1795 int vbl_start, vbl_end, vtotal, ret = 0; in radeon_get_crtc_scanoutpos() local 1923 vtotal = rdev->mode_info.crtcs[crtc]->base.hwmode.crtc_vtotal; in radeon_get_crtc_scanoutpos() 1924 *vpos = *vpos - vtotal; in radeon_get_crtc_scanoutpos() 1946 vtotal = rdev->mode_info.crtcs[crtc]->base.hwmode.crtc_vtotal; in radeon_get_crtc_scanoutpos() 1948 if (vbl_start - *vpos < vtotal / 100) { in radeon_get_crtc_scanoutpos() 1949 *vpos -= vtotal; in radeon_get_crtc_scanoutpos()
|
D | rs780_dpm.c | 65 if (crtc->mode.htotal && crtc->mode.vtotal) in rs780_get_pm_mode_parameters()
|
D | radeon_combios.c | 1270 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in radeon_combios_get_lvds_info()
|
D | radeon_atombios.c | 1661 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in radeon_atombios_get_lvds_info()
|
/linux-4.1.27/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 122 | mode->vtotal; /* VTLN */ in shmob_drm_crtc_setup_geometry() 666 mode->vtotal = sdev->pdata->panel.mode.vtotal; in shmob_drm_connector_get_modes()
|
/linux-4.1.27/include/video/ |
D | gbe.h | 298 short vtotal; /* Vertical total lines */ member
|
/linux-4.1.27/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 279 vbp = mode->vtotal - mode->vsync_end; in tilcdc_crtc_mode_set() 468 vbp = mode->vtotal - mode->vsync_end; in tilcdc_crtc_mode_valid()
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 1051 u32 vsync_start, vsync_end, vblank_start, vblank_end, vtotal, vactive; in intelfbhw_mode_to_hw() local 1192 vtotal = vsync_end + var->upper_margin; in intelfbhw_mode_to_hw() 1197 vactive, vsync_start, vsync_end, vtotal, vblank_start, in intelfbhw_mode_to_hw() 1229 vtotal--; in intelfbhw_mode_to_hw() 1230 if (check_overflow(vtotal, VTOTAL_MASK, "CRTC vtotal")) in intelfbhw_mode_to_hw() 1244 *vt = (vtotal << VTOTAL_SHIFT) | (vactive << VACTIVE_SHIFT); in intelfbhw_mode_to_hw()
|
/linux-4.1.27/include/uapi/drm/ |
D | drm_mode.h | 109 __u16 vdisplay, vsync_start, vsync_end, vtotal, vscan; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | class.h | 397 __u16 vtotal; member
|
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_dc.c | 147 int vback_porch = mode->vtotal - mode->vsync_end; in atmel_hlcdc_dc_mode_valid()
|
/linux-4.1.27/Documentation/fb/ |
D | vesafb.txt | 169 vtotal:n
|
D | uvesafb.txt | 96 vtotal:n
|
/linux-4.1.27/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 424 mode->vsync_end, mode->vtotal, in dsi_mgr_bridge_mode_set()
|
D | dsi_host.c | 800 u32 v_total = mode->vtotal; in dsi_timing_setup()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
D | viafbdev.c | 190 u32 htotal, vtotal; in get_var_refresh() local 194 vtotal = var->upper_margin + var->yres + var->lower_margin in get_var_refresh() 196 return PICOS2KHZ(var->pixclock) * 1000 / (htotal * vtotal); in get_var_refresh()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 124 args.scan.vtotal, args.scan.vline); in nouveau_display_scanoutpos_head()
|
D | nv50_display.c | 1134 vactive = mode->vtotal * vscan / ilace; in nv50_crtc_mode_set() 1136 vbackp = (mode->vtotal - mode->vsync_end) * vscan / ilace; in nv50_crtc_mode_set()
|
D | nouveau_bios.c | 478 mode->vtotal = ROM16(mode_entry[35]) + 1; in nouveau_bios_fp_mode()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 1930 mode->vtotal = mode->vsync_end + 50; in vmw_guess_mode_timing() 1932 mode->clock = (u32)mode->htotal * (u32)mode->vtotal / 100 * 6; in vmw_guess_mode_timing()
|
/linux-4.1.27/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 1080 vblank = mode->vtotal - mode->vdisplay; in hdmi_av_composer()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | sor.c | 1305 value = ((mode->vtotal & 0x7fff) << 16) | (mode->htotal & 0x7fff); in tegra_sor_encoder_mode_set()
|
D | dc.c | 1155 value = ((mode->vtotal - mode->vsync_end) << 16) | in tegra_dc_set_timings()
|