Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/aty/
Daty128fb.c1038 u32 h_total, h_disp, h_sync_strt, h_sync_wid, h_sync_pol; in aty128_var_to_crtc() local
1109 h_sync_wid = (hslen + 7) >> 3; in aty128_var_to_crtc()
1110 if (h_sync_wid == 0) in aty128_var_to_crtc()
1111 h_sync_wid = 1; in aty128_var_to_crtc()
1112 else if (h_sync_wid > 0x3f) /* 0x3f = max hwidth */ in aty128_var_to_crtc()
1113 h_sync_wid = 0x3f; in aty128_var_to_crtc()
1135 crtc->h_sync_strt_wid = h_sync_strt | (h_sync_wid << 16) | in aty128_var_to_crtc()
1227 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty128_crtc_to_var() local
1236 h_sync_wid = (crtc->h_sync_strt_wid >> 16) & 0x3f; in aty128_crtc_to_var()
1249 left = ((h_total - h_sync_strt - h_sync_wid) << 3) - h_sync_dly; in aty128_crtc_to_var()
[all …]
Datyfb_base.c821 u32 h_total, h_disp, h_sync_strt, h_sync_end, h_sync_dly, h_sync_wid, h_sync_pol; in aty_var_to_crtc() local
986 h_sync_wid = h_sync_end - h_sync_strt; in aty_var_to_crtc()
991 if (h_sync_wid > 0x1f) in aty_var_to_crtc()
992 h_sync_wid = 0x1f; in aty_var_to_crtc()
1030 ((h_sync_strt & 0x100) << 4) | (h_sync_wid << 16) | in aty_var_to_crtc()
1170 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty_crtc_to_var() local
1180 h_sync_wid = (crtc->h_sync_strt_wid >> 16) & 0x1f; in aty_crtc_to_var()
1195 left = (h_total - h_sync_strt - h_sync_wid) * 8 - h_sync_dly; in aty_crtc_to_var()
1197 hslen = h_sync_wid * 8; in aty_crtc_to_var()