/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | mdfld_tpo_vid.c | 43 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; tpo_vid_get_config_mode() 53 mode->vdisplay + ((ti->vsync_offset_hi << 8) | tpo_vid_get_config_mode() 58 mode->vtotal = mode->vdisplay + tpo_vid_get_config_mode() 63 dev_dbg(dev->dev, "vdisplay is %d\n", mode->vdisplay); tpo_vid_get_config_mode() 73 mode->vdisplay = 480; tpo_vid_get_config_mode()
|
H A D | oaktrail_lvds.c | 143 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || oaktrail_lvds_mode_set() 145 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == oaktrail_lvds_mode_set() 149 mode->vdisplay) > (mode->hdisplay * oaktrail_lvds_mode_set() 239 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; oaktrail_lvds_get_configuration_mode() 249 mode->vdisplay + ((ti->vsync_offset_hi << 4) | \ oaktrail_lvds_get_configuration_mode() 254 mode->vtotal = mode->vdisplay + \ oaktrail_lvds_get_configuration_mode() 259 printk(KERN_INFO "vdisplay is %d\n", mode->vdisplay); oaktrail_lvds_get_configuration_mode()
|
H A D | mdfld_tmd_vid.c | 46 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; tmd_vid_get_config_mode() 56 mode->vdisplay + ((ti->vsync_offset_hi << 8) | \ tmd_vid_get_config_mode() 61 mode->vtotal = mode->vdisplay + \ tmd_vid_get_config_mode() 66 dev_dbg(dev->dev, "vdisplay is %d\n", mode->vdisplay); tmd_vid_get_config_mode() 76 mode->vdisplay = 854; tmd_vid_get_config_mode()
|
H A D | cdv_intel_lvds.c | 266 if (mode->vdisplay > fixed_mode->vdisplay) cdv_intel_lvds_mode_valid() 304 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; cdv_intel_lvds_mode_fixup() 374 mode->vdisplay != adjusted_mode->vdisplay) cdv_intel_lvds_mode_set() 492 crtc->saved_mode.vdisplay != 0) { cdv_intel_lvds_set_property()
|
H A D | psb_intel_lvds.c | 368 if (mode->vdisplay > fixed_mode->vdisplay) psb_intel_lvds_mode_valid() 420 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; psb_intel_lvds_mode_fixup() 489 mode->vdisplay != adjusted_mode->vdisplay) psb_intel_lvds_mode_set() 612 crtc->saved_mode.vdisplay != 0) { psb_intel_lvds_set_property()
|
H A D | mdfld_dsi_dpi.c | 440 pclk_vfp = mode->vsync_start - mode->vdisplay; mdfld_dsi_dpi_timing_calculation() 519 mode->vdisplay << 16 | mode->hdisplay); mdfld_dsi_dpi_controller_init() 700 adjusted_mode->vdisplay = fixed_mode->vdisplay; mdfld_dsi_dpi_mode_fixup() 753 mode->vdisplay << 16 | mode->hdisplay); mdfld_mipi_set_video_timing() 802 REG_WRITE(VTOTAL_A, ((mode->vtotal - 1) << 16) | (mode->vdisplay - 1)); mdfld_set_pipe_timing() 803 REG_WRITE(VBLANK_A, ((mode->vtotal - 1) << 16) | (mode->vdisplay - 1)); mdfld_set_pipe_timing() 808 ((mode->hdisplay - 1) << 16) | (mode->vdisplay - 1)); mdfld_set_pipe_timing() 873 ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); mdfld_dsi_dpi_mode_set()
|
H A D | mdfld_dsi_output.c | 284 gma_crtc->saved_mode.vdisplay != 0) { mdfld_dsi_connector_set_property() 345 fixed_mode->hdisplay, fixed_mode->vdisplay); mdfld_dsi_connector_get_modes() 378 if (mode->vdisplay != fixed_mode->vdisplay) mdfld_dsi_connector_mode_valid()
|
H A D | intel_bios.c | 171 panel_fixed_mode->vdisplay = (dvo_timing->vactive_hi << 8) | fill_detail_timing_data() 173 panel_fixed_mode->vsync_start = panel_fixed_mode->vdisplay + fill_detail_timing_data() 177 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + fill_detail_timing_data()
|
H A D | psb_intel_display.c | 288 ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); psb_intel_crtc_mode_set() 291 ((mode->hdisplay - 1) << 16) | (mode->vdisplay - 1)); psb_intel_crtc_mode_set() 420 mode->vdisplay = (vtot & 0xffff) + 1; psb_intel_crtc_mode_get()
|
H A D | tc35876x-dsi-lvds.c | 589 mode->vdisplay = 800; tc35876x_get_config_mode() 599 dev_info(&dev->pdev->dev, "vdisplay(h) = %d\n", mode->vdisplay); tc35876x_get_config_mode()
|
H A D | cdv_intel_dp.c | 522 if (mode->vdisplay > intel_dp->panel_fixed_mode->vdisplay) cdv_intel_dp_mode_valid() 884 adjusted_mode->vdisplay = fixed_mode->vdisplay; cdv_intel_fixed_panel_mode() 1096 mode->vdisplay != adjusted_mode->vdisplay) cdv_intel_dp_mode_set()
|
H A D | psb_intel_sdvo.c | 697 psb_intel_sdvo->sdvo_lvds_fixed_mode->vdisplay != height)) psb_intel_sdvo_create_preferred_input_timing() 782 mode->vdisplay = dtd->part1.v_active; psb_intel_sdvo_get_mode_from_dtd() 783 mode->vdisplay += ((dtd->part1.v_high >> 4) & 0x0f) << 8; psb_intel_sdvo_get_mode_from_dtd() 784 mode->vsync_start = mode->vdisplay; psb_intel_sdvo_get_mode_from_dtd() 791 mode->vtotal = mode->vdisplay + dtd->part1.v_blank; psb_intel_sdvo_get_mode_from_dtd() 936 mode->vdisplay)) psb_intel_sdvo_set_input_timings_for_mode() 1179 if (mode->vdisplay > psb_intel_sdvo->sdvo_lvds_fixed_mode->vdisplay) psb_intel_sdvo_mode_valid()
|
H A D | cdv_intel_hdmi.c | 192 crtc->saved_mode.vdisplay != 0) { cdv_hdmi_set_property()
|
H A D | cdv_intel_display.c | 813 ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); cdv_intel_crtc_mode_set() 816 ((mode->hdisplay - 1) << 16) | (mode->vdisplay - 1)); cdv_intel_crtc_mode_set() 964 mode->vdisplay = (vtot & 0xffff) + 1; cdv_intel_crtc_mode_get()
|
H A D | mdfld_intel_display.c | 710 adjusted_mode->vdisplay); mdfld_crtc_mode_set() 727 dev_dbg(dev->dev, "vdisplay = %d\n", mdfld_crtc_mode_set() 728 mode->vdisplay); mdfld_crtc_mode_set()
|
H A D | oaktrail_hdmi.c | 345 REG_WRITE(dspsize_reg, ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); oaktrail_crtc_hdmi_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 127 m->hdisplay, m->vdisplay, m->vrefresh); panel_simple_get_fixed_modes() 378 .vdisplay = 480, 403 .vdisplay = 600, 426 .vdisplay = 800, 449 .vdisplay = 768, 473 .vdisplay = 768, 496 .vdisplay = 768, 519 .vdisplay = 1080, 547 .vdisplay = 600, 575 .vdisplay = 768, 598 .vdisplay = 768, 621 .vdisplay = 480, 645 .vdisplay = 480, 669 .vdisplay = 480, 693 .vdisplay = 272, 740 .vdisplay = 480, 763 .vdisplay = 272, 788 .vdisplay = 800, 811 .vdisplay = 768, 835 .vdisplay = 768, 858 .vdisplay = 600, 881 .vdisplay = 1700, 904 .vdisplay = 800, 928 .vdisplay = 600, 951 .vdisplay = 768, 974 .vdisplay = 480, 1124 .vdisplay = 1280, 1152 .vdisplay = 1280, 1180 .vdisplay = 1200,
|
H A D | panel-sharp-lq101r1sx01.c | 148 err = mipi_dsi_dcs_set_page_address(left, 0, mode->vdisplay - 1); sharp_setup_symmetrical_split() 161 err = mipi_dsi_dcs_set_page_address(right, 0, mode->vdisplay - 1); sharp_setup_symmetrical_split() 282 .vdisplay = 1600, 296 default_mode.hdisplay, default_mode.vdisplay, sharp_panel_get_modes()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_modes.c | 57 mode->vdisplay, mode->vsync_start, drm_mode_debug_printmodeline() 129 * @vdisplay: vdisplay size 136 * according to the hdisplay, vdisplay, vrefresh. 150 int vdisplay, int vrefresh, drm_cvt_mode() 200 vdisplay_rnd = vdisplay / 2; drm_cvt_mode() 202 vdisplay_rnd = vdisplay; drm_cvt_mode() 209 drm_mode->vdisplay = vdisplay + 2 * vmargin; drm_cvt_mode() 218 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) drm_cvt_mode() 220 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) drm_cvt_mode() 222 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) drm_cvt_mode() 224 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) drm_cvt_mode() 226 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) drm_cvt_mode() 289 drm_mode->vsync_start = drm_mode->vdisplay + CVT_MIN_V_PORCH; drm_cvt_mode() 321 drm_mode->vsync_start = drm_mode->vdisplay + CVT_RB_VFPORCH; drm_cvt_mode() 350 * @vdisplay: vdisplay size 368 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay, drm_gtf_mode_complex() argument 417 vdisplay_rnd = vdisplay / 2; drm_gtf_mode_complex() 419 vdisplay_rnd = vdisplay; drm_gtf_mode_complex() 512 drm_mode->vdisplay = vdisplay_rnd; drm_gtf_mode_complex() 538 * @vdisplay: vdisplay size 567 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, drm_gtf_mode() argument 570 return drm_gtf_mode_complex(dev, hdisplay, vdisplay, vrefresh, drm_gtf_mode() 592 dmode->vdisplay = vm->vactive; drm_display_mode_from_videomode() 593 dmode->vsync_start = dmode->vdisplay + vm->vfront_porch; drm_display_mode_from_videomode() 633 vm->vactive = dmode->vdisplay; drm_display_mode_to_videomode() 634 vm->vfront_porch = dmode->vsync_start - dmode->vdisplay; drm_display_mode_to_videomode() 698 * Set the name of @mode to a standard format which is <hdisplay>x<vdisplay> 706 mode->hdisplay, mode->vdisplay, drm_mode_set_name() 796 p->crtc_vdisplay = p->vdisplay; drm_mode_set_crtcinfo() 947 mode1->vdisplay == mode2->vdisplay && drm_mode_equal_no_clocks_no_stereo() 982 if (mode->vdisplay == 0 || drm_mode_validate_basic() 983 mode->vsync_start < mode->vdisplay || drm_mode_validate_basic() 1013 if (maxY > 0 && mode->vdisplay > maxY) drm_mode_validate_size() 1130 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; drm_mode_compare() 149 drm_cvt_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool reduced, bool interlaced, bool margins) drm_cvt_mode() argument
|
H A D | drm_edid.c | 1394 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay) 1454 (mode->vsync_start - mode->vdisplay == 3); mode_is_rb() 1479 if (vsize != ptr->vdisplay) drm_mode_find_dmt() 1676 /* the vdisplay is calculated based on the aspect ratio */ drm_mode_std() 1704 if (m->hdisplay == hsize && m->vdisplay == vsize && drm_mode_std() 1793 (mode->vdisplay == cea_interlaced[i].h / 2)) { drm_mode_do_interlace_quirk() 1794 mode->vdisplay *= 2; drm_mode_do_interlace_quirk() 1872 mode->vdisplay = vactive; drm_mode_detailed() 1873 mode->vsync_start = mode->vdisplay + vsync_offset; drm_mode_detailed() 1875 mode->vtotal = mode->vdisplay + vblank; drm_mode_detailed() 2000 mode->vdisplay == m->vdisplay && valid_inferred_mode() 2004 mode->vdisplay <= m->vdisplay) valid_inferred_mode() 2037 if (mode->hdisplay == 1368 && mode->vdisplay == 768) { fixup_mode_1366x768() 2479 if (cea_mode->vdisplay == 240 || cea_mode->vdisplay == 480) cea_mode_alternate_clock() 2545 if (hdmi_mode->vdisplay == 4096 && hdmi_mode->hdisplay == 2160) hdmi_mode_alternate_clock() 2722 mode->vdisplay == stereo_mode->height && stereo_match_mandatory() 3739 * @vdisplay: the vertical display limit 3742 * hdisplay/vdisplay is not beyond the given limit, it will be added. 3747 int hdisplay, int vdisplay) drm_add_modes_noedid() 3756 if (vdisplay < 0) drm_add_modes_noedid() 3757 vdisplay = 0; drm_add_modes_noedid() 3761 if (hdisplay && vdisplay) { drm_add_modes_noedid() 3768 ptr->vdisplay > vdisplay) drm_add_modes_noedid() 3799 mode->vdisplay == vpref) drm_set_preferred_mode() 3746 drm_add_modes_noedid(struct drm_connector *connector, int hdisplay, int vdisplay) drm_add_modes_noedid() argument
|
H A D | drm_crtc.c | 1726 in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || drm_crtc_convert_to_umode() 1737 out->vdisplay = in->vdisplay; drm_crtc_convert_to_umode() 1775 out->vdisplay = in->vdisplay; drm_crtc_convert_umode() 2666 * drm_crtc_get_hv_timing - Fetches hdisplay/vdisplay for given mode 2669 * @vdisplay: vdisplay value to fill in 2671 * The vdisplay value will be doubled if the specified mode is a stereo mode of 2675 int *hdisplay, int *vdisplay) drm_crtc_get_hv_timing() 2682 *vdisplay = adjusted.crtc_vdisplay; drm_crtc_get_hv_timing() 2701 int hdisplay, vdisplay; drm_crtc_check_viewport() local 2703 drm_crtc_get_hv_timing(mode, &hdisplay, &vdisplay); drm_crtc_check_viewport() 2706 swap(hdisplay, vdisplay); drm_crtc_check_viewport() 2709 vdisplay > fb->height || drm_crtc_check_viewport() 2711 y > fb->height - vdisplay) { drm_crtc_check_viewport() 2713 fb->width, fb->height, hdisplay, vdisplay, x, y, drm_crtc_check_viewport() 2674 drm_crtc_get_hv_timing(const struct drm_display_mode *mode, int *hdisplay, int *vdisplay) drm_crtc_get_hv_timing() argument
|
H A D | drm_fb_helper.c | 1060 sizes.surface_height = max_t(u32, desired_mode->vdisplay + y, sizes.surface_height); drm_fb_helper_single_fb_probe() 1075 sizes.fb_height = min_t(u32, desired_mode->vdisplay + y, sizes.fb_height); drm_fb_helper_single_fb_probe() 1268 mode->vdisplay > height) drm_has_preferred_mode() 1304 mode->vdisplay != cmdline_mode->yres) drm_pick_cmdline_mode() 1469 voffset += modes[i]->vdisplay; drm_get_tile_offsets()
|
H A D | drm_crtc_helper.c | 1017 plane_state->crtc_h = crtc->mode.vdisplay; drm_helper_crtc_mode_set_base() 1021 plane_state->src_h = crtc->mode.vdisplay << 16; drm_helper_crtc_mode_set_base()
|
H A D | drm_plane_helper.c | 251 .y2 = crtc->mode.vdisplay, drm_primary_helper_update()
|
H A D | drm_atomic_helper.c | 1553 primary_state->crtc_h = set->mode->vdisplay; drm_atomic_helper_set_config() 1557 primary_state->src_h = set->mode->vdisplay << 16; drm_atomic_helper_set_config()
|
H A D | drm_irq.c | 608 DRM_DEBUG("crtc %d: hwmode: htotal %d, vtotal %d, vdisplay %d\n", drm_calc_timestamping_constants()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv17.c | 228 mode->vdisplay == tv_norm->tv_enc_mode.vdisplay) nv17_tv_get_ld_modes() 246 int vdisplay; nv17_tv_get_hd_modes() member in struct:__anon4103 262 modes[i].vdisplay > output_mode->vdisplay) nv17_tv_get_hd_modes() 266 modes[i].vdisplay == output_mode->vdisplay) { nv17_tv_get_hd_modes() 272 modes[i].vdisplay, 60, false, nv17_tv_get_hd_modes() 286 if (output_mode->vdisplay >= 1024) { nv17_tv_get_hd_modes() 324 mode->vdisplay > output_mode->vdisplay) nv17_tv_mode_valid() 494 if (tv_norm->tv_enc_mode.vdisplay == 576) { nv17_tv_mode_set() 498 } else if (tv_norm->tv_enc_mode.vdisplay == 480) { nv17_tv_mode_set() 509 if (tv_norm->tv_enc_mode.vdisplay == 576) { nv17_tv_mode_set() 515 } else if (tv_norm->tv_enc_mode.vdisplay == 480) { nv17_tv_mode_set() 549 regs->fp_vert_regs[FP_DISPLAY_END] = output_mode->vdisplay - 1; nv17_tv_mode_set() 554 regs->fp_vert_regs[FP_CRTC] = output_mode->vdisplay - 1; nv17_tv_mode_set()
|
H A D | dfp.c | 192 mode->vdisplay > nv_connector->native_mode->vdisplay) { nv04_dfp_mode_fixup() 312 regp->fp_vert_regs[FP_DISPLAY_END] = output_mode->vdisplay - 1; nv04_dfp_mode_set() 318 regp->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - 1; nv04_dfp_mode_set() 334 adjusted_mode->vdisplay == output_mode->vdisplay) /* native mode */ nv04_dfp_mode_set() 373 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; nv04_dfp_mode_set() 374 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mode->vdisplay; nv04_dfp_mode_set() 387 scale = (1 << 12) * adjusted_mode->vdisplay / output_mode->vdisplay; nv04_dfp_mode_set() 393 output_mode->vdisplay * mode_ratio / (1 << 12); nv04_dfp_mode_set() 408 diff = output_mode->vdisplay - nv04_dfp_mode_set()
|
H A D | tvmodesnv17.c | 327 mode->vdisplay * id3}; tv_setup_filter() 330 do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); tv_setup_filter() 561 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; nv17_ctv_update_rescaler() 565 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), nv17_ctv_update_rescaler() 570 vratio = crtc_mode->vdisplay * 0x800 / nv17_ctv_update_rescaler() 571 (output_mode->vdisplay - 2*vmargin) & ~3; nv17_ctv_update_rescaler() 576 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; nv17_ctv_update_rescaler()
|
H A D | crtc.c | 315 int vdisplay = mode->vdisplay; nv_crtc_mode_set_vga() local 317 vdisplay *= 2; nv_crtc_mode_set_vga() 319 vdisplay *= mode->vscan; nv_crtc_mode_set_vga() 320 if (vdisplay < 400) nv_crtc_mode_set_vga() 322 else if (vdisplay < 480) nv_crtc_mode_set_vga() 324 else if (vdisplay < 768) nv_crtc_mode_set_vga()
|
H A D | tvnv17.h | 99 int vdisplay; member in struct:nv17_tv_norm_params::__anon4105::__anon4106
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_encoders.c | 327 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; radeon_panel_mode_fixup() 329 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; radeon_panel_mode_fixup() 338 adjusted_mode->vdisplay = native_mode->vdisplay; radeon_panel_mode_fixup() 345 adjusted_mode->vtotal = native_mode->vdisplay + vblank; radeon_panel_mode_fixup() 346 adjusted_mode->vsync_start = native_mode->vdisplay + vover; radeon_panel_mode_fixup() 353 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; radeon_panel_mode_fixup()
|
H A D | radeon_connectors.c | 490 native_mode->vdisplay != 0 && radeon_fp_native_mode() 498 native_mode->vdisplay != 0) { radeon_fp_native_mode() 506 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false); radeon_fp_native_mode() 551 common_modes[i].h > native_mode->vdisplay || radeon_add_common_modes() 553 common_modes[i].h == native_mode->vdisplay)) radeon_add_common_modes() 793 mode->vdisplay != native_mode->vdisplay) radeon_fixup_lvds_native_mode() 802 mode->vdisplay == native_mode->vdisplay) { radeon_fixup_lvds_native_mode() 859 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) radeon_lvds_mode_valid() 870 (mode->vdisplay > native_mode->vdisplay)) radeon_lvds_mode_valid() 876 (mode->vdisplay != native_mode->vdisplay)) radeon_lvds_mode_valid() 903 if (native_mode->hdisplay >= 320 && native_mode->vdisplay >= 240) radeon_lvds_detect() 1139 if ((mode->hdisplay > 1024) || (mode->vdisplay > 768)) radeon_tv_mode_valid() 1668 if (native_mode->hdisplay >= 320 && native_mode->vdisplay >= 240) radeon_dp_detect() 1759 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) radeon_dp_mode_valid() 1770 (mode->vdisplay > native_mode->vdisplay)) radeon_dp_mode_valid() 1776 (mode->vdisplay != native_mode->vdisplay)) radeon_dp_mode_valid()
|
H A D | radeon_legacy_crtc.c | 52 int yres = mode->vdisplay; radeon_legacy_rmx_mode_set() 110 native_mode->vdisplay == 0) { radeon_legacy_rmx_mode_set() 116 if (yres > native_mode->vdisplay) radeon_legacy_rmx_mode_set() 117 yres = native_mode->vdisplay; radeon_legacy_rmx_mode_set() 121 if (yres == native_mode->vdisplay) radeon_legacy_rmx_mode_set() 145 / native_mode->vdisplay + 1; radeon_legacy_rmx_mode_set() 149 ((native_mode->vdisplay-1) << 12)); radeon_legacy_rmx_mode_set() 189 fp_horz_vert_active = (((native_mode->vdisplay) & 0xfff) | radeon_legacy_rmx_mode_set()
|
H A D | radeon_display.c | 1661 if ((mode->vdisplay == 480 && mode->hdisplay == 720) || /* 480p */ is_hdtv_mode() 1662 (mode->vdisplay == 576) || /* 576p */ is_hdtv_mode() 1663 (mode->vdisplay == 720) || /* 720p */ is_hdtv_mode() 1664 (mode->vdisplay == 1080)) /* 1080p */ is_hdtv_mode() 1700 mode->vdisplay < radeon_encoder->native_mode.vdisplay) radeon_crtc_scaling_mode_fixup() 1708 src_v = crtc->mode.vdisplay; radeon_crtc_scaling_mode_fixup() 1709 dst_v = radeon_crtc->native_mode.vdisplay; radeon_crtc_scaling_mode_fixup() 1727 radeon_crtc->v_border = (mode->vdisplay >> 5) + 16; radeon_crtc_scaling_mode_fixup() 1729 src_v = crtc->mode.vdisplay; radeon_crtc_scaling_mode_fixup() 1730 dst_v = crtc->mode.vdisplay - (radeon_crtc->v_border * 2); radeon_crtc_scaling_mode_fixup()
|
H A D | radeon_combios.c | 1126 lvds->native_mode.vdisplay = radeon_legacy_get_lvds_info_from_regs() 1130 lvds->native_mode.vdisplay = radeon_legacy_get_lvds_info_from_regs() 1142 (lvds->native_mode.vdisplay < 480)) { radeon_legacy_get_lvds_info_from_regs() 1144 lvds->native_mode.vdisplay = 480; radeon_legacy_get_lvds_info_from_regs() 1165 lvds->native_mode.vdisplay); radeon_legacy_get_lvds_info_from_regs() 1196 lvds->native_mode.vdisplay = RBIOS16(lcd_info + 0x1b); radeon_combios_get_lvds_info() 1199 lvds->native_mode.vdisplay); radeon_combios_get_lvds_info() 1257 (RBIOS16(tmp + 2) == lvds->native_mode.vdisplay)) { radeon_combios_get_lvds_info() 1270 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + radeon_combios_get_lvds_info() 1272 lvds->native_mode.vsync_start = lvds->native_mode.vdisplay + radeon_combios_get_lvds_info()
|
H A D | atombios_crtc.c | 1420 viewport_h = (crtc->mode.vdisplay + 1) & ~1; dce4_crtc_do_set_base() 1623 viewport_h = (crtc->mode.vdisplay + 1) & ~1; avivo_crtc_do_set_base()
|
H A D | radeon_atombios.c | 1653 lvds->native_mode.vdisplay = radeon_atombios_get_lvds_info() 1661 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + radeon_atombios_get_lvds_info() 1663 lvds->native_mode.vsync_start = lvds->native_mode.vdisplay + radeon_atombios_get_lvds_info()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 788 int vdisplay, vsyncstart, vsyncend, vtotal; mga_crtc_mode_set() local 915 vdisplay = mode->vdisplay - 1; mga_crtc_mode_set() 938 ((vdisplay & 0x100) >> 7) | mga_crtc_mode_set() 940 ((vdisplay & 0x100) >> 5) | mga_crtc_mode_set() 941 ((vdisplay & 0x100) >> 4) | /* linecomp */ mga_crtc_mode_set() 943 ((vdisplay & 0x200) >> 3) | mga_crtc_mode_set() 945 WREG_CRT(9, ((vdisplay & 0x200) >> 4) | mga_crtc_mode_set() 946 ((vdisplay & 0x200) >> 3)); mga_crtc_mode_set() 955 WREG_CRT(18, vdisplay & 0xFF); mga_crtc_mode_set() 958 WREG_CRT(21, vdisplay & 0xFF); mga_crtc_mode_set() 961 WREG_CRT(24, vdisplay & 0xFF); mga_crtc_mode_set() 974 ((vdisplay & 0x400) >> 8) | mga_crtc_mode_set() 975 ((vdisplay & 0xc00) >> 7) | mga_crtc_mode_set() 977 ((vdisplay & 0x400) >> 3); mga_crtc_mode_set() 1468 active_area = mode->hdisplay * mode->vdisplay; mga_vga_calculate_mode_bandwidth() 1493 if (mode->vdisplay > 1200) mga_vga_mode_valid() 1501 if (mode->vdisplay > 1200) mga_vga_mode_valid() 1510 if (mode->vdisplay > 1024) mga_vga_mode_valid() 1547 if ((mode->hdisplay * mode->vdisplay * (bpp/8)) > mdev->mc.vram_size) { mga_vga_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_connector.c | 55 mode->vdisplay = timings->y_res; copy_timings_omap_to_drm() 56 mode->vsync_start = mode->vdisplay + timings->vfp; copy_timings_omap_to_drm() 86 timings->y_res = mode->vdisplay; copy_timings_drm_to_omap() 87 timings->vfp = mode->vsync_start - mode->vdisplay; copy_timings_drm_to_omap() 248 mode->vdisplay, mode->vsync_start, omap_connector_mode_valid()
|
H A D | omap_crtc.c | 507 mode->vdisplay, mode->vsync_start, omap_crtc_mode_set() 520 0, 0, mode->hdisplay, mode->vdisplay, omap_crtc_mode_set() 521 x, y, mode->hdisplay, mode->vdisplay, omap_crtc_mode_set() 546 0, 0, mode->hdisplay, mode->vdisplay, omap_crtc_mode_set_base() 547 x, y, mode->hdisplay, mode->vdisplay, omap_crtc_mode_set_base() 586 0, 0, mode->hdisplay, mode->vdisplay, page_flip_worker() 587 crtc->x, crtc->y, mode->hdisplay, mode->vdisplay, page_flip_worker()
|
/linux-4.1.27/include/drm/ |
H A D | drm_modes.h | 86 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \ 116 int vdisplay; member in struct:drm_display_mode 189 int hdisplay, int vdisplay, int vrefresh, 193 int hdisplay, int vdisplay, int vrefresh, 196 int hdisplay, int vdisplay,
|
H A D | drm_crtc.h | 1270 int *hdisplay, int *vdisplay); 1440 int hdisplay, int vdisplay);
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_panel.c | 78 scan->vdisplay == fixed_mode->vdisplay && intel_find_panel_downclock() 114 adjusted_mode->vdisplay == pipe_config->pipe_src_h) intel_pch_panel_fitting() 122 y = (adjusted_mode->vdisplay - height + 1)/2; intel_pch_panel_fitting() 131 * adjusted_mode->vdisplay; intel_pch_panel_fitting() 138 height = adjusted_mode->vdisplay; intel_pch_panel_fitting() 143 y = (adjusted_mode->vdisplay - height + 1) / 2; intel_pch_panel_fitting() 149 height = adjusted_mode->vdisplay; intel_pch_panel_fitting() 157 height = adjusted_mode->vdisplay; intel_pch_panel_fitting() 204 border = (mode->vdisplay - height + 1) / 2; centre_vertically() 234 adjusted_mode->vdisplay; i965_scale_aspect() 255 adjusted_mode->vdisplay; i9xx_scale_aspect() 269 if (pipe_config->pipe_src_h != adjusted_mode->vdisplay) { i9xx_scale_aspect() 271 adjusted_mode->vdisplay); i9xx_scale_aspect() 316 adjusted_mode->vdisplay == pipe_config->pipe_src_h) intel_gmch_panel_fitting() 342 if (pipe_config->pipe_src_h != adjusted_mode->vdisplay || intel_gmch_panel_fitting()
|
H A D | dvo_ns2501.c | 515 ("is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n", ns2501_mode_valid() 516 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); ns2501_mode_valid() 524 if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) || ns2501_mode_valid() 525 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) || ns2501_mode_valid() 526 (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) { ns2501_mode_valid() 541 ("set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n", ns2501_mode_set() 542 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); ns2501_mode_set() 544 if (mode->hdisplay == 640 && mode->vdisplay == 480) ns2501_mode_set() 546 else if (mode->hdisplay == 800 && mode->vdisplay == 600) ns2501_mode_set() 548 else if (mode->hdisplay == 1024 && mode->vdisplay == 768) ns2501_mode_set()
|
H A D | dvo_ivch.c | 352 mode->vdisplay != adjusted_mode->vdisplay) { ivch_mode_set() 359 y_ratio = (((mode->vdisplay - 1) << 16) / ivch_mode_set() 360 (adjusted_mode->vdisplay - 1)) >> 2; ivch_mode_set()
|
H A D | intel_dvo.c | 257 if (mode->vdisplay > intel_dvo->panel_fixed_mode->vdisplay) intel_dvo_mode_valid() 281 C(vdisplay); intel_dvo_compute_config() 337 (adjusted_mode->vdisplay << DVO_SRCDIM_VERTICAL_SHIFT)); intel_dvo_pre_enable()
|
H A D | intel_dsi_pll.c | 83 vactive = mode->vdisplay; dsi_rr_formula() 88 vfp = mode->vsync_start - mode->vdisplay; dsi_rr_formula()
|
H A D | dvo_ch7017.c | 303 vertical_active_line_output = mode->vdisplay & 0x00ff; ch7017_mode_set() 307 (((mode->vdisplay & 0x0700) >> 8) << 3); ch7017_mode_set()
|
H A D | intel_sdvo.c | 779 intel_sdvo->sdvo_lvds_fixed_mode->vdisplay != height)) intel_sdvo_create_preferred_input_timing() 814 height = mode->vdisplay; intel_sdvo_get_dtd_from_mode() 820 v_blank_len = mode->vtotal - mode->vdisplay; intel_sdvo_get_dtd_from_mode() 824 v_sync_offset = mode->vsync_start - mode->vdisplay; intel_sdvo_get_dtd_from_mode() 872 mode.vdisplay = dtd->part1.v_active; intel_sdvo_get_mode_from_dtd() 873 mode.vdisplay += ((dtd->part1.v_high >> 4) & 0x0f) << 8; intel_sdvo_get_mode_from_dtd() 874 mode.vsync_start = mode.vdisplay; intel_sdvo_get_mode_from_dtd() 881 mode.vtotal = mode.vdisplay + dtd->part1.v_blank; intel_sdvo_get_mode_from_dtd() 1076 mode->vdisplay)) intel_sdvo_get_preferred_input_mode() 1572 if (mode->vdisplay > intel_sdvo->sdvo_lvds_fixed_mode->vdisplay) intel_sdvo_mode_valid()
|
H A D | intel_bios.c | 98 panel_fixed_mode->vdisplay = (dvo_timing->vactive_hi << 8) | fill_detail_timing_data() 100 panel_fixed_mode->vsync_start = panel_fixed_mode->vdisplay + fill_detail_timing_data() 104 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + fill_detail_timing_data() 308 fp_timing->y_res == panel_fixed_mode->vdisplay) { parse_lfp_panel_data()
|
H A D | intel_dsi.c | 660 if (mode->vdisplay > fixed_mode->vdisplay) intel_dsi_mode_valid() 716 vfp = mode->vsync_start - mode->vdisplay; set_dsi_timings() 787 adjusted_mode->vdisplay << VERTICAL_ADDRESS_SHIFT | intel_dsi_prepare()
|
H A D | intel_tv.c | 1161 .vdisplay = 1024, 1379 if (tv_mode->nbr_end < 480 && mode_ptr->vdisplay == 480) intel_tv_chose_preferred_modes() 1383 if (mode_ptr->vdisplay == 720) intel_tv_chose_preferred_modes() 1385 } else if (mode_ptr->vdisplay == 1080) intel_tv_chose_preferred_modes() 1431 mode_ptr->vdisplay = vactive_s; intel_tv_get_modes()
|
H A D | intel_lvds.c | 274 if (mode->vdisplay > fixed_mode->vdisplay) intel_lvds_mode_valid()
|
H A D | intel_overlay.c | 897 rec->dst_y < mode->vdisplay && check_overlay_dst() 898 rec->dst_y + rec->dst_height <= mode->vdisplay) check_overlay_dst()
|
H A D | intel_fbdev.c | 480 modes[i]->hdisplay, modes[i]->vdisplay, intel_fb_initial_config()
|
H A D | intel_display.c | 6695 pipe_config->base.mode.vdisplay = pipe_config->pipe_src_h; intel_get_pipe_timings() 6707 mode->vdisplay = pipe_config->base.adjusted_mode.crtc_vdisplay; intel_mode_from_pipe_config() 8922 return PAGE_ALIGN(pitch * mode->vdisplay); intel_framebuffer_size_for_mode() 8939 mode_cmd.height = mode->vdisplay; intel_framebuffer_create_for_mode() 8970 if (obj->base.size < mode->vdisplay * fb->pitches[0]) mode_fits_in_fbdev() 9384 mode->vdisplay = (vtot & 0xffff) + 1; intel_crtc_mode_get() 11601 int vdisplay, hdisplay; for_each_intel_crtc_masked() local 11603 drm_crtc_get_hv_timing(mode, &hdisplay, &vdisplay); for_each_intel_crtc_masked() 11606 hdisplay, vdisplay, for_each_intel_crtc_masked() 11608 hdisplay << 16, vdisplay << 16); for_each_intel_crtc_masked() 12169 int vdisplay, hdisplay; intel_crtc_set_config() local 12171 drm_crtc_get_hv_timing(set->mode, &hdisplay, &vdisplay); intel_crtc_set_config() 12173 0, 0, hdisplay, vdisplay, intel_crtc_set_config() 12175 hdisplay << 16, vdisplay << 16); intel_crtc_set_config()
|
H A D | intel_dp.c | 206 if (mode->vdisplay > fixed_mode->vdisplay) intel_dp_mode_valid()
|
H A D | i915_debugfs.c | 2508 mode->vdisplay, mode->vsync_start, intel_seq_print_mode()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_cmd_encoder.c | 133 REG_MDP5_PP_VSYNC_INIT_VAL(pp_id), mode->vdisplay); pingpong_tearcheck_setup() 134 mdp5_write(mdp5_kms, REG_MDP5_PP_RD_PTR_IRQ(pp_id), mode->vdisplay + 1); pingpong_tearcheck_setup() 135 mdp5_write(mdp5_kms, REG_MDP5_PP_START_POS(pp_id), mode->vdisplay); pingpong_tearcheck_setup() 209 mode->vdisplay, mode->vsync_start, mdp5_cmd_encoder_mode_set()
|
H A D | mdp5_encoder.c | 142 mode->vdisplay, mode->vsync_start, mdp5_encoder_mode_set() 183 display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_skew - 1; mdp5_encoder_mode_set()
|
H A D | mdp5_crtc.c | 256 mode->vdisplay, mode->vsync_start, mdp5_crtc_mode_set_nofb() 263 MDP5_LM_OUT_SIZE_HEIGHT(mode->vdisplay)); mdp5_crtc_mode_set_nofb() 414 uint32_t yres = crtc->mode.vdisplay; get_roi()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 40 .vdisplay = 480, \ 45 .vdisplay = 576, \ 117 .vdisplay = vd, \ 186 mode->mode.vdisplay != drm_mode->vdisplay || ch7006_lookup_mode() 358 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) ch7006_setup_properties()
|
H A D | tda998x_drv.c | 888 ref_line = 1 + mode->vsync_start - mode->vdisplay; tda998x_encoder_mode_set() 889 vwin1_line_s = mode->vtotal - mode->vdisplay - 1; tda998x_encoder_mode_set() 890 vwin1_line_e = vwin1_line_s + mode->vdisplay; tda998x_encoder_mode_set() 892 vs1_line_s = mode->vsync_start - mode->vdisplay; tda998x_encoder_mode_set() 899 ref_line = 1 + (mode->vsync_start - mode->vdisplay)/2; tda998x_encoder_mode_set() 900 vwin1_line_s = (mode->vtotal - mode->vdisplay)/2; tda998x_encoder_mode_set() 901 vwin1_line_e = vwin1_line_s + mode->vdisplay/2; tda998x_encoder_mode_set() 903 vs1_line_s = (mode->vsync_start - mode->vdisplay)/2; tda998x_encoder_mode_set() 907 vwin2_line_e = vwin2_line_s + mode->vdisplay/2; tda998x_encoder_mode_set()
|
H A D | ch7006_priv.h | 51 int vdisplay; member in struct:ch7006_tv_norm_info
|
/linux-4.1.27/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_crtc.c | 99 (crtc->mode.vdisplay * fb->pitches[0]); update_scanout() 280 vfp = mode->vsync_start - mode->vdisplay; tilcdc_crtc_mode_set() 284 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); tilcdc_crtc_mode_set() 312 reg = ((mode->vdisplay - 1) & 0x3ff) | tilcdc_crtc_mode_set() 324 if ((mode->vdisplay - 1) & 0x400) { tilcdc_crtc_mode_set() 458 if (mode->vdisplay > 2048) tilcdc_crtc_mode_valid() 462 mode->hdisplay, mode->vdisplay, tilcdc_crtc_mode_valid() 469 vfp = mode->vsync_start - mode->vdisplay; tilcdc_crtc_mode_valid() 519 bandwidth = mode->hdisplay * mode->vdisplay * tilcdc_crtc_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_hdmi.c | 1100 mode->hdisplay, mode->vdisplay, mode->vrefresh, hdmi_mode_valid() 1183 m->hdisplay, m->vdisplay, m->vrefresh); hdmi_mode_fixup() 1827 val = ((m->vsync_end - m->vdisplay) / 2); hdmi_v13_mode_set() 1828 val |= ((m->vsync_start - m->vdisplay) / 2) << 12; hdmi_v13_mode_set() 1832 val |= ((m->vtotal - m->vdisplay) / 2) << 11; hdmi_v13_mode_set() 1849 hdmi_set_reg(tg->vact_st, 2, (m->vtotal - m->vdisplay) / 2); hdmi_v13_mode_set() 1850 hdmi_set_reg(tg->vact_sz, 2, m->vdisplay / 2); hdmi_v13_mode_set() 1857 val |= (m->vtotal - m->vdisplay) << 11; hdmi_v13_mode_set() 1862 val = (m->vsync_end - m->vdisplay); hdmi_v13_mode_set() 1863 val |= ((m->vsync_start - m->vdisplay) << 12); hdmi_v13_mode_set() 1868 hdmi_set_reg(tg->vact_st, 2, m->vtotal - m->vdisplay); hdmi_v13_mode_set() 1869 hdmi_set_reg(tg->vact_sz, 2, m->vdisplay); hdmi_v13_mode_set() 1921 (m->vsync_end - m->vdisplay) / 2); hdmi_v14_mode_set() 1923 (m->vsync_start - m->vdisplay) / 2); hdmi_v14_mode_set() 1925 hdmi_set_reg(core->v1_blank, 2, (m->vtotal - m->vdisplay) / 2); hdmi_v14_mode_set() 1926 hdmi_set_reg(core->v_blank_f0, 2, m->vtotal - m->vdisplay / 2); hdmi_v14_mode_set() 1934 hdmi_set_reg(tg->vact_st, 2, (m->vtotal - m->vdisplay) / 2); hdmi_v14_mode_set() 1935 hdmi_set_reg(tg->vact_sz, 2, m->vdisplay / 2); hdmi_v14_mode_set() 1936 hdmi_set_reg(tg->vact_st2, 2, m->vtotal - m->vdisplay / 2); hdmi_v14_mode_set() 1945 m->vsync_end - m->vdisplay); hdmi_v14_mode_set() 1947 m->vsync_start - m->vdisplay); hdmi_v14_mode_set() 1949 hdmi_set_reg(core->v1_blank, 2, m->vtotal - m->vdisplay); hdmi_v14_mode_set() 1956 hdmi_set_reg(tg->vact_st, 2, m->vtotal - m->vdisplay); hdmi_v14_mode_set() 1957 hdmi_set_reg(tg->vact_sz, 2, m->vdisplay); hdmi_v14_mode_set() 2008 m->hdisplay, m->vdisplay, hdmi_mode_set()
|
H A D | exynos_drm_plane.c | 99 actual_h = exynos_plane_get_size(crtc_y, crtc_h, crtc->mode.vdisplay); exynos_plane_mode_set() 136 exynos_plane->mode_height = crtc->mode.vdisplay; exynos_plane_mode_set()
|
H A D | exynos7_drm_decon.c | 215 val = VIDTCON4_LINEVAL(mode->vdisplay - 1) | decon_commit() 219 writel(mode->vdisplay - 1, ctx->regs + LINECNT_OP_THRESHOLD); decon_commit() 457 if ((plane->crtc_y + plane->crtc_height) > mode->vdisplay) decon_win_commit() 458 plane->crtc_y = mode->vdisplay - plane->crtc_height; decon_win_commit()
|
H A D | exynos_drm_fimd.c | 414 val = VIDTCON2_LINEVAL(mode->vdisplay - 1) | fimd_commit() 416 VIDTCON2_LINEVAL_E(mode->vdisplay - 1) | fimd_commit()
|
H A D | exynos_mixer.c | 1119 h = mode->vdisplay; mixer_check_mode() 1122 mode->hdisplay, mode->vdisplay, mode->vrefresh, mixer_check_mode()
|
H A D | exynos_drm_dsi.c | 1520 vm->vactive = mode->vdisplay; exynos_dsi_mode_set() 1521 vm->vfront_porch = mode->vsync_start - mode->vdisplay; exynos_dsi_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_encoder.c | 86 mode->vdisplay != panel_mode->vdisplay) rcar_du_encoder_atomic_check()
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
H A D | sti_mixer.c | 96 yds = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); sti_mixer_set_background_area() 163 yds = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); sti_mixer_active_video_area()
|
H A D | sti_cursor.c | 152 y = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); sti_cursor_prepare_layer()
|
H A D | sti_dvo.c | 119 timing.active_lines = mode->vdisplay; dvo_awg_generate_code() 120 timing.blanking_lines = mode->vsync_start - mode->vdisplay; dvo_awg_generate_code()
|
H A D | sti_drm_crtc.c | 100 mode->vdisplay, sti_drm_crtc_mode_set()
|
H A D | sti_vtg.c | 140 tmp = (mode->vdisplay + mode->vtotal - mode->vsync_start + 1) << 16; vtg_set_mode()
|
H A D | sti_hdmi.c | 198 ymax = sti_vtg_get_line_number(hdmi->mode, hdmi->mode.vdisplay - 1); hdmi_active_area()
|
/linux-4.1.27/drivers/gpu/drm/imx/ |
H A D | ipuv3-crtc.c | 152 dev_dbg(ipu_crtc->dev, "%s: mode->vdisplay: %d\n", __func__, ipu_crtc_mode_set() 153 mode->vdisplay); ipu_crtc_mode_set() 203 0, 0, mode->hdisplay, mode->vdisplay, ipu_crtc_mode_set() 204 x, y, mode->hdisplay, mode->vdisplay, ipu_crtc_mode_set()
|
H A D | ipuv3-plane.c | 134 if (crtc_y + crtc_h > mode->vdisplay) { ipu_plane_mode_set() 135 if (crtc_y > mode->vdisplay) ipu_plane_mode_set() 137 crtc_h = mode->vdisplay - crtc_y; ipu_plane_mode_set()
|
H A D | imx-tve.c | 265 mode->hdisplay, mode->vdisplay); imx_tve_connector_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/msm/edp/ |
H A D | edp_bridge.c | 68 mode->vdisplay, mode->vsync_start, edp_bridge_mode_set()
|
H A D | edp_ctrl.c | 1333 EDP_ACTIVE_HOR_VER_VERT(mode->vdisplay)); msm_edp_ctrl_timing_cfg()
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | ast_mode.c | 798 if ((mode->hdisplay == 1680) && (mode->vdisplay == 1050)) ast_mode_valid() 800 if ((mode->hdisplay == 1280) && (mode->vdisplay == 800)) ast_mode_valid() 802 if ((mode->hdisplay == 1440) && (mode->vdisplay == 900)) ast_mode_valid() 804 if ((mode->hdisplay == 1360) && (mode->vdisplay == 768)) ast_mode_valid() 806 if ((mode->hdisplay == 1600) && (mode->vdisplay == 900)) ast_mode_valid() 810 if ((mode->hdisplay == 1920) && (mode->vdisplay == 1080)) ast_mode_valid() 813 if ((mode->hdisplay == 1920) && (mode->vdisplay == 1200)) { ast_mode_valid() 824 if (mode->vdisplay == 480) flags = MODE_OK; ast_mode_valid() 827 if (mode->vdisplay == 600) flags = MODE_OK; ast_mode_valid() 830 if (mode->vdisplay == 768) flags = MODE_OK; ast_mode_valid() 833 if (mode->vdisplay == 1024) flags = MODE_OK; ast_mode_valid() 836 if (mode->vdisplay == 1200) flags = MODE_OK; ast_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_scrn.c | 135 cmd->obj.size.height = mode->vdisplay; vmw_sou_fifo_create() 329 set->y + mode->vdisplay > fb->height) { vmw_sou_crtc_set_config() 337 mode->vdisplay != crtc->mode.vdisplay) { vmw_sou_crtc_set_config() 352 size_t size = mode->hdisplay * mode->vdisplay * 4; vmw_sou_crtc_set_config()
|
H A D | vmwgfx_ldu.c | 91 h = max(h, crtc->y + crtc->mode.vdisplay); vmw_ldu_commit_list() 124 vmw_write(dev_priv, SVGA_REG_DISPLAY_HEIGHT, crtc->mode.vdisplay); vmw_ldu_commit_list() 277 set->y + mode->vdisplay > fb->height) { vmw_ldu_crtc_set_config()
|
H A D | vmwgfx_kms.c | 540 clip.y1 >= unit->crtc.mode.vdisplay || do_surface_dirty_sou() 555 clip.y2 = unit->crtc.mode.vdisplay - clip.y1; do_surface_dirty_sou() 904 clip_y1 >= unit->crtc.mode.vdisplay || do_dmabuf_dirty_sou() 910 clip_y2 = min_t(int, clip_y2, unit->crtc.mode.vdisplay); do_dmabuf_dirty_sou() 1310 clip.y1 >= unit->crtc.mode.vdisplay || vmw_kms_present() 1325 clip.y2 = unit->crtc.mode.vdisplay - clip.y1; vmw_kms_present() 1433 clip_y2 = min(clip_y2, units[i]->crtc.mode.vdisplay); vmw_kms_readback() 1437 clip_y1 >= units[i]->crtc.mode.vdisplay || vmw_kms_readback() 1919 * @mode - Pointer to a struct drm_display_mode with hdisplay and vdisplay 1928 mode->vsync_start = mode->vdisplay + 50; vmw_guess_mode_timing() 1966 mode->vdisplay = du->pref_height; vmw_du_connector_fill_modes() 1971 mode->vdisplay)) { vmw_du_connector_fill_modes() 1990 bmode->vdisplay > max_height) vmw_du_connector_fill_modes() 1995 bmode->vdisplay)) vmw_du_connector_fill_modes()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 620 if (mode->hdisplay == high_w && mode->vdisplay < high_h) nouveau_connector_native_mode() 623 if (mode->hdisplay == high_w && mode->vdisplay == high_h && nouveau_connector_native_mode() 628 high_h = mode->vdisplay; nouveau_connector_native_mode() 640 int vdisplay; member in struct:moderec 675 mode->vdisplay <= native->vdisplay && nouveau_connector_scaler_modes_add() 677 mode->vdisplay != native->vdisplay)) { nouveau_connector_scaler_modes_add() 678 m = drm_cvt_mode(dev, mode->hdisplay, mode->vdisplay, nouveau_connector_scaler_modes_add() 843 mode->vdisplay > nv_connector->native_mode->vdisplay)) nouveau_connector_mode_valid()
|
H A D | nv50_display.c | 747 oY = omode->vdisplay; nv50_crtc_set_scale() 780 oY = min((u32)umode->vdisplay, oY); nv50_crtc_set_scale() 784 u32 aspect = (umode->hdisplay << 19) / umode->vdisplay; nv50_crtc_set_scale() 787 u32 aspect = (umode->vdisplay << 19) / umode->hdisplay; nv50_crtc_set_scale() 805 evo_data(push, umode->vdisplay << 16 | umode->hdisplay); nv50_crtc_set_scale() 814 evo_data(push, umode->vdisplay << 16 | umode->hdisplay); nv50_crtc_set_scale() 1138 vfrontp = (mode->vsync_start - mode->vdisplay) * vscan / ilace; nv50_crtc_mode_set() 1141 vblankus = (vactive - mode->vdisplay - 2) * hactive; nv50_crtc_mode_set() 1147 vblan2s = vblan2e + (mode->vdisplay * vscan / ilace); nv50_crtc_mode_set()
|
H A D | nouveau_bios.c | 475 mode->vdisplay = ROM16(mode_entry[25]) + 1; nouveau_bios_fp_mode()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | qxl_display.c | 165 qdev->monitors_config_height = mode->vdisplay; qxl_add_monitors_config_modes() 549 mode->hdisplay, mode->vdisplay, qxl_crtc_mode_fixup() 551 adjusted_mode->vdisplay); qxl_crtc_mode_fixup() 622 mode->hdisplay, mode->vdisplay, qxl_crtc_mode_set() 624 adjusted_mode->vdisplay); qxl_crtc_mode_set() 669 mode->vdisplay, surf_id); qxl_crtc_mode_set() 676 crtc->mode.hdisplay, crtc->mode.vdisplay, qxl_crtc_prepare() 778 head->height = mode->vdisplay; qxl_write_monitors_config_for_encoder() 842 qdev->monitors_config_height == mode->vdisplay) qxl_conn_mode_valid() 846 if (common_modes[i].w == mode->hdisplay && common_modes[i].h == mode->vdisplay) qxl_conn_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_connector.c | 90 if (mode->vdisplay * mode->hdisplay > udl->sku_pixel_limit) udl_mode_valid()
|
H A D | udl_modeset.c | 335 wrptr = udl_set_base8bpp(wrptr, 2 * mode->vdisplay * mode->hdisplay); udl_crtc_mode_set()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
H A D | matroxfb_g450.c | 333 unsigned int vdisplay; computeRegs() local 337 vdisplay = mt->VDisplay; computeRegs() 343 vdisplay = outd->v_total - 4; computeRegs() 353 mt->VDisplay = vdisplay; computeRegs()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
H A D | mdp4_dtv_encoder.c | 121 mode->vdisplay, mode->vsync_start, mdp4_dtv_encoder_mode_set() 144 display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_skew - 1; mdp4_dtv_encoder_mode_set()
|
H A D | mdp4_crtc.c | 257 mode->vdisplay, mode->vsync_start, mdp4_crtc_mode_set_nofb() 263 MDP4_DMA_SRC_SIZE_HEIGHT(mode->vdisplay)); mdp4_crtc_mode_set_nofb() 275 MDP4_OVLP_SIZE_HEIGHT(mode->vdisplay)); mdp4_crtc_mode_set_nofb()
|
H A D | mdp4_lcdc_encoder.c | 287 mode->vdisplay, mode->vsync_start, mdp4_lcdc_encoder_mode_set() 310 display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + lcdc_hsync_skew - 1; mdp4_lcdc_encoder_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 608 if (state->crtc_y + state->crtc_h > mode->vdisplay) atmel_hlcdc_plane_atomic_check() 609 patched_crtc_h = mode->vdisplay - state->crtc_y; atmel_hlcdc_plane_atomic_check() 688 mode->vdisplay != state->crtc_h)) atmel_hlcdc_plane_atomic_check() 708 state->crtc_h + state->crtc_y > mode->vdisplay) atmel_hlcdc_plane_atomic_check()
|
H A D | atmel_hlcdc_dc.c | 146 int vfront_porch = mode->vsync_start - mode->vdisplay; atmel_hlcdc_dc_mode_valid() 166 mode->vdisplay < 1) atmel_hlcdc_dc_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
H A D | bochs_hw.c | 156 bochs->yres = mode->vdisplay; bochs_hw_setmode()
|
H A D | bochs_kms.c | 218 unsigned long size = mode->hdisplay * mode->vdisplay * 4; bochs_connector_mode_valid()
|
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_bridge.c | 151 vend = mode->vtotal - mode->vsync_start + mode->vdisplay - 1; hdmi_bridge_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_crtc.c | 121 value = ((mode->vdisplay) << 16) /* VDLN */ shmob_drm_crtc_setup_geometry() 407 adjusted_mode->vdisplay, shmob_drm_crtc_mode_set() 663 mode->vdisplay = sdev->pdata->panel.mode.vdisplay; shmob_drm_connector_get_modes()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_crtc.c | 475 if ((adj->hdisplay == 1280 && adj->vdisplay == 720 && armada_drm_crtc_calculate_csc() 477 (adj->hdisplay == 1920 && adj->vdisplay == 1080)) { armada_drm_crtc_calculate_csc() 751 } else if (dcrtc->cursor_y + h > dcrtc->crtc.mode.vdisplay) { armada_drm_crtc_cursor_update() 754 h = max_t(int, dcrtc->crtc.mode.vdisplay - dcrtc->cursor_y, 0); armada_drm_crtc_cursor_update()
|
H A D | armada_overlay.c | 113 crtc_h = armada_limit(crtc_y, crtc_h, dcrtc->crtc.mode.vdisplay); armada_plane_update()
|
/linux-4.1.27/drivers/gpu/drm/bridge/ |
H A D | dw_hdmi.c | 1071 hdmi_writeb(hdmi, mode->vdisplay >> 8, HDMI_FC_INVACTV1); hdmi_av_composer() 1072 hdmi_writeb(hdmi, mode->vdisplay, HDMI_FC_INVACTV0); hdmi_av_composer() 1080 vblank = mode->vtotal - mode->vdisplay; hdmi_av_composer() 1089 v_de_vs = mode->vsync_start - mode->vdisplay; hdmi_av_composer()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 607 .y2 = crtc->mode.vdisplay, vop_update_plane_event() 898 u16 vdisplay = adjusted_mode->vdisplay; vop_crtc_mode_set() local 902 u16 vact_end = vact_st + vdisplay; vop_crtc_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_manager.c | 196 connector->tile_v_size = mode->vdisplay; dsi_dual_connector_tile_init() 423 mode->vdisplay, mode->vsync_start, dsi_mgr_bridge_mode_set()
|
H A D | dsi_host.c | 806 u32 va_end = va_start + mode->vdisplay; dsi_timing_setup() 842 DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL(mode->vdisplay)); dsi_timing_setup()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_mode.c | 211 vdispend = mode->vdisplay; cirrus_crtc_mode_set()
|
/linux-4.1.27/include/uapi/drm/ |
H A D | drm_mode.h | 109 __u16 vdisplay, vsync_start, vsync_end, vtotal, vscan; member in struct:drm_mode_modeinfo
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | hdmi.c | 899 if ((mode->hdisplay == 720) && ((mode->vdisplay == 480) || tegra_hdmi_encoder_mode_set() 900 (mode->vdisplay == 576))) tegra_hdmi_encoder_mode_set()
|
H A D | sor.c | 1314 vbe = vse + (mode->vsync_start - mode->vdisplay); tegra_sor_encoder_mode_set() 1320 vbs = vbe + mode->vdisplay; tegra_sor_encoder_mode_set()
|
H A D | dc.c | 1159 value = ((mode->vsync_start - mode->vdisplay) << 16) | tegra_dc_set_timings() 1163 value = (mode->vdisplay << 16) | mode->hdisplay; tegra_dc_set_timings()
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
H A D | atyfb_base.c | 796 u32 sync, vmode, vdisplay; aty_var_to_crtc() local 978 vdisplay = yres; aty_var_to_crtc() 981 vdisplay = par->lcd_height; aty_var_to_crtc() 1030 vdisplay = yres; aty_var_to_crtc() 1032 vdisplay <<= 1; aty_var_to_crtc() 1116 if (vdisplay < par->lcd_height && crtc->lcd_gen_cntl & LCD_ON) { aty_var_to_crtc() 1118 (((vdisplay * (VERT_STRETCH_RATIO0 + 1)) / par->lcd_height) & VERT_STRETCH_RATIO0)); aty_var_to_crtc()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | sm501fb.c | 312 /* vdisplay end and vsync start */ sm501fb_check_var()
|