Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c806 .vtotal = 800 + 3 + 10 + 10,
832 .vtotal = 272 + 2 + 10 + 2,
856 .vtotal = 480 + 2 + 45 + 0,
966 .vtotal = 600 + 16 + 6 + 16,
991 .vtotal = 768 + 14 + 42,
1014 .vtotal = 768 + 10 + 12 + 6,
1099 .vtotal = 600 + 10 + 35 + 2,
1123 .vtotal = 600 + 1 + 23 + 4,
1232 .vtotal = 806,
1369 .vtotal = 1080 + 4 + 5 + 36,
[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,
H A 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,
H A Dpanel-newvision-nv3052c.c575 .vtotal = 480 + 5 + 2 + 13,
587 .vtotal = 480 + 5 + 2 + 13,
602 .vtotal = 480 + 12 + 4 + 6,
617 .vtotal = 480 + 21 + 4 + 15,
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.h59 uint32_t vtotal);
62 uint32_t vtotal);
70 void set_replay_low_rr_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal);
72 uint16_t vtotal, uint16_t htotal);
/linux/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()
H A Dlt6911uxe.c83 u32 vtotal; member
137 bt->vsync = lt6911uxe->cur_mode.vtotal - lt6911uxe->cur_mode.height; in lt6911uxe_get_detected_timings()
223 u64 half_htotal, vtotal, half_width, height; in lt6911uxe_status_update() local
250 cci_read(lt6911uxe->regmap, REG_V_TOTAL, &vtotal, &ret); in lt6911uxe_status_update()
251 if (ret || half_htotal == 0 || vtotal == 0) { in lt6911uxe_status_update()
256 fps = div_u64(half_pix_clk, half_htotal * vtotal); in lt6911uxe_status_update()
287 lt6911uxe->cur_mode.vtotal = vtotal; in lt6911uxe_status_update()
/linux/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.c727 int vtotal, htotal; in fb_get_monitor_limits() local
741 vtotal = mode->yres + mode->lower_margin + mode->vsync_len in fb_get_monitor_limits()
745 vtotal /= 2; in fb_get_monitor_limits()
748 vtotal *= 2; in fb_get_monitor_limits()
752 hz = (hscan + vtotal / 2) / vtotal; in fb_get_monitor_limits()
1030 u32 vtotal; member
1157 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_vfreq()
1167 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_hfreq()
1168 timings->vfreq = timings->hfreq/timings->vtotal; in fb_timings_hfreq()
1182 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_dclk()
[all …]
/linux/drivers/gpu/drm/exynos/
H A Dexynos_hdmi.c1222 (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_apply()
1247 val = m->vtotal / 2; in hdmi_v13_mode_apply()
1248 val |= ((m->vtotal - m->vdisplay) / 2) << 11; in hdmi_v13_mode_apply()
1251 val = (m->vtotal + in hdmi_v13_mode_apply()
1253 val |= m->vtotal << 11; in hdmi_v13_mode_apply()
1256 val = ((m->vtotal / 2) + 7); in hdmi_v13_mode_apply()
1257 val |= ((m->vtotal / 2) + 2) << 12; in hdmi_v13_mode_apply()
1266 (m->vtotal - m->vdisplay) / 2); in hdmi_v13_mode_apply()
1271 val = m->vtotal; in hdmi_v13_mode_apply()
1272 val |= (m->vtotal - m->vdisplay) << 11; in hdmi_v13_mode_apply()
[all …]
/linux/drivers/gpu/drm/tiny/
H A Dcirrus-qemu.c161 int vtotal, vdispend; in cirrus_mode_set() local
169 vtotal = mode->vtotal; in cirrus_mode_set()
173 vtotal -= 2; in cirrus_mode_set()
185 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_mode_set()
197 if (vtotal & 0x100) in cirrus_mode_set()
203 if (vtotal & 0x200) in cirrus_mode_set()
217 if (vtotal & 0x100) in cirrus_mode_set()
219 if (vtotal & 0x200) in cirrus_mode_set()
/linux/drivers/gpu/drm/gud/
H A Dgud_internal.h145 dst->vtotal = cpu_to_le16(src->vtotal); in gud_from_display_mode()
163 dst->vtotal = le16_to_cpu(src->vtotal); in gud_to_display_mode()
/linux/drivers/gpu/drm/i915/display/
H 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/drivers/gpu/drm/nouveau/dispnv04/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()
/linux/drivers/video/fbdev/sis/
H 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/drivers/gpu/drm/
H A 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/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c218 unsigned int vdispend, vsyncstr, vsyncend, vtotal, vblkstr, vblkend; in mgag200_set_mode_regs() local
235 vtotal = mode->crtc_vtotal - 2; in mgag200_set_mode_regs()
237 vblkend = vtotal + 1; in mgag200_set_mode_regs()
261 crtcext2 = ((vtotal & 0xc00) >> 10) | in mgag200_set_mode_regs()
274 WREG_CRT(0x06, vtotal & 0xff); in mgag200_set_mode_regs()
275 WREG_CRT(0x07, ((vtotal & 0x100) >> 8) | in mgag200_set_mode_regs()
280 ((vtotal & 0x200) >> 4) | in mgag200_set_mode_regs()
770 if (!mode->htotal || !mode->vtotal || !mode->clock) in mgag200_calculate_mode_bandwidth()
774 total_area = mode->htotal * mode->vtotal; in mgag200_calculate_mode_bandwidth()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H 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/drivers/video/fbdev/geode/
H A Ddisplay_gx.c63 int vactive, vblankstart, vsyncstart, vsyncend, vblankend, vtotal; in gx_set_mode() local
142 vtotal = vblankend; in gx_set_mode()
152 ((vtotal - 1) << 16)); in gx_set_mode()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H 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/drivers/gpu/drm/tests/
H A Ddrm_modes_test.c70 KUNIT_EXPECT_EQ(test, mode->vtotal, 525); in drm_test_modes_analog_tv_ntsc_480i()
128 KUNIT_EXPECT_EQ(test, mode->vtotal, 625); in drm_test_modes_analog_tv_pal_576i()
186 KUNIT_EXPECT_EQ(test, mode->vtotal, 625); in drm_test_modes_analog_tv_mono_576i()
/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7533.c39 vbp = mode->vtotal - mode->vsync_end; in adv7533_dsi_config_timing_gen()
56 regmap_write(adv->regmap_cec, 0x30, mode->vtotal >> 4); in adv7533_dsi_config_timing_gen()
57 regmap_write(adv->regmap_cec, 0x31, (mode->vtotal << 4) & 0xff); in adv7533_dsi_config_timing_gen()
/linux/drivers/video/fbdev/
H A Damifb.c762 u_short vtotal; /* vmode */ member
1030 #define vtotal2hw(vtotal) (div2(vtotal) - 1) argument
1133 u_int htotal, vtotal; in ami_decode_var() local
1224 par->vtotal = in ami_decode_var()
1241 par->diwstop_v = par->vtotal - in ami_decode_var()
1248 if (par->diwstop_v > par->vtotal) { in ami_decode_var()
1265 if (par->vtotal > (PAL_VTOTAL + NTSC_VTOTAL) / 2) { in ami_decode_var()
1280 vtotal = PAL_VTOTAL>>1; in ami_decode_var()
1310 vtotal = NTSC_VTOTAL>>1; in ami_decode_var()
1345 par->diwstop_v = par->vtotal; in ami_decode_var()
[all …]
/linux/include/drm/
H 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, \

12345678910>>...12