Home
last modified time | relevance | path

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

/drivers/video/fbdev/aty/
Dradeon_base.c1533 struct radeon_regs *newmode; in radeonfb_set_par() local
1547 newmode = kmalloc(sizeof(struct radeon_regs), GFP_KERNEL); in radeonfb_set_par()
1548 if (!newmode) in radeonfb_set_par()
1590 newmode->ppll_div_3 = rinfo->panel_info.fbk_divider | in radeonfb_set_par()
1592 newmode->ppll_ref_div = rinfo->panel_info.ref_divider; in radeonfb_set_par()
1630 newmode->crtc_gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | in radeonfb_set_par()
1634 newmode->crtc_more_cntl = rinfo->init_state.crtc_more_cntl; in radeonfb_set_par()
1635 newmode->crtc_more_cntl &= 0xfffffff0; in radeonfb_set_par()
1638 newmode->crtc_ext_cntl = VGA_ATI_LINEAR | XCRT_CNT_EN; in radeonfb_set_par()
1640 newmode->crtc_ext_cntl |= CRTC_CRT_ON; in radeonfb_set_par()
[all …]
/drivers/gpu/drm/
Ddrm_edid.c1977 struct drm_display_mode *newmode; in drm_dmt_modes_for_range() local
1983 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]); in drm_dmt_modes_for_range()
1984 if (newmode) { in drm_dmt_modes_for_range()
1985 drm_mode_probed_add(connector, newmode); in drm_dmt_modes_for_range()
2012 struct drm_display_mode *newmode; in drm_gtf_modes_for_range() local
2017 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); in drm_gtf_modes_for_range()
2018 if (!newmode) in drm_gtf_modes_for_range()
2021 fixup_mode_1366x768(newmode); in drm_gtf_modes_for_range()
2022 if (!mode_in_range(newmode, edid, timing) || in drm_gtf_modes_for_range()
2023 !valid_inferred_mode(connector, newmode)) { in drm_gtf_modes_for_range()
[all …]
/drivers/video/fbdev/riva/
Dfbdev.c688 struct riva_regs newmode; in riva_load_video_mode() local
719 memcpy(&newmode, &reg_template, sizeof(struct riva_regs)); in riva_load_video_mode()
733 newmode.crtc[0x0] = Set8Bits (hTotal); in riva_load_video_mode()
734 newmode.crtc[0x1] = Set8Bits (hDisplay); in riva_load_video_mode()
735 newmode.crtc[0x2] = Set8Bits (hBlankStart); in riva_load_video_mode()
736 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7); in riva_load_video_mode()
737 newmode.crtc[0x4] = Set8Bits (hStart); in riva_load_video_mode()
738 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode()
740 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0); in riva_load_video_mode()
741 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.c1591 struct drm_display_mode *newmode; in cdv_intel_dp_get_modes() local
1592 list_for_each_entry(newmode, &connector->probed_modes, in cdv_intel_dp_get_modes()
1594 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in cdv_intel_dp_get_modes()
1596 drm_mode_duplicate(dev, newmode); in cdv_intel_dp_get_modes()
/drivers/gpu/drm/i915/
Dintel_sdvo.c1942 struct drm_display_mode *newmode; in intel_sdvo_get_lvds_modes() local
1952 newmode = drm_mode_duplicate(connector->dev, in intel_sdvo_get_lvds_modes()
1954 if (newmode != NULL) { in intel_sdvo_get_lvds_modes()
1956 newmode->type = (DRM_MODE_TYPE_PREFERRED | in intel_sdvo_get_lvds_modes()
1958 drm_mode_probed_add(connector, newmode); in intel_sdvo_get_lvds_modes()
1969 list_for_each_entry(newmode, &connector->probed_modes, head) { in intel_sdvo_get_lvds_modes()
1970 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in intel_sdvo_get_lvds_modes()
1972 drm_mode_duplicate(connector->dev, newmode); in intel_sdvo_get_lvds_modes()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c610 int newmode = reply->lock_desc.l_req_mode; in ldlm_cli_enqueue_fini() local
612 if (newmode && newmode != lock->l_req_mode) { in ldlm_cli_enqueue_fini()
614 ldlm_lockname[newmode]); in ldlm_cli_enqueue_fini()
615 lock->l_req_mode = newmode; in ldlm_cli_enqueue_fini()