Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.12.1/drivers/gpu/drm/i915/display/
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()
188 scanline = (scanline + vblank_start) % vtotal; in __intel_get_crtc_scanline_from_timestamp()
242 int position, vtotal; in __intel_get_crtc_scanline() local
250 vtotal = intel_mode_vtotal(mode); in __intel_get_crtc_scanline()
284 return (position + vtotal + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline()
332 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local
347 vtotal = intel_mode_vtotal(mode); in i915_get_crtc_scanoutpos()
377 position = min(crtc->vmax_vblank_start + scanlines, vtotal - 1); in i915_get_crtc_scanoutpos()
394 vtotal *= htotal; in i915_get_crtc_scanoutpos()
[all …]
Ddvo_ns2501.c216 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()
Dintel_dsb.c156 int vtotal = dsb_vtotal(state, crtc); in dsb_scanline_to_hw() local
158 return (scanline + vtotal - intel_crtc_scanline_offset(crtc_state)) % vtotal; in dsb_scanline_to_hw()
412 int vtotal = dsb_vtotal(state, crtc); in assert_dsl_ok() local
418 drm_WARN(crtc->base.dev, (end - start + vtotal) % vtotal == vtotal - 1, in assert_dsl_ok()
421 start, end, vtotal); in assert_dsl_ok()
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-simple.c771 .vtotal = 800 + 3 + 10 + 10,
797 .vtotal = 272 + 2 + 10 + 2,
821 .vtotal = 480 + 2 + 45 + 0,
931 .vtotal = 600 + 16 + 6 + 16,
956 .vtotal = 768 + 14 + 42,
979 .vtotal = 768 + 10 + 12 + 6,
1039 .vtotal = 800 + 8 + 2 + 6,
1063 .vtotal = 600 + 10 + 35 + 2,
1087 .vtotal = 600 + 1 + 23 + 4,
1196 .vtotal = 806,
[all …]
Dpanel-edp.c1024 .vtotal = 768 + 10 + 12 + 6,
1037 .vtotal = 768 + 4 + 6 + 15,
1065 .vtotal = 1080 + 25 + 10 + 10,
1092 .vtotal = 768 + 3 + 6 + 13,
1115 .vtotal = 800 + 3 + 5 + 24,
1126 .vtotal = 800 + 3 + 5 + 24,
1156 .vtotal = 1440 + 3 + 6 + 31,
1168 .vtotal = 1440 + 3 + 6 + 31,
1199 .vtotal = 1080 + 3 + 6 + 31,
1240 .vtotal = 1125,
[all …]
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,
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,
Dpanel-ilitek-ili9322.c545 .vtotal = 262,
558 .vtotal = 262,
572 .vtotal = 262,
586 .vtotal = 320 + 4 + 1 + 18,
599 .vtotal = 360 + 4 + 1 + 18,
613 .vtotal = 500,
627 .vtotal = 500,
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.h59 uint32_t vtotal);
62 uint32_t vtotal);
65 void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal);
67 uint16_t vtotal, uint16_t htotal);
/linux-6.12.1/drivers/media/i2c/
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.12.1/drivers/video/fbdev/core/
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()
Dfbmon.c722 int vtotal, htotal; in fb_get_monitor_limits() local
736 vtotal = mode->yres + mode->lower_margin + mode->vsync_len in fb_get_monitor_limits()
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
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 …]
/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1217 (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_apply()
1242 val = m->vtotal / 2; in hdmi_v13_mode_apply()
1243 val |= ((m->vtotal - m->vdisplay) / 2) << 11; in hdmi_v13_mode_apply()
1246 val = (m->vtotal + in hdmi_v13_mode_apply()
1248 val |= m->vtotal << 11; in hdmi_v13_mode_apply()
1251 val = ((m->vtotal / 2) + 7); in hdmi_v13_mode_apply()
1252 val |= ((m->vtotal / 2) + 2) << 12; in hdmi_v13_mode_apply()
1261 (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_apply()
1266 val = m->vtotal; in hdmi_v13_mode_apply()
1267 val |= (m->vtotal - m->vdisplay) << 11; in hdmi_v13_mode_apply()
[all …]
/linux-6.12.1/drivers/gpu/drm/gud/
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.12.1/drivers/video/fbdev/sis/
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.12.1/drivers/gpu/drm/i2c/
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.12.1/drivers/gpu/drm/tiny/
Dcirrus.c203 int vtotal, vdispend; in cirrus_mode_set() local
211 vtotal = mode->vtotal; in cirrus_mode_set()
215 vtotal -= 2; in cirrus_mode_set()
227 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_mode_set()
239 if (vtotal & 0x100) in cirrus_mode_set()
245 if (vtotal & 0x200) in cirrus_mode_set()
259 if (vtotal & 0x100) in cirrus_mode_set()
261 if (vtotal & 0x200) in cirrus_mode_set()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
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.12.1/drivers/video/fbdev/geode/
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()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_modes.c334 unsigned int htotal, vtotal; in fill_analog_mode() local
497 vtotal = vactive + vfp + vslen + vbp; in fill_analog_mode()
498 if (params->num_lines != vtotal) { in fill_analog_mode()
500 vtotal, params->num_lines); in fill_analog_mode()
507 mode->vtotal = mode->vsync_end + vbp; in fill_analog_mode()
509 if (mode->vtotal != params->num_lines) in fill_analog_mode()
736 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
792 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()
811 drm_mode->vtotal *= 2; in drm_cvt_mode()
1000 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex()
[all …]
/linux-6.12.1/drivers/gpu/drm/mgag200/
Dmgag200_mode.c208 unsigned int vdispend, vsyncstr, vsyncend, vtotal, vblkstr, vblkend; in mgag200_set_mode_regs() local
225 vtotal = mode->crtc_vtotal - 2; in mgag200_set_mode_regs()
227 vblkend = vtotal + 1; in mgag200_set_mode_regs()
251 crtcext2 = ((vtotal & 0xc00) >> 10) | in mgag200_set_mode_regs()
264 WREG_CRT(0x06, vtotal & 0xff); in mgag200_set_mode_regs()
265 WREG_CRT(0x07, ((vtotal & 0x100) >> 8) | in mgag200_set_mode_regs()
270 ((vtotal & 0x200) >> 4) | 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.12.1/drivers/gpu/drm/tests/
Ddrm_modes_test.c66 KUNIT_EXPECT_EQ(test, mode->vtotal, 525); in drm_test_modes_analog_tv_ntsc_480i()
113 KUNIT_EXPECT_EQ(test, mode->vtotal, 625); in drm_test_modes_analog_tv_pal_576i()
160 KUNIT_EXPECT_EQ(test, mode->vtotal, 625); in drm_test_modes_analog_tv_mono_576i()
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp5/
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.12.1/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c194 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set()
195 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; in msm_hdmi_bridge_mode_set()
198 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set()
202 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); in msm_hdmi_bridge_mode_set()
213 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal)); in msm_hdmi_bridge_mode_set()
/linux-6.12.1/drivers/gpu/drm/bridge/adv7511/
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()

12345678910>>...12