Home
last modified time | relevance | path

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

1234

/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/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/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/panel/
H A Dpanel-arm-versatile.c144 .vtotal = 240 + 5 + 6 + 5,
167 .vtotal = 480 + 11 + 2 + 32,
189 .vtotal = 220 + 0 + 2 + 1,
212 .vtotal = 320 + 2 + 2 + 2,
H A Dpanel-sitronix-st7703.c143 .vtotal = 1440 + 20 + 4 + 12,
322 .vtotal = 1440 + 18 + 10 + 17,
409 .vtotal = 480 + 18 + 2 + 28,
493 .vtotal = 720 + 15 + 3 + 11,
579 .vtotal = 1280 + 16 + 4 + 14,
661 .vtotal = 480 + 17 + 5 + 13,
756 .vtotal = 1024 + 18 + 6 + 16,
H A Dpanel-novatek-nt35560.c69 .vtotal = 864 + 14 + 1 + 11,
88 .vtotal = 864 + 1 + 1 + 1,
111 .vtotal = 854 + 14 + 1 + 11,
130 .vtotal = 854 + 1 + 1 + 1,
H A Dpanel-himax-hx8394.c190 .vtotal = 1440 + 9 + 7 + 7,
319 .vtotal = 1280 + 12 + 10 + 10,
466 .vtotal = 1280 + 14 + 13,
607 .vtotal = 1920 + 16 + 2 + 14,
720 .vtotal = 1280 + 30 + 10 + 4,
743 .vtotal = 1280 + 15 + 12 + 4,
H A Dpanel-visionox-rm692e5.c249 .vtotal = 2400 + 16 + 21 + 16,
263 .vtotal = 2400 + 16 + 21 + 16,
277 .vtotal = 2400 + 16 + 21 + 16,
/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()
H A Dnv04.c58 state->vtotal = nvkm_rd32(device, 0x680804 + hoff) & 0x0000ffff; in nv04_head_state()
59 state->vblanke = state->vtotal - 1; in nv04_head_state()
/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/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/drivers/video/fbdev/geode/
H 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/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_dsi_encoder.c54 vsync_period = mode->vtotal * mode->htotal; in mdp4_dsi_encoder_mode_set()
56 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew; in mdp4_dsi_encoder_mode_set()
H A Dmdp4_dtv_encoder.c58 vsync_period = mode->vtotal * mode->htotal; in mdp4_dtv_encoder_mode_set()
60 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp4_dtv_encoder_mode_set()
/linux/drivers/gpu/drm/sti/
H A Dsti_vtg.c228 risesync_top = mode->vtotal; in vtg_set_hsync_vsync_pos()
254 writel(mode->vtotal * 2, vtg->regs + VTG_HLFLN); in vtg_set_mode()
322 u32 start_line = mode.vtotal - mode.vsync_start + 1; in sti_vtg_get_line_number()
/linux/drivers/gpu/drm/gma500/
H A Dintel_bios.c166 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + in fill_detail_timing_data()
184 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) in fill_detail_timing_data()
185 panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1; in fill_detail_timing_data()
259 if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) { in parse_lfp_panel_data()
H A Doaktrail_device.c148 p->vtotal = PSB_RVDC32(VTOTAL_A); in oaktrail_save_display_registers()
268 PSB_WVDC32(p->vtotal, VTOTAL_A); in oaktrail_restore_display_registers()
406 .vtotal = VTOTAL_A,
430 .vtotal = VTOTAL_B,
H A Dpsb_intel_display.c274 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in psb_intel_crtc_mode_set()
397 vtot = REG_READ(map->vtotal); in psb_intel_crtc_mode_get()
403 vtot = p->vtotal; in psb_intel_crtc_mode_get()
417 mode->vtotal = ((vtot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
H A Dpsb_device.c208 .vtotal = VTOTAL_A,
232 .vtotal = VTOTAL_B,
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0013.h27 __u16 vtotal; member
/linux/drivers/gpu/drm/imx/dc/
H A Ddc-fg.c143 u32 vact, vtotal, vsync, vsbp; in dc_fg_cfg_videomode() local
153 vtotal = m->crtc_vtotal; in dc_fg_cfg_videomode()
160 regmap_write(fg->reg, VTCFG1, VACT(vact) | VTOTAL(vtotal)); in dc_fg_cfg_videomode()
/linux/arch/m68k/include/asm/
H A Damigahw.h187 unsigned short vtotal; member
269 amiga_custom.vtotal = 223; /* 70 Hz */ in amifb_video_off()

1234