Home
last modified time | relevance | path

Searched refs:vtotal (Results 1 – 25 of 263) sorted by relevance

1234567891011

/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_vblank.c183 u32 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline_from_timestamp() local
187 scanline = min(scanline, vtotal - 1); in __intel_get_crtc_scanline_from_timestamp()
204 int position, vtotal; in __intel_get_crtc_scanline() local
215 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline()
217 vtotal /= 2; in __intel_get_crtc_scanline()
279 vtotal = mode->crtc_vtotal; in i915_get_crtc_scanoutpos()
286 vtotal /= 2; in i915_get_crtc_scanoutpos()
331 vtotal *= htotal; in i915_get_crtc_scanoutpos()
342 if (position >= vtotal) in i915_get_crtc_scanoutpos()
343 position = vtotal - 1; in i915_get_crtc_scanoutpos()
[all …]
A Ddvo_ns2501.c217 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()
/linux-6.3-rc2/drivers/gpu/drm/panel/
A Dpanel-simple.c753 .vtotal = 272 + 2 + 10 + 2,
777 .vtotal = 480 + 2 + 45 + 0,
882 .vtotal = 768 + 14 + 42,
933 .vtotal = 800 + 8 + 2 + 6,
981 .vtotal = 800 + 6 + 4 + 10,
1035 .vtotal = 806,
1248 .vtotal = 272 + 8 + 8 + 8,
1405 .vtotal = 768 + 4 + 4 + 4,
1615 .vtotal = 240 + 4 + 18,
1953 .vtotal = 272 + 8 + 1 + 8,
[all …]
A Dpanel-edp.c964 .vtotal = 768 + 4 + 6 + 15,
990 .vtotal = 768 + 10 + 12 + 6,
1016 .vtotal = 1080 + 3 + 5 + 54,
1070 .vtotal = 768 + 3 + 6 + 13,
1120 .vtotal = 800 + 3 + 5 + 24,
1131 .vtotal = 800 + 3 + 5 + 24,
1204 .vtotal = 1080 + 3 + 6 + 31,
1245 .vtotal = 1125,
1438 .vtotal = 2048 + 8 + 4 + 8,
1460 .vtotal = 1536 + 3 + 1 + 9,
[all …]
A Dpanel-arm-versatile.c145 .vtotal = 240 + 5 + 6 + 5,
168 .vtotal = 480 + 11 + 2 + 32,
190 .vtotal = 220 + 0 + 2 + 1,
213 .vtotal = 320 + 2 + 2 + 2,
A Dpanel-tpo-tpg110.c113 .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,
A Dpanel-ilitek-ili9322.c550 .vtotal = 262,
563 .vtotal = 262,
577 .vtotal = 262,
591 .vtotal = 320 + 4 + 1 + 18,
604 .vtotal = 360 + 4 + 1 + 18,
618 .vtotal = 500,
632 .vtotal = 500,
/linux-6.3-rc2/drivers/media/i2c/
A Dths8200.c66 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-6.3-rc2/drivers/video/fbdev/core/
A Dfbcvt.c45 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()
A Dfbmon.c722 int vtotal, htotal; in fb_get_monitor_limits() local
740 vtotal /= 2; in fb_get_monitor_limits()
743 vtotal *= 2; in fb_get_monitor_limits()
747 hz = (hscan + vtotal / 2) / vtotal; in fb_get_monitor_limits()
1025 u32 vtotal; member
1314 unsigned int htotal, vtotal; in fb_videomode_from_videomode() local
1347 if (htotal && vtotal) { in fb_videomode_from_videomode()
1435 u32 hfreq, vfreq, htotal, vtotal, pixclock; in fb_validate_mode() local
1469 vtotal /= 2; in fb_validate_mode()
1471 vtotal *= 2; in fb_validate_mode()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/exynos/
A Dexynos_hdmi.c1239 val = m->vtotal / 2; in hdmi_v13_mode_apply()
1243 val = (m->vtotal + in hdmi_v13_mode_apply()
1245 val |= m->vtotal << 11; in hdmi_v13_mode_apply()
1263 val = m->vtotal; in hdmi_v13_mode_apply()
1276 m->vtotal - m->vdisplay); in hdmi_v13_mode_apply()
1331 (m->vtotal / 2) + 7); in hdmi_v14_mode_apply()
1333 (m->vtotal / 2) + 2); in hdmi_v14_mode_apply()
1344 (m->vtotal / 2) + 1); in hdmi_v14_mode_apply()
1346 (m->vtotal / 2) + 1); in hdmi_v14_mode_apply()
1348 (m->vtotal / 2) + 1); in hdmi_v14_mode_apply()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/gud/
A Dgud_internal.h143 dst->vtotal = cpu_to_le16(src->vtotal); in gud_from_display_mode()
161 dst->vtotal = le16_to_cpu(src->vtotal); in gud_to_display_mode()
/linux-6.3-rc2/drivers/gpu/drm/tiny/
A Dcirrus.c192 int vtotal, vdispend; in cirrus_mode_set() local
204 vtotal = mode->vtotal; in cirrus_mode_set()
208 vtotal -= 2; in cirrus_mode_set()
220 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_mode_set()
232 if (vtotal & 0x100) in cirrus_mode_set()
238 if (vtotal & 0x200) in cirrus_mode_set()
252 if (vtotal & 0x100) in cirrus_mode_set()
254 if (vtotal & 0x200) in cirrus_mode_set()
/linux-6.3-rc2/drivers/video/fbdev/sis/
A Dinitextlfb.c27 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()
/linux-6.3-rc2/drivers/gpu/drm/mgag200/
A Dmgag200_mode.c206 unsigned int vdisplay, vsyncstart, vsyncend, vtotal; in mgag200_set_mode_regs() local
221 vtotal = mode->vtotal - 2; in mgag200_set_mode_regs()
243 crtcext2 = ((vtotal & 0xc00) >> 10) | in mgag200_set_mode_regs()
256 WREG_CRT(6, vtotal & 0xFF); in mgag200_set_mode_regs()
257 WREG_CRT(7, ((vtotal & 0x100) >> 8) | in mgag200_set_mode_regs()
262 ((vtotal & 0x200) >> 4) | in mgag200_set_mode_regs()
272 WREG_CRT(22, (vtotal + 1) & 0xFF); in mgag200_set_mode_regs()
759 if (!mode->htotal || !mode->vtotal || !mode->clock) in mgag200_calculate_mode_bandwidth()
763 total_area = mode->htotal * mode->vtotal; in mgag200_calculate_mode_bandwidth()
/linux-6.3-rc2/drivers/gpu/drm/i2c/
A Dch7006_mode.c41 .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()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Duhead.c54 args->v0.vtotal = head->arm.vtotal; in nvkm_uhead_mthd_scanoutpos()
65 if (!args->v0.vtotal || !args->v0.htotal) in nvkm_uhead_mthd_scanoutpos()
/linux-6.3-rc2/drivers/video/fbdev/geode/
A Ddisplay_gx.c62 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()
A Ddisplay_gx1.c82 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; in gx1_set_mode() local
159 vtotal = vblankend; in gx1_set_mode()
168 val = (vactive - 1) | ((vtotal - 1) << 16); in gx1_set_mode()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_modes.c334 unsigned int htotal, vtotal; in fill_analog_mode() local
497 if (params->num_lines != vtotal) { in fill_analog_mode()
499 vtotal, params->num_lines); in fill_analog_mode()
808 drm_mode->vtotal *= 2; in drm_cvt_mode()
997 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex()
1002 drm_mode->vtotal *= 2; in drm_gtf_mode_complex()
1294 den = mode->htotal * mode->vtotal; in drm_mode_vrefresh()
1358 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo()
1479 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings()
2593 out->vtotal = in->vtotal; in drm_mode_convert_to_umode()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/hdmi/
A Dhdmi_bridge.c202 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set()
203 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; in msm_hdmi_bridge_mode_set()
206 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set()
210 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); in msm_hdmi_bridge_mode_set()
221 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal)); in msm_hdmi_bridge_mode_set()
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_cmd_encoder.c35 total_lines = mode->vtotal * drm_mode_vrefresh(mode); in pingpong_tearcheck_setup()
38 __func__, mode->vtotal, drm_mode_vrefresh(mode)); in pingpong_tearcheck_setup()
63 REG_MDP5_PP_SYNC_CONFIG_HEIGHT(pp_id), (2 * mode->vtotal)); in pingpong_tearcheck_setup()
/linux-6.3-rc2/drivers/gpu/drm/bridge/adv7511/
A Dadv7533.c39 vbp = mode->vtotal - mode->vsync_end; in adv7511_dsi_config_timing_gen()
56 regmap_write(adv->regmap_cec, 0x30, mode->vtotal >> 4); in adv7511_dsi_config_timing_gen()
57 regmap_write(adv->regmap_cec, 0x31, (mode->vtotal << 4) & 0xff); in adv7511_dsi_config_timing_gen()
/linux-6.3-rc2/include/drm/
A Ddrm_modes.h138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
153 .vsync_end = (vd), .vtotal = (vd), .width_mm = (hd_mm), \
267 u16 vtotal; member
434 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
/linux-6.3-rc2/drivers/video/fbdev/
A Damifb.c1030 #define vtotal2hw(vtotal) (div2(vtotal) - 1) argument
1133 u_int htotal, vtotal; in ami_decode_var() local
1224 par->vtotal = in ami_decode_var()
1280 vtotal = PAL_VTOTAL>>1; in ami_decode_var()
1310 vtotal = NTSC_VTOTAL>>1; in ami_decode_var()
1370 vtotal = par->vtotal>>1; in ami_decode_var()
1716 custom.vtotal = vtotal2hw(par->vtotal); in ami_init_display()
1786 custom.vtotal = vtotal2hw(par->vtotal); in ami_do_blank()
2273 (copl++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()
2276 (cops++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()
[all …]

Completed in 79 milliseconds

1234567891011