| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_vblank.c | 183 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 …]
|
| D | dvo_ns2501.c | 216 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()
|
| D | intel_dsb.c | 156 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()
|
| D | intel_vrr.c | 138 int multiplier_m = 1, multiplier_n = 1, vtotal, desired_refresh_rate; in cmrr_get_vtotal() local 151 vtotal = DIV_ROUND_UP_ULL(mul_u32_u32(adjusted_mode->crtc_clock * 1000, multiplier_n), in cmrr_get_vtotal() 156 return vtotal; in cmrr_get_vtotal()
|
| D | intel_crt.c | 702 u32 vtotal, vactive; in intel_crt_load_detect() local 718 vtotal = REG_FIELD_GET(VTOTAL_MASK, save_vtotal) + 1; in intel_crt_load_detect() 753 if (vblank_start <= vactive && vblank_end >= vtotal) { in intel_crt_load_detect() 766 if (vblank_start - vactive >= vtotal - vblank_end) in intel_crt_load_detect() 769 vsample = (vtotal + vblank_end) >> 1; in intel_crt_load_detect()
|
| D | intel_tv.c | 1033 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode() 1041 mode->vtotal = mode->vdisplay + in intel_tv_mode_to_mode() 1079 int new_vtotal = mode->vtotal * vdisplay / in intel_tv_scale_mode_vert() 1082 mode->clock = mode->clock * new_vtotal / mode->vtotal; in intel_tv_scale_mode_vert() 1085 mode->vsync_start = vdisplay + vsync_start * new_vtotal / mode->vtotal; in intel_tv_scale_mode_vert() 1086 mode->vsync_end = vdisplay + vsync_end * new_vtotal / mode->vtotal; in intel_tv_scale_mode_vert() 1087 mode->vtotal = new_vtotal; in intel_tv_scale_mode_vert()
|
| D | icl_dsi.c | 855 u16 vtotal, vactive, vsync_start, vsync_end, vsync_shift; in gen11_dsi_set_transcoder_timings() local 886 vtotal = adjusted_mode->crtc_vtotal; in gen11_dsi_set_transcoder_timings() 897 vtotal = vactive + DIV_ROUND_UP(400, line_time_us); in gen11_dsi_set_transcoder_timings() 961 VACTIVE(vactive - 1) | VTOTAL(vtotal - 1)); in gen11_dsi_set_transcoder_timings() 964 if (vsync_end < vsync_start || vsync_end > vtotal) in gen11_dsi_set_transcoder_timings() 1006 VBLANK_START(vactive - 1) | VBLANK_END(vtotal - 1)); in gen11_dsi_set_transcoder_timings()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/modules/power/ |
| D | power_helpers.h | 59 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);
|
| D | power_helpers.c | 980 uint32_t vtotal) in set_replay_defer_update_coasting_vtotal() argument 982 link->replay_settings.defer_update_coasting_vtotal_table[type] = vtotal; in set_replay_defer_update_coasting_vtotal() 994 uint32_t vtotal) in set_replay_coasting_vtotal() argument 996 link->replay_settings.coasting_vtotal_table[type] = vtotal; in set_replay_coasting_vtotal() 999 void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal) in set_replay_ips_full_screen_video_src_vtotal() argument 1001 link->replay_settings.abm_with_ips_on_full_screen_video_pseudo_vtotal = vtotal; in set_replay_ips_full_screen_video_src_vtotal() 1005 uint16_t vtotal, uint16_t htotal) in calculate_replay_link_off_frame_count() argument 1013 if (htotal != 0 && vtotal != 0 && pixel_deviation_per_line != 0) in calculate_replay_link_off_frame_count() 1014 max_link_off_frame_count = htotal * max_deviation_line / (pixel_deviation_per_line * vtotal); in calculate_replay_link_off_frame_count()
|
| /openbsd/src/sys/dev/videomode/ |
| D | modelines2c.awk | 86 vtotal = $11; 112 vrefresh= int(((hrefresh * ifactor) / vtotal) + .1); 122 vsyncstart, vsyncend, vtotal, hflags "|" vflags iflags); 131 vsyncstart/2, vsyncend/2, vtotal/2,
|
| D | vesagtf.c | 624 vmp->vtotal = total_v_lines; in vesagtf_mode_params() 665 vf = 1.0 * hf / vmp->vtotal; in print_xf86_mode() 677 vmp->vdisplay, vmp->vsync_start, vmp->vsync_end, vmp->vtotal); in print_xf86_mode()
|
| D | edid.c | 278 edid->edid_modes[i].vtotal)); in edid_print() 286 edid->edid_modes[i].vtotal); in edid_print() 299 edid->edid_preferred_mode->vtotal)); in edid_print() 322 mode->htotal), mode->vtotal); in edid_search_mode() 329 edid->edid_modes[i].vtotal)) { in edid_search_mode() 415 vmp->vtotal = vactive + vblank; in edid_det_timing()
|
| D | videomode.h | 42 int vtotal; member
|
| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_modes.c | 334 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 …]
|
| D | drm_edid.c | 3506 mode->vtotal *= 2; in drm_mode_do_interlace_quirk() 3507 mode->vtotal |= 1; in drm_mode_do_interlace_quirk() 3582 mode->vtotal = mode->vdisplay + vblank; in drm_mode_detailed() 3591 if (mode->vsync_end > mode->vtotal) { in drm_mode_detailed() 3594 mode->vsync_end, mode->vtotal); in drm_mode_detailed() 3595 mode->vsync_end = mode->vtotal; in drm_mode_detailed() 4323 BUILD_BUG_ON(cea_mode_for_vic(8)->vtotal != 262 || in cea_mode_alternate_timings() 4324 cea_mode_for_vic(9)->vtotal != 262 || in cea_mode_alternate_timings() 4325 cea_mode_for_vic(12)->vtotal != 262 || in cea_mode_alternate_timings() 4326 cea_mode_for_vic(13)->vtotal != 262 || in cea_mode_alternate_timings() [all …]
|
| /openbsd/src/sys/dev/pci/drm/include/drm/ |
| D | drm_modes.h | 138 .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, \
|
| D | gud.h | 90 __le16 vtotal; member
|
| /openbsd/src/sys/dev/ic/ |
| D | mc6845reg.h | 32 char hsyncs, hsynce, vtotal, overfll; member
|
| /openbsd/src/sys/arch/armv7/omap/ |
| D | nxphdmi.c | 633 n_line = mode->vtotal; in nxphdmi_init_encoder() 647 vwin1_line_start = mode->vtotal - mode->vdisplay - 1; in nxphdmi_init_encoder() 660 vwin1_line_start = (mode->vtotal - mode->vdisplay)/2; in nxphdmi_init_encoder() 668 vwin2_line_start = vwin1_line_start + mode->vtotal/2; in nxphdmi_init_encoder() 672 vs2_line_start = vs1_line_start + mode->vtotal/2 ; in nxphdmi_init_encoder()
|
| /openbsd/src/sys/dev/fdt/ |
| D | rkvop.c | 292 u_int vtotal = crtc->mode.vtotal; in rkvop_plane_update() local 308 WIN0_DSP_YST(dst->y1 + vtotal - vsync_start); in rkvop_plane_update() 417 u_int vback_porch = adjusted_mode->vtotal - adjusted_mode->vsync_end; in rkvop_crtc_enable()
|
| D | simplepanel.c | 43 .vtotal = 1125,
|
| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| D | amdgpu_encoders.c | 170 unsigned int vblank = native_mode->vtotal - native_mode->vdisplay; in amdgpu_panel_mode_fixup() 186 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in amdgpu_panel_mode_fixup()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/modules/inc/ |
| D | mod_freesync.h | 159 unsigned int vtotal, unsigned int htotal, unsigned int pix_clk);
|
| /openbsd/src/sys/dev/pci/drm/radeon/ |
| D | radeon_encoders.c | 328 unsigned int vblank = native_mode->vtotal - native_mode->vdisplay; in radeon_panel_mode_fixup() 346 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/dce/ |
| D | dmub_replay.c | 352 cmd.replay_set_pseudo_vtotal.data.vtotal = in dmub_replay_send_cmd() 353 cmd_element->pseudo_vtotal_data.vtotal; in dmub_replay_send_cmd()
|