Searched refs:newmode (Results 1 – 6 of 6) sorted by relevance
/drivers/video/fbdev/aty/ |
D | radeon_base.c | 1641 struct radeon_regs *newmode; in radeonfb_set_par() local 1655 newmode = kmalloc(sizeof(struct radeon_regs), GFP_KERNEL); in radeonfb_set_par() 1656 if (!newmode) in radeonfb_set_par() 1698 newmode->ppll_div_3 = rinfo->panel_info.fbk_divider | in radeonfb_set_par() 1700 newmode->ppll_ref_div = rinfo->panel_info.ref_divider; in radeonfb_set_par() 1732 newmode->crtc_gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | in radeonfb_set_par() 1736 newmode->crtc_more_cntl = rinfo->init_state.crtc_more_cntl; in radeonfb_set_par() 1737 newmode->crtc_more_cntl &= 0xfffffff0; in radeonfb_set_par() 1740 newmode->crtc_ext_cntl = VGA_ATI_LINEAR | XCRT_CNT_EN; in radeonfb_set_par() 1742 newmode->crtc_ext_cntl |= CRTC_CRT_ON; in radeonfb_set_par() [all …]
|
/drivers/video/fbdev/riva/ |
D | fbdev.c | 675 struct riva_regs newmode; in riva_load_video_mode() local 706 memcpy(&newmode, ®_template, sizeof(struct riva_regs)); in riva_load_video_mode() 720 newmode.crtc[0x0] = Set8Bits (hTotal); in riva_load_video_mode() 721 newmode.crtc[0x1] = Set8Bits (hDisplay); in riva_load_video_mode() 722 newmode.crtc[0x2] = Set8Bits (hBlankStart); in riva_load_video_mode() 723 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7); in riva_load_video_mode() 724 newmode.crtc[0x4] = Set8Bits (hStart); in riva_load_video_mode() 725 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode() 727 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0); in riva_load_video_mode() 728 newmode.crtc[0x7] = SetBitField (vTotal, 8: 8, 0:0) in riva_load_video_mode() [all …]
|
/drivers/gpu/drm/ |
D | drm_edid.c | 2814 struct drm_display_mode *newmode; in drm_dmt_modes_for_range() local 2820 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]); in drm_dmt_modes_for_range() 2821 if (newmode) { in drm_dmt_modes_for_range() 2822 drm_mode_probed_add(connector, newmode); in drm_dmt_modes_for_range() 2849 struct drm_display_mode *newmode; in drm_gtf_modes_for_range() local 2855 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); in drm_gtf_modes_for_range() 2856 if (!newmode) in drm_gtf_modes_for_range() 2859 drm_mode_fixup_1366x768(newmode); in drm_gtf_modes_for_range() 2860 if (!mode_in_range(newmode, edid, timing) || in drm_gtf_modes_for_range() 2861 !valid_inferred_mode(connector, newmode)) { in drm_gtf_modes_for_range() [all …]
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_sdvo.c | 1490 struct drm_display_mode *newmode; in psb_intel_sdvo_get_lvds_modes() local 1503 newmode = drm_mode_duplicate(connector->dev, in psb_intel_sdvo_get_lvds_modes() 1505 if (newmode != NULL) { in psb_intel_sdvo_get_lvds_modes() 1507 newmode->type = (DRM_MODE_TYPE_PREFERRED | in psb_intel_sdvo_get_lvds_modes() 1509 drm_mode_probed_add(connector, newmode); in psb_intel_sdvo_get_lvds_modes() 1514 list_for_each_entry(newmode, &connector->probed_modes, head) { in psb_intel_sdvo_get_lvds_modes() 1515 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in psb_intel_sdvo_get_lvds_modes() 1517 drm_mode_duplicate(connector->dev, newmode); in psb_intel_sdvo_get_lvds_modes()
|
D | cdv_intel_dp.c | 1752 struct drm_display_mode *newmode; in cdv_intel_dp_get_modes() local 1753 list_for_each_entry(newmode, &connector->probed_modes, in cdv_intel_dp_get_modes() 1755 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in cdv_intel_dp_get_modes() 1757 drm_mode_duplicate(dev, newmode); in cdv_intel_dp_get_modes()
|
/drivers/gpu/drm/i915/display/ |
D | intel_sdvo.c | 2291 struct drm_display_mode *newmode; in intel_sdvo_get_lvds_modes() local 2302 newmode = drm_mode_duplicate(connector->dev, in intel_sdvo_get_lvds_modes() 2304 if (newmode != NULL) { in intel_sdvo_get_lvds_modes() 2306 newmode->type = (DRM_MODE_TYPE_PREFERRED | in intel_sdvo_get_lvds_modes() 2308 drm_mode_probed_add(connector, newmode); in intel_sdvo_get_lvds_modes()
|