| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/ |
| H A D | panel-simple.c | 1010 .vtotal = 800 + 3 + 10 + 10, 1036 .vtotal = 272 + 2 + 10 + 2, 1060 .vtotal = 480 + 2 + 45 + 0, 1110 .vtotal = 600 + 16 + 6 + 16, 1157 .vtotal = 768 + 14 + 42, 1180 .vtotal = 768 + 4 + 6 + 15, 1208 .vtotal = 768 + 10 + 12 + 6, 1237 .vtotal = 768 + 3 + 6 + 13, 1259 .vtotal = 1080 + 25 + 10 + 10, 1314 .vtotal = 800 + 8 + 2 + 6, [all …]
|
| H A D | panel-arm-versatile.c | 145 .vtotal = 240 + 5 + 6 + 5, 168 .vtotal = 480 + 11 + 2 + 32, 190 .vtotal = 220 + 0 + 2 + 1, 213 .vtotal = 320 + 2 + 2 + 2,
|
| H A D | panel-tpo-tpg110.c | 113 .vtotal = 480 + 10 + 1 + 35, 129 .vtotal = 480 + 18 + 1 + 27, 145 .vtotal = 272 + 2 + 1 + 12, 161 .vtotal = 640 + 4 + 1 + 8, 177 .vtotal = 240 + 2 + 1 + 20,
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip_display_helper.c | 76 } else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh() 77 int vtotal; in drm_mode_vrefresh() local 79 vtotal = mode->vtotal; in drm_mode_vrefresh() 83 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh() 127 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo()
|
| H A D | drm_modes.c | 98 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() 218 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in drm_display_mode_from_videomode() 257 vm->vback_porch = dmode->vtotal - dmode->vsync_end; in drm_display_mode_to_videomode()
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_hdmirx.c | 67 u32 vtotal; member 206 val = src_mode->vtotal - src_mode->vdisplay; in rk628_hdmirx_init_edid() 346 u32 hact, vact, htotal, vtotal, fps, status; in rk628_hdmirx_get_timing() local 371 vtotal = val & 0xffff; in rk628_hdmirx_get_timing() 383 if (!(htotal && vtotal)) { in rk628_hdmirx_get_timing() 384 dev_info(rk628->dev, "timing err, htotal:%d, vtotal:%d\n", htotal, vtotal); in rk628_hdmirx_get_timing() 387 fps = (tmds_clk + (htotal * vtotal) / 2) / (htotal * vtotal); in rk628_hdmirx_get_timing() 411 (vtotal < (vact + vs + vbp))) { in rk628_hdmirx_get_timing() 414 htotal, vtotal, hact, vact, hofs_pix, hs, vs, vbp); in rk628_hdmirx_get_timing() 419 vfp = vtotal - vact - vs - vbp; in rk628_hdmirx_get_timing() [all …]
|
| H A D | rk628_gvi.c | 149 u16 vsync_len, vact_st, vact_end, vtotal; in rk628_gvi_enable_color_bar() local 157 vm_vback_porch = mode->vtotal - mode->vsync_end; in rk628_gvi_enable_color_bar() 173 vtotal = mode->vtotal; in rk628_gvi_enable_color_bar() 182 (vtotal - 1) << 16 | vact_end); in rk628_gvi_enable_color_bar()
|
| H A D | rk628_config.c | 30 to->vtotal = from->vtotal; in rk628_mode_copy()
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | vidmode.c | 267 rep.vtotal = VidModeGetModeValue(mode, VIDMODE_V_TOTAL); in ProcVidModeGetModeLine() 276 rep.vtotal, (unsigned long) rep.flags); in ProcVidModeGetModeLine() 297 swaps(&rep.vtotal); in ProcVidModeGetModeLine() 314 .vtotal = rep.vtotal, in ProcVidModeGetModeLine() 386 .vtotal = VidModeGetModeValue(mode, VIDMODE_V_TOTAL), in ProcVidModeGetAllModeLines() 400 swaps(&mdinf.vtotal); in ProcVidModeGetAllModeLines() 414 .vtotal = mdinf.vtotal, in ProcVidModeGetAllModeLines() 437 && VidModeGetModeValue(mode, VIDMODE_V_TOTAL) == stuff->vtotal \ 485 stuff->vtotal = oldstuff->vtotal; in ProcVidModeAddModeLine() 507 stuff->vtotal, (unsigned long) stuff->flags); in ProcVidModeAddModeLine() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A 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()
|
| H A D | lt8619c.c | 288 u32 hact, vact, htotal, vtotal, hbp, hfp, hs; in lt8619c_get_detected_timings() local 313 vtotal = (val & 0xf) << 8; in lt8619c_get_detected_timings() 315 vtotal |= val; in lt8619c_get_detected_timings() 356 if (htotal * vtotal) in lt8619c_get_detected_timings() 357 fps = (pix_clk + (htotal * vtotal) / 2) / (htotal * vtotal); in lt8619c_get_detected_timings() 370 __func__, hact, vact, htotal, vtotal, fps, bt->pixelclock, in lt8619c_get_detected_timings() 613 u32 h_offset, v_offset, v_blank, htotal, vtotal; in lt8619c_set_bt_tx_timing() local 629 vtotal = vs + vbp + vact + vfp; in lt8619c_set_bt_tx_timing() 632 v_blank = vtotal - vact; in lt8619c_set_bt_tx_timing() 643 vtotal = vtotal * double_cnt; in lt8619c_set_bt_tx_timing() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/ |
| H A D | exynos_hdmi.c | 1208 (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_apply() 1233 val = m->vtotal / 2; in hdmi_v13_mode_apply() 1234 val |= ((m->vtotal - m->vdisplay) / 2) << 11; in hdmi_v13_mode_apply() 1237 val = (m->vtotal + in hdmi_v13_mode_apply() 1239 val |= m->vtotal << 11; in hdmi_v13_mode_apply() 1242 val = ((m->vtotal / 2) + 7); in hdmi_v13_mode_apply() 1243 val |= ((m->vtotal / 2) + 2) << 12; in hdmi_v13_mode_apply() 1252 (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_apply() 1257 val = m->vtotal; in hdmi_v13_mode_apply() 1258 val |= (m->vtotal - m->vdisplay) << 11; in hdmi_v13_mode_apply() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A 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() 352 cvt.vtotal = fb_cvt_vtotal(&cvt); in fb_find_mode_cvt() 362 cvt.v_back_porch = cvt.vtotal - cvt.yres/cvt.interlace - in fb_find_mode_cvt()
|
| H A 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() 1024 u32 vtotal; member 1152 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_vfreq() 1162 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_hfreq() 1163 timings->vfreq = timings->hfreq/timings->vtotal; in fb_timings_hfreq() 1177 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_dclk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tiny/ |
| H A D | cirrus.c | 187 int vtotal, vdispend; in cirrus_mode_set() local 199 vtotal = mode->vtotal; in cirrus_mode_set() 203 vtotal -= 2; in cirrus_mode_set() 215 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_mode_set() 227 if (vtotal & 0x100) in cirrus_mode_set() 233 if (vtotal & 0x200) in cirrus_mode_set() 247 if (vtotal & 0x100) in cirrus_mode_set() 249 if (vtotal & 0x200) in cirrus_mode_set()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | dvo_ns2501.c | 217 u16 vtotal; /* number of lines generated, 82/83 */ member 244 .vtotal = 1341, 264 .vtotal = 1341, 283 .vtotal = 1341, 532 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid() 559 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set() 627 ns2501_writeb(dvo, NS2501_REG82, conf->vtotal & 0xff); in ns2501_mode_set() 628 ns2501_writeb(dvo, NS2501_REG83, conf->vtotal >> 8); in ns2501_mode_set()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i2c/ |
| H A D | ch7006_mode.c | 41 .vtotal = 525, \ 46 .vtotal = 625, \ 120 .vtotal = vt, \ 186 mode->mode.vtotal != drm_mode->vtotal || in ch7006_lookup_mode() 345 scale = norm->vtotal*fixed1; in ch7006_setup_properties() 346 do_div(scale, mode->vtotal); in ch7006_setup_properties() 352 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | head.c | 57 args->v0.vtotal = head->arm.vtotal; in nvkm_head_mthd_scanoutpos() 68 if (!args->v0.vtotal || !args->v0.htotal) in nvkm_head_mthd_scanoutpos()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/ |
| H A D | initextlfb.c | 27 int *htotal, int *vtotal, unsigned char rateindex); 165 int *vtotal, unsigned char rateindex) in sisfb_gettotalfrommode() argument 206 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode() 212 *vtotal *= 2; in sisfb_gettotalfrommode()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_modes.c | 253 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode() 309 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode() 328 drm_mode->vtotal *= 2; in drm_cvt_mode() 517 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex() 522 drm_mode->vtotal *= 2; in drm_gtf_mode_complex() 599 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in drm_display_mode_from_videomode() 640 vm->vback_porch = dmode->vtotal - dmode->vsync_end; in drm_display_mode_to_videomode() 762 if (mode->htotal == 0 || mode->vtotal == 0) in drm_mode_vrefresh() 766 den = mode->htotal * mode->vtotal; in drm_mode_vrefresh() 828 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/ |
| H A D | mdfld_device.c | 194 pipe->vtotal = PSB_RVDC32(map->vtotal); in mdfld_save_display_registers() 320 PSB_WVDC32(pipe->vtotal, map->vtotal); in mdfld_restore_display_registers() 449 .vtotal = VTOTAL_A, 471 .vtotal = VTOTAL_B, 494 .vtotal = VTOTAL_C,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_bridge.c | 217 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set() 218 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; in msm_hdmi_bridge_mode_set() 221 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set() 225 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); in msm_hdmi_bridge_mode_set() 236 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal)); in msm_hdmi_bridge_mode_set()
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_modes.h | 138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ 155 .vsync_end = (vd), .vtotal = (vd), .width_mm = (hd_mm), \ 239 u16 vtotal; member 406 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/geode/ |
| H A D | display_gx.c | 62 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; in gx_set_mode() local 141 vtotal = vblankend; in gx_set_mode() 151 ((vtotal - 1) << 16)); in gx_set_mode()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | amifb.c | 762 u_short vtotal; /* vmode */ member 1030 #define vtotal2hw(vtotal) (div2(vtotal) - 1) argument 1133 u_int htotal, vtotal; in ami_decode_var() local 1224 par->vtotal = in ami_decode_var() 1241 par->diwstop_v = par->vtotal - in ami_decode_var() 1248 if (par->diwstop_v > par->vtotal) { in ami_decode_var() 1265 if (par->vtotal > (PAL_VTOTAL + NTSC_VTOTAL) / 2) { in ami_decode_var() 1280 vtotal = PAL_VTOTAL>>1; in ami_decode_var() 1310 vtotal = NTSC_VTOTAL>>1; in ami_decode_var() 1345 par->diwstop_v = par->vtotal; in ami_decode_var() [all …]
|