Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/aty/
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-6.1.9/drivers/video/fbdev/riva/
Dfbdev.c676 struct riva_regs newmode; in riva_load_video_mode() local
707 memcpy(&newmode, &reg_template, sizeof(struct riva_regs)); in riva_load_video_mode()
721 newmode.crtc[0x0] = Set8Bits (hTotal); in riva_load_video_mode()
722 newmode.crtc[0x1] = Set8Bits (hDisplay); in riva_load_video_mode()
723 newmode.crtc[0x2] = Set8Bits (hBlankStart); in riva_load_video_mode()
724 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7); in riva_load_video_mode()
725 newmode.crtc[0x4] = Set8Bits (hStart); in riva_load_video_mode()
726 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode()
728 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0); in riva_load_video_mode()
729 newmode.crtc[0x7] = SetBitField (vTotal, 8: 8, 0:0) in riva_load_video_mode()
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c3485 struct drm_display_mode *newmode; in drm_dmt_modes_for_range() local
3491 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]); in drm_dmt_modes_for_range()
3492 if (newmode) { in drm_dmt_modes_for_range()
3493 drm_mode_probed_add(connector, newmode); in drm_dmt_modes_for_range()
3520 struct drm_display_mode *newmode; in drm_gtf_modes_for_range() local
3526 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); in drm_gtf_modes_for_range()
3527 if (!newmode) in drm_gtf_modes_for_range()
3530 drm_mode_fixup_1366x768(newmode); in drm_gtf_modes_for_range()
3531 if (!mode_in_range(newmode, drm_edid, timing) || in drm_gtf_modes_for_range()
3532 !valid_inferred_mode(connector, newmode)) { in drm_gtf_modes_for_range()
[all …]
/linux-6.1.9/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c1510 struct drm_display_mode *newmode; in psb_intel_sdvo_get_lvds_modes() local
1523 newmode = drm_mode_duplicate(connector->dev, in psb_intel_sdvo_get_lvds_modes()
1525 if (newmode != NULL) { in psb_intel_sdvo_get_lvds_modes()
1527 newmode->type = (DRM_MODE_TYPE_PREFERRED | in psb_intel_sdvo_get_lvds_modes()
1529 drm_mode_probed_add(connector, newmode); in psb_intel_sdvo_get_lvds_modes()
1534 list_for_each_entry(newmode, &connector->probed_modes, head) { in psb_intel_sdvo_get_lvds_modes()
1535 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in psb_intel_sdvo_get_lvds_modes()
1537 drm_mode_duplicate(connector->dev, newmode); in psb_intel_sdvo_get_lvds_modes()
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-6.1.9/fs/nfs/
Dinode.c2143 umode_t newmode = inode->i_mode & S_IFMT; in nfs_update_inode() local
2144 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
2145 inode->i_mode = newmode; in nfs_update_inode()