Home
last modified time | relevance | path

Searched refs:newmode (Results 1 – 7 of 7) sorted by relevance

/drivers/video/fbdev/aty/
Dradeon_base.c1656 struct radeon_regs *newmode; in radeonfb_set_par() local
1670 newmode = kmalloc(sizeof(struct radeon_regs), GFP_KERNEL); in radeonfb_set_par()
1671 if (!newmode) in radeonfb_set_par()
1713 newmode->ppll_div_3 = rinfo->panel_info.fbk_divider | in radeonfb_set_par()
1715 newmode->ppll_ref_div = rinfo->panel_info.ref_divider; in radeonfb_set_par()
1753 newmode->crtc_gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | in radeonfb_set_par()
1757 newmode->crtc_more_cntl = rinfo->init_state.crtc_more_cntl; in radeonfb_set_par()
1758 newmode->crtc_more_cntl &= 0xfffffff0; in radeonfb_set_par()
1761 newmode->crtc_ext_cntl = VGA_ATI_LINEAR | XCRT_CNT_EN; in radeonfb_set_par()
1763 newmode->crtc_ext_cntl |= CRTC_CRT_ON; in radeonfb_set_par()
[all …]
/drivers/gpu/drm/
Ddrm_edid.c2086 struct drm_display_mode *newmode; in drm_dmt_modes_for_range() local
2092 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]); in drm_dmt_modes_for_range()
2093 if (newmode) { in drm_dmt_modes_for_range()
2094 drm_mode_probed_add(connector, newmode); in drm_dmt_modes_for_range()
2121 struct drm_display_mode *newmode; in drm_gtf_modes_for_range() local
2126 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); in drm_gtf_modes_for_range()
2127 if (!newmode) in drm_gtf_modes_for_range()
2130 fixup_mode_1366x768(newmode); in drm_gtf_modes_for_range()
2131 if (!mode_in_range(newmode, edid, timing) || in drm_gtf_modes_for_range()
2132 !valid_inferred_mode(connector, newmode)) { in drm_gtf_modes_for_range()
[all …]
/drivers/video/fbdev/riva/
Dfbdev.c679 struct riva_regs newmode; in riva_load_video_mode() local
710 memcpy(&newmode, &reg_template, sizeof(struct riva_regs)); in riva_load_video_mode()
724 newmode.crtc[0x0] = Set8Bits (hTotal); in riva_load_video_mode()
725 newmode.crtc[0x1] = Set8Bits (hDisplay); in riva_load_video_mode()
726 newmode.crtc[0x2] = Set8Bits (hBlankStart); in riva_load_video_mode()
727 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7); in riva_load_video_mode()
728 newmode.crtc[0x4] = Set8Bits (hStart); in riva_load_video_mode()
729 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode()
731 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0); in riva_load_video_mode()
732 newmode.crtc[0x7] = SetBitField (vTotal, 8: 8, 0:0) in riva_load_video_mode()
[all …]
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c1581 struct drm_display_mode *newmode; in psb_intel_sdvo_get_lvds_modes() local
1594 newmode = drm_mode_duplicate(connector->dev, in psb_intel_sdvo_get_lvds_modes()
1596 if (newmode != NULL) { in psb_intel_sdvo_get_lvds_modes()
1598 newmode->type = (DRM_MODE_TYPE_PREFERRED | in psb_intel_sdvo_get_lvds_modes()
1600 drm_mode_probed_add(connector, newmode); in psb_intel_sdvo_get_lvds_modes()
1605 list_for_each_entry(newmode, &connector->probed_modes, head) { in psb_intel_sdvo_get_lvds_modes()
1606 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in psb_intel_sdvo_get_lvds_modes()
1608 drm_mode_duplicate(connector->dev, newmode); in psb_intel_sdvo_get_lvds_modes()
Dcdv_intel_dp.c1785 struct drm_display_mode *newmode; in cdv_intel_dp_get_modes() local
1786 list_for_each_entry(newmode, &connector->probed_modes, in cdv_intel_dp_get_modes()
1788 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in cdv_intel_dp_get_modes()
1790 drm_mode_duplicate(dev, newmode); in cdv_intel_dp_get_modes()
/drivers/gpu/drm/i915/
Dintel_sdvo.c1912 struct drm_display_mode *newmode; in intel_sdvo_get_lvds_modes() local
1922 newmode = drm_mode_duplicate(connector->dev, in intel_sdvo_get_lvds_modes()
1924 if (newmode != NULL) { in intel_sdvo_get_lvds_modes()
1926 newmode->type = (DRM_MODE_TYPE_PREFERRED | in intel_sdvo_get_lvds_modes()
1928 drm_mode_probed_add(connector, newmode); in intel_sdvo_get_lvds_modes()
1939 list_for_each_entry(newmode, &connector->probed_modes, head) { in intel_sdvo_get_lvds_modes()
1940 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in intel_sdvo_get_lvds_modes()
1942 drm_mode_duplicate(connector->dev, newmode); in intel_sdvo_get_lvds_modes()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c430 int newmode = reply->lock_desc.l_req_mode; in ldlm_cli_enqueue_fini() local
433 if (newmode && newmode != lock->l_req_mode) { in ldlm_cli_enqueue_fini()
435 ldlm_lockname[newmode]); in ldlm_cli_enqueue_fini()
436 lock->l_req_mode = newmode; in ldlm_cli_enqueue_fini()