Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/aty/
H A Dradeon_base.c1642 struct radeon_regs *newmode; in radeonfb_set_par() local
1656 newmode = kmalloc(sizeof(struct radeon_regs), GFP_KERNEL); in radeonfb_set_par()
1657 if (!newmode) in radeonfb_set_par()
1699 newmode->ppll_div_3 = rinfo->panel_info.fbk_divider | in radeonfb_set_par()
1701 newmode->ppll_ref_div = rinfo->panel_info.ref_divider; in radeonfb_set_par()
1733 newmode->crtc_gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | in radeonfb_set_par()
1737 newmode->crtc_more_cntl = rinfo->init_state.crtc_more_cntl; in radeonfb_set_par()
1738 newmode->crtc_more_cntl &= 0xfffffff0; in radeonfb_set_par()
1741 newmode->crtc_ext_cntl = VGA_ATI_LINEAR | XCRT_CNT_EN; in radeonfb_set_par()
1743 newmode->crtc_ext_cntl |= CRTC_CRT_ON; in radeonfb_set_par()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_edid.c3685 struct drm_display_mode *newmode; in drm_dmt_modes_for_range() local
3691 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]); in drm_dmt_modes_for_range()
3692 if (newmode) { in drm_dmt_modes_for_range()
3693 drm_mode_probed_add(connector, newmode); in drm_dmt_modes_for_range()
3720 struct drm_display_mode *newmode; in drm_gtf_modes_for_range() local
3726 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); in drm_gtf_modes_for_range()
3727 if (!newmode) in drm_gtf_modes_for_range()
3730 drm_mode_fixup_1366x768(newmode); in drm_gtf_modes_for_range()
3731 if (!mode_in_range(newmode, drm_edid, timing) || in drm_gtf_modes_for_range()
3732 !valid_inferred_mode(connector, newmode)) { in drm_gtf_modes_for_range()
[all …]
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo.c1512 struct drm_display_mode *newmode; in psb_intel_sdvo_get_lvds_modes() local
1525 newmode = drm_mode_duplicate(connector->dev, in psb_intel_sdvo_get_lvds_modes()
1527 if (newmode != NULL) { in psb_intel_sdvo_get_lvds_modes()
1529 newmode->type = (DRM_MODE_TYPE_PREFERRED | in psb_intel_sdvo_get_lvds_modes()
1531 drm_mode_probed_add(connector, newmode); in psb_intel_sdvo_get_lvds_modes()
1536 list_for_each_entry(newmode, &connector->probed_modes, head) { in psb_intel_sdvo_get_lvds_modes()
1537 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in psb_intel_sdvo_get_lvds_modes()
1539 drm_mode_duplicate(connector->dev, newmode); in psb_intel_sdvo_get_lvds_modes()
H A Dcdv_intel_dp.c1747 struct drm_display_mode *newmode; in cdv_intel_dp_get_modes() local
1748 list_for_each_entry(newmode, &connector->probed_modes, in cdv_intel_dp_get_modes()
1750 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in cdv_intel_dp_get_modes()
1752 drm_mode_duplicate(dev, newmode); in cdv_intel_dp_get_modes()
/linux/fs/nfs/
H A Dinode.c2325 umode_t newmode = inode->i_mode & S_IFMT; in nfs_update_inode() local
2326 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
2327 inode->i_mode = newmode; in nfs_update_inode()