Home
last modified time | relevance | path

Searched refs:vtotal (Results 1 - 25 of 487) sorted by relevance

12345678910>>...20

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c21 * vtotal = vblank_start + 3
184 u32 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline_from_timestamp() local
188 scanline = min(scanline, vtotal - 1); in __intel_get_crtc_scanline_from_timestamp()
189 scanline = (scanline + vblank_start) % vtotal; in __intel_get_crtc_scanline_from_timestamp()
205 int position, vtotal; in __intel_get_crtc_scanline() local
216 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline()
218 vtotal /= 2; in __intel_get_crtc_scanline()
251 return (position + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline()
265 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local
280 vtotal in i915_get_crtc_scanoutpos()
476 int vtotal; intel_crtc_scanline_offset() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-simple.c672 .vtotal = 800 + 3 + 10 + 10,
698 .vtotal = 272 + 2 + 10 + 2,
722 .vtotal = 480 + 2 + 45 + 0,
772 .vtotal = 600 + 16 + 6 + 16,
819 .vtotal = 768 + 14 + 42,
842 .vtotal = 768 + 4 + 6 + 15,
870 .vtotal = 768 + 10 + 12 + 6,
899 .vtotal = 768 + 3 + 6 + 13,
921 .vtotal = 1080 + 25 + 10 + 10,
976 .vtotal
[all...]
H 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,
H 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,
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-simple.c723 .vtotal = 800 + 3 + 10 + 10,
749 .vtotal = 272 + 2 + 10 + 2,
773 .vtotal = 480 + 2 + 45 + 0,
883 .vtotal = 600 + 16 + 6 + 16,
908 .vtotal = 768 + 14 + 42,
931 .vtotal = 768 + 10 + 12 + 6,
991 .vtotal = 800 + 8 + 2 + 6,
1015 .vtotal = 600 + 10 + 35 + 2,
1093 .vtotal = 806,
1206 .vtotal
[all...]
H A Dpanel-edp.c994 .vtotal = 768 + 4 + 6 + 15,
1022 .vtotal = 1080 + 3 + 5 + 54,
1049 .vtotal = 1080 + 25 + 10 + 10,
1076 .vtotal = 768 + 3 + 6 + 13,
1098 .vtotal = 1080 + 3 + 14 + 19,
1126 .vtotal = 800 + 3 + 5 + 24,
1137 .vtotal = 800 + 3 + 5 + 24,
1167 .vtotal = 1440 + 3 + 6 + 31,
1179 .vtotal = 1440 + 3 + 6 + 31,
1210 .vtotal
[all...]
H 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,
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H 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()
H A Dfbmon.c721 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()
1314 unsigned int htotal, vtotal; fb_videomode_from_videomode() local
1435 u32 hfreq, vfreq, htotal, vtotal, pixclock; fb_validate_mode() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H 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()
H A 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()
1314 unsigned int htotal, vtotal; fb_videomode_from_videomode() local
1435 u32 hfreq, vfreq, htotal, vtotal, pixclock; fb_validate_mode() local
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H 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()
/kernel/linux/linux-6.6/drivers/media/i2c/
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/
H 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_modes.c253 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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dhead.c57 args->v0.vtotal = head->arm.vtotal; in nvkm_head_mthd_scanoutpos()
64 /* We don't support reading htotal/vtotal on pre-NV50 VGA, in nvkm_head_mthd_scanoutpos()
68 if (!args->v0.vtotal || !args->v0.htotal) in nvkm_head_mthd_scanoutpos()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duhead.c54 args->v0.vtotal = head->arm.vtotal; in nvkm_uhead_mthd_scanoutpos()
61 /* We don't support reading htotal/vtotal on pre-NV50 VGA, in nvkm_uhead_mthd_scanoutpos()
65 if (!args->v0.vtotal || !args->v0.htotal) in nvkm_uhead_mthd_scanoutpos()
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
H 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
H A Dcirrus.c187 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i2c/
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/
H A 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
H A Dinitextlfb.c27 int *htotal, int *vtotal, unsigned char rateindex);
165 int *vtotal, unsigned char rateindex) in sisfb_gettotalfrommode()
206 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode()
212 *vtotal *= 2; in sisfb_gettotalfrommode()
164 sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, int *vtotal, unsigned char rateindex) sisfb_gettotalfrommode() argument
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_modes.h138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
155 .vsync_end = (vd), .vtotal = (vd), .width_mm = (hd_mm), \
182 * @vtotal: vertical total size
239 u16 vtotal; member
406 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
/kernel/linux/linux-6.6/drivers/video/fbdev/sis/
H A Dinitextlfb.c27 int *htotal, int *vtotal, unsigned char rateindex);
165 int *vtotal, unsigned char rateindex) in sisfb_gettotalfrommode()
206 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode()
212 *vtotal *= 2; in sisfb_gettotalfrommode()
164 sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, int *vtotal, unsigned char rateindex) sisfb_gettotalfrommode() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_bridge.c216 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set()
217 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; in msm_hdmi_bridge_mode_set()
219 DBG("htotal=%d, vtotal=%d, hstart=%d, hend=%d, vstart=%d, vend=%d", in msm_hdmi_bridge_mode_set()
220 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set()
224 HDMI_TOTAL_V_TOTAL(mode->vtotal - 1)); in msm_hdmi_bridge_mode_set()
235 HDMI_VSYNC_TOTAL_F2_V_TOTAL(mode->vtotal)); in msm_hdmi_bridge_mode_set()

Completed in 23 milliseconds

12345678910>>...20