Searched refs:newmode (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/video/fbdev/aty/ |
D | radeon_base.c | 1642 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.6.21/drivers/video/fbdev/riva/ |
D | fbdev.c | 670 struct riva_regs newmode; in riva_load_video_mode() local 701 memcpy(&newmode, ®_template, sizeof(struct riva_regs)); in riva_load_video_mode() 715 newmode.crtc[0x0] = Set8Bits (hTotal); in riva_load_video_mode() 716 newmode.crtc[0x1] = Set8Bits (hDisplay); in riva_load_video_mode() 717 newmode.crtc[0x2] = Set8Bits (hBlankStart); in riva_load_video_mode() 718 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7); in riva_load_video_mode() 719 newmode.crtc[0x4] = Set8Bits (hStart); in riva_load_video_mode() 720 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode() 722 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0); in riva_load_video_mode() 723 newmode.crtc[0x7] = SetBitField (vTotal, 8: 8, 0:0) in riva_load_video_mode() [all …]
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_edid.c | 3649 struct drm_display_mode *newmode; in drm_dmt_modes_for_range() local 3655 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]); in drm_dmt_modes_for_range() 3656 if (newmode) { in drm_dmt_modes_for_range() 3657 drm_mode_probed_add(connector, newmode); in drm_dmt_modes_for_range() 3684 struct drm_display_mode *newmode; in drm_gtf_modes_for_range() local 3690 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); in drm_gtf_modes_for_range() 3691 if (!newmode) in drm_gtf_modes_for_range() 3694 drm_mode_fixup_1366x768(newmode); in drm_gtf_modes_for_range() 3695 if (!mode_in_range(newmode, drm_edid, timing) || in drm_gtf_modes_for_range() 3696 !valid_inferred_mode(connector, newmode)) { in drm_gtf_modes_for_range() [all …]
|
/linux-6.6.21/drivers/gpu/drm/gma500/ |
D | psb_intel_sdvo.c | 1512 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()
|
D | cdv_intel_dp.c | 1748 struct drm_display_mode *newmode; in cdv_intel_dp_get_modes() local 1749 list_for_each_entry(newmode, &connector->probed_modes, in cdv_intel_dp_get_modes() 1751 if (newmode->type & DRM_MODE_TYPE_PREFERRED) { in cdv_intel_dp_get_modes() 1753 drm_mode_duplicate(dev, newmode); in cdv_intel_dp_get_modes()
|
/linux-6.6.21/fs/nfs/ |
D | inode.c | 2230 umode_t newmode = inode->i_mode & S_IFMT; in nfs_update_inode() local 2231 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode() 2232 inode->i_mode = newmode; in nfs_update_inode()
|