/linux-master/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.h | 59 uint32_t vtotal); 60 void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal); 62 uint16_t vtotal, uint16_t htotal);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 22 * vtotal = vblank_start + 3 185 u32 vtotal = mode->crtc_vtotal; local 189 scanline = min(scanline, vtotal - 1); 190 scanline = (scanline + vblank_start) % vtotal; 206 int position, vtotal; local 217 vtotal = mode->crtc_vtotal; 219 vtotal /= 2; 252 return (position + crtc->scanline_offset) % vtotal; 260 int vtotal; local 262 vtotal 306 int vbl_start, vbl_end, hsync_start, htotal, vtotal; local 523 int vtotal; local [all...] |
H A D | dvo_ns2501.c | 217 u16 vtotal; /* number of lines generated, 82/83 */ member in struct:ns2501_configuration 244 .vtotal = 1341, 264 .vtotal = 1341, 283 .vtotal = 1341, 531 ("is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n", 532 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); 558 ("set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n", 559 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); 575 "vtotal : %d\n", 627 ns2501_writeb(dvo, NS2501_REG82, conf->vtotal [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | if0013.h | 27 __u16 vtotal; member in struct:nvif_head_scanoutpos_args::nvif_head_scanoutpos_v0
|
/linux-master/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; 352 cvt.vtotal = fb_cvt_vtotal(&cvt); 362 cvt.v_back_porch = cvt.vtotal - cvt.yres/cvt.interlace -
|
H A D | fbmon.c | 722 int vtotal, htotal; local 736 vtotal = mode->yres + mode->lower_margin + mode->vsync_len 740 vtotal /= 2; 743 vtotal *= 2; 747 hz = (hscan + vtotal / 2) / vtotal; 1025 u32 vtotal; member in struct:__fb_timings 1152 timings->vtotal = timings->vactive + timings->vblank; 1162 timings->vtotal = timings->vactive + timings->vblank; 1163 timings->vfreq = timings->hfreq/timings->vtotal; 1314 unsigned int htotal, vtotal, total; local 1436 u32 hfreq, vfreq, htotal, vtotal, pixclock; local [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 776 .vtotal = 800 + 3 + 10 + 10, 802 .vtotal = 272 + 2 + 10 + 2, 826 .vtotal = 480 + 2 + 45 + 0, 936 .vtotal = 600 + 16 + 6 + 16, 961 .vtotal = 768 + 14 + 42, 984 .vtotal = 768 + 10 + 12 + 6, 1044 .vtotal = 800 + 8 + 2 + 6, 1068 .vtotal = 600 + 10 + 35 + 2, 1177 .vtotal = 806, 1290 .vtotal [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-edp.c | 1017 .vtotal = 768 + 4 + 6 + 15, 1045 .vtotal = 1080 + 3 + 5 + 54, 1072 .vtotal = 1080 + 25 + 10 + 10, 1099 .vtotal = 768 + 3 + 6 + 13, 1121 .vtotal = 1080 + 3 + 14 + 19, 1149 .vtotal = 800 + 3 + 5 + 24, 1160 .vtotal = 800 + 3 + 5 + 24, 1190 .vtotal = 1440 + 3 + 6 + 31, 1202 .vtotal = 1440 + 3 + 6 + 31, 1233 .vtotal [all...] |
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,
|
/linux-master/drivers/media/i2c/ |
H A D | ths8200.c | 66 static inline unsigned vtotal(const struct v4l2_bt_timings *t) function 218 uint16_t line_start_front_porch = (vtotal(bt) - bt->vfrontporch); 265 ((vtotal(bt) >> 4) & 0xf0) + 0x7); 266 ths8200_write(sd, THS8200_DTG1_FRAME_SZ_LSB, vtotal(bt) & 0xff); 292 ths8200_write(sd, THS8200_DTG2_BP3_4_MSB, ((vtotal(bt)) >> 4) & 0x70); 295 ths8200_write(sd, THS8200_DTG2_BP3_LSB, (vtotal(bt)) & 0xff); 318 ((vtotal(bt) + 1) >> 8) & 0x7); 319 ths8200_write(sd, THS8200_DTG2_VDLY1_LSB, vtotal(bt) + 1); 356 "vertical: sync %d\n", __func__, htotal(bt), vtotal(bt),
|
/linux-master/drivers/video/fbdev/geode/ |
H A D | display_gx.c | 62 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; local 141 vtotal = vblankend; 151 ((vtotal - 1) << 16));
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | uhead.c | 54 args->v0.vtotal = head->arm.vtotal; 61 /* We don't support reading htotal/vtotal on pre-NV50 VGA, 65 if (!args->v0.vtotal || !args->v0.htotal)
|
H A D | head.h | 19 u16 vtotal; member in struct:nvkm_head::nvkm_head_state
|
H A D | nv04.c | 58 state->vtotal = nvkm_rd32(device, 0x680804 + hoff) & 0x0000ffff; 59 state->vblanke = state->vtotal - 1;
|
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_cmd_encoder.c | 35 total_lines = mode->vtotal * drm_mode_vrefresh(mode); 37 DRM_DEV_ERROR(dev, "%s: vtotal(%d) or vrefresh(%d) is 0\n", 38 __func__, mode->vtotal, drm_mode_vrefresh(mode)); 55 * Tearcheck emits a blanking signal every vclks_line * vtotal * 2 ticks on 63 REG_MDP5_PP_SYNC_CONFIG_HEIGHT(pp_id), (2 * mode->vtotal));
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_modes_test.c | 66 KUNIT_EXPECT_EQ(test, mode->vtotal, 525); 113 KUNIT_EXPECT_EQ(test, mode->vtotal, 625);
|
/linux-master/drivers/video/fbdev/sis/ |
H A D | initextlfb.c | 27 int *htotal, int *vtotal, unsigned char rateindex); 165 int *vtotal, unsigned char rateindex) 206 *vtotal = ((cr_data & 0xFF) | 212 *vtotal *= 2; 164 sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, int *vtotal, unsigned char rateindex) argument
|
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_internal.h | 143 dst->vtotal = cpu_to_le16(src->vtotal); 161 dst->vtotal = le16_to_cpu(src->vtotal);
|
/linux-master/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_bridge.c | 194 vstart = mode->vtotal - mode->vsync_start - 1; 195 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; 197 DBG("htotal=%d, vtotal=%d, hstart=%d, hend=%d, vstart=%d, vend=%d", 198 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); 202 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); 213 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal));
|
/linux-master/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 || 345 scale = norm->vtotal*fixed1; 346 do_div(scale, mode->vtotal); 352 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4;
|
/linux-master/drivers/gpu/drm/tiny/ |
H A D | cirrus.c | 203 int vtotal, vdispend; local 211 vtotal = mode->vtotal; 215 vtotal -= 2; 227 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); 239 if (vtotal & 0x100) 245 if (vtotal & 0x200) 259 if (vtotal & 0x100) 261 if (vtotal & 0x200)
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_modes.c | 334 unsigned int htotal, vtotal; local 496 vtotal = vactive + vfp + vslen + vbp; 497 if (params->num_lines != vtotal) { 499 vtotal, params->num_lines); 506 mode->vtotal = mode->vsync_end + vbp; 508 if (mode->vtotal != params->num_lines) 733 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + 789 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; 808 drm_mode->vtotal *= 2; 997 drm_mode->vtotal [all...] |
/linux-master/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_dsi_encoder.c | 54 vsync_period = mode->vtotal * mode->htotal; 56 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew;
|
/linux-master/include/drm/ |
H A D | drm_modes.h | 138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ 153 .vsync_end = (vd), .vtotal = (vd), .width_mm = (hd_mm), \ 207 * @vtotal: vertical total size 267 u16 vtotal; member in struct:drm_display_mode 434 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
|