/Linux-v4.19/drivers/gpu/drm/panel/ |
D | panel-simple.c | 398 .vtotal = 272 + 2 + 10 + 2, 423 .vtotal = 480 + 2 + 45 + 0, 448 .vtotal = 600 + 16 + 6 + 16, 471 .vtotal = 800 + 4 + 20 + 8, 494 .vtotal = 768 + 14 + 42, 518 .vtotal = 768 + 10 + 12 + 6, 541 .vtotal = 768 + 3 + 6 + 13, 564 .vtotal = 1080 + 25 + 10 + 10, 620 .vtotal = 600 + 10 + 35 + 2, 729 .vtotal = 1080 + 4 + 5 + 36, [all …]
|
D | panel-arm-versatile.c | 143 .vtotal = 240 + 5 + 6 + 5, 167 .vtotal = 480 + 11 + 2 + 32, 190 .vtotal = 220 + 0 + 2 + 1, 214 .vtotal = 320 + 2 + 2 + 2,
|
D | panel-ilitek-ili9322.c | 566 .vtotal = 262, 580 .vtotal = 262, 595 .vtotal = 262, 610 .vtotal = 320 + 4 + 1 + 18, 624 .vtotal = 360 + 4 + 1 + 18, 639 .vtotal = 500, 654 .vtotal = 500,
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 165 int vtotal, vdispend; in cirrus_crtc_mode_set() local 174 vtotal = mode->vtotal; in cirrus_crtc_mode_set() 178 vtotal -= 2; in cirrus_crtc_mode_set() 190 WREG_CRT(VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_crtc_mode_set() 202 if (vtotal & 256) in cirrus_crtc_mode_set() 208 if (vtotal & 512) in cirrus_crtc_mode_set() 222 if (vtotal & 256) in cirrus_crtc_mode_set() 224 if (vtotal & 512) in cirrus_crtc_mode_set()
|
/Linux-v4.19/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1187 (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_apply() 1212 val = m->vtotal / 2; in hdmi_v13_mode_apply() 1213 val |= ((m->vtotal - m->vdisplay) / 2) << 11; in hdmi_v13_mode_apply() 1216 val = (m->vtotal + in hdmi_v13_mode_apply() 1218 val |= m->vtotal << 11; in hdmi_v13_mode_apply() 1221 val = ((m->vtotal / 2) + 7); in hdmi_v13_mode_apply() 1222 val |= ((m->vtotal / 2) + 2) << 12; in hdmi_v13_mode_apply() 1231 (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_apply() 1236 val = m->vtotal; in hdmi_v13_mode_apply() 1237 val |= (m->vtotal - m->vdisplay) << 11; in hdmi_v13_mode_apply() [all …]
|
/Linux-v4.19/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() 1114 u32 vtotal; member 1242 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_vfreq() 1252 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_hfreq() 1253 timings->vfreq = timings->hfreq/timings->vtotal; in fb_timings_hfreq() 1267 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_dclk() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
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()
|
D | headnv04.c | 55 state->vtotal = nvkm_rd32(device, 0x680804 + hoff) & 0x0000ffff; in nv04_head_state() 56 state->vblanke = state->vtotal - 1; in nv04_head_state()
|
/Linux-v4.19/drivers/gpu/drm/ |
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() 513 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex() 518 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() 786 else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh() 790 den = mode->htotal * mode->vtotal; in drm_mode_vrefresh() 854 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | dvo_ns2501.c | 216 u16 vtotal; /* number of lines generated, 82/83 */ member 243 .vtotal = 1341, 263 .vtotal = 1341, 282 .vtotal = 1341, 531 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid() 558 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set() 626 ns2501_writeb(dvo, NS2501_REG82, conf->vtotal & 0xff); in ns2501_mode_set() 627 ns2501_writeb(dvo, NS2501_REG83, conf->vtotal >> 8); in ns2501_mode_set()
|
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_bridge.c | 225 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set() 226 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; in msm_hdmi_bridge_mode_set() 229 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set() 233 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); in msm_hdmi_bridge_mode_set() 244 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal)); in msm_hdmi_bridge_mode_set()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/gpu/drm/gma500/ |
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()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_dsi_encoder.c | 67 mode->vsync_end, mode->vtotal, in mdp4_dsi_encoder_mode_set() 82 vsync_period = mode->vtotal * mode->htotal; in mdp4_dsi_encoder_mode_set() 84 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew; in mdp4_dsi_encoder_mode_set()
|
/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/ |
D | adv7533.c | 47 vbp = mode->vtotal - mode->vsync_end; in adv7511_dsi_config_timing_gen() 64 regmap_write(adv->regmap_cec, 0x30, mode->vtotal >> 4); in adv7511_dsi_config_timing_gen() 65 regmap_write(adv->regmap_cec, 0x31, (mode->vtotal << 4) & 0xff); in adv7511_dsi_config_timing_gen()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_cmd_encoder.c | 62 total_lines_x100 = mode->vtotal * mode->vrefresh; in pingpong_tearcheck_setup() 65 __func__, mode->vtotal, mode->vrefresh); in pingpong_tearcheck_setup() 143 mode->vsync_end, mode->vtotal, in mdp5_cmd_encoder_mode_set()
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/drivers/staging/xgifb/ |
D | XGI_main_26.c | 905 unsigned int vtotal = var->upper_margin + var->yres + var->lower_margin in XGIfb_do_set_var() local 919 vtotal <<= 1; in XGIfb_do_set_var() 921 vtotal <<= 2; in XGIfb_do_set_var() 923 if (!htotal || !vtotal) { in XGIfb_do_set_var() 927 var->pixclock, htotal, vtotal); in XGIfb_do_set_var() 933 / vtotal); in XGIfb_do_set_var() 1205 unsigned int vtotal = 0; in XGIfb_check_var() local 1211 vtotal = var->upper_margin + var->yres + var->lower_margin in XGIfb_check_var() 1213 vtotal <<= 1; in XGIfb_check_var() 1215 vtotal = var->upper_margin + var->yres + var->lower_margin in XGIfb_check_var() [all …]
|
/Linux-v4.19/include/drm/ |
D | drm_modes.h | 138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ 287 int vtotal; member 441 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
|