Home
last modified time | relevance | path

Searched refs:hsync_wid (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c58 int hsync_wid; in radeon_legacy_rmx_mode_set() local
87 hsync_wid = (mode->crtc_hsync_end - mode->crtc_hsync_start) / 8; in radeon_legacy_rmx_mode_set()
88 if (!hsync_wid) in radeon_legacy_rmx_mode_set()
89 hsync_wid = 1; in radeon_legacy_rmx_mode_set()
93 | ((hsync_wid & 0x3f) << 16) in radeon_legacy_rmx_mode_set()
170 hsync_wid = (mode->crtc_hsync_end - mode->crtc_hsync_start) / 8; in radeon_legacy_rmx_mode_set()
171 if (!hsync_wid) in radeon_legacy_rmx_mode_set()
172 hsync_wid = 1; in radeon_legacy_rmx_mode_set()
175 | ((hsync_wid & 0x3f) << 16) in radeon_legacy_rmx_mode_set()
582 int hsync_wid; in radeon_set_crtc_timing() local
[all …]
/Linux-v5.4/drivers/video/fbdev/aty/
Dradeon_base.c1660 int hsync_start, hsync_fudge, bytpp, hsync_wid, vsync_wid; in radeonfb_set_par() local
1721 hsync_wid = (hSyncEnd - hSyncStart) / 8; in radeonfb_set_par()
1723 if (hsync_wid == 0) in radeonfb_set_par()
1724 hsync_wid = 1; in radeonfb_set_par()
1725 else if (hsync_wid > 0x3f) /* max */ in radeonfb_set_par()
1726 hsync_wid = 0x3f; in radeonfb_set_par()
1774 (hsync_wid << 16) | (h_sync_pol << 23)); in radeonfb_set_par()
1935 (hsync_wid << 16) | (h_sync_pol << 23)); in radeonfb_set_par()