/dports/devel/directfb/DirectFB-1.4.17/gfxdrivers/radeon/ |
H A D | radeon_crtc2.c | 628 int v_total, v_sync_start, v_sync_end, v_sync_wid; in crtc2_calc_regs() local 671 v_sync_wid = v_sync_end - v_sync_start; in crtc2_calc_regs() 672 v_sync_wid = CLAMP( v_sync_wid, 1, 0x1f ); in crtc2_calc_regs() 678 v_sync_start, v_sync_end, v_total, v_sync_wid ); in crtc2_calc_regs() 728 ((v_sync_wid & 0x1f) << 16); in crtc2_calc_regs()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 1039 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_var_to_crtc() local 1117 v_sync_wid = vslen; in aty128_var_to_crtc() 1118 if (v_sync_wid == 0) in aty128_var_to_crtc() 1119 v_sync_wid = 1; in aty128_var_to_crtc() 1120 else if (v_sync_wid > 0x1f) /* 0x1f = max vwidth */ in aty128_var_to_crtc() 1121 v_sync_wid = 0x1f; in aty128_var_to_crtc() 1137 crtc->v_sync_strt_wid = v_sync_strt | (v_sync_wid << 16) | in aty128_var_to_crtc() 1228 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_crtc_to_var() local 1241 v_sync_wid = (crtc->v_sync_strt_wid >> 16) & 0x1f; in aty128_crtc_to_var() 1252 upper = v_total - v_sync_strt - v_sync_wid; in aty128_crtc_to_var() [all …]
|
H A D | atyfb_base.c | 822 u32 v_total, v_disp, v_sync_strt, v_sync_end, v_sync_wid, v_sync_pol, c_sync; in aty_var_to_crtc() local 1006 v_sync_wid = v_sync_end - v_sync_strt; in aty_var_to_crtc() 1011 if (v_sync_wid > 0x1f) in aty_var_to_crtc() 1012 v_sync_wid = 0x1f; in aty_var_to_crtc() 1033 crtc->v_sync_strt_wid = v_sync_strt | (v_sync_wid << 16) | in aty_var_to_crtc() 1171 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty_crtc_to_var() local 1185 v_sync_wid = (crtc->v_sync_strt_wid >> 16) & 0x1f; in aty_crtc_to_var() 1198 upper = v_total - v_sync_strt - v_sync_wid; in aty_crtc_to_var() 1200 vslen = v_sync_wid; in aty_crtc_to_var()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 1039 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_var_to_crtc() local 1117 v_sync_wid = vslen; in aty128_var_to_crtc() 1118 if (v_sync_wid == 0) in aty128_var_to_crtc() 1119 v_sync_wid = 1; in aty128_var_to_crtc() 1120 else if (v_sync_wid > 0x1f) /* 0x1f = max vwidth */ in aty128_var_to_crtc() 1121 v_sync_wid = 0x1f; in aty128_var_to_crtc() 1137 crtc->v_sync_strt_wid = v_sync_strt | (v_sync_wid << 16) | in aty128_var_to_crtc() 1228 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_crtc_to_var() local 1241 v_sync_wid = (crtc->v_sync_strt_wid >> 16) & 0x1f; in aty128_crtc_to_var() 1252 upper = v_total - v_sync_strt - v_sync_wid; in aty128_crtc_to_var() [all …]
|
H A D | atyfb_base.c | 822 u32 v_total, v_disp, v_sync_strt, v_sync_end, v_sync_wid, v_sync_pol, c_sync; in aty_var_to_crtc() local 1006 v_sync_wid = v_sync_end - v_sync_strt; in aty_var_to_crtc() 1011 if (v_sync_wid > 0x1f) in aty_var_to_crtc() 1012 v_sync_wid = 0x1f; in aty_var_to_crtc() 1033 crtc->v_sync_strt_wid = v_sync_strt | (v_sync_wid << 16) | in aty_var_to_crtc() 1171 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty_crtc_to_var() local 1185 v_sync_wid = (crtc->v_sync_strt_wid >> 16) & 0x1f; in aty_crtc_to_var() 1198 upper = v_total - v_sync_strt - v_sync_wid; in aty_crtc_to_var() 1200 vslen = v_sync_wid; in aty_crtc_to_var()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 1039 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_var_to_crtc() local 1117 v_sync_wid = vslen; in aty128_var_to_crtc() 1118 if (v_sync_wid == 0) in aty128_var_to_crtc() 1119 v_sync_wid = 1; in aty128_var_to_crtc() 1120 else if (v_sync_wid > 0x1f) /* 0x1f = max vwidth */ in aty128_var_to_crtc() 1121 v_sync_wid = 0x1f; in aty128_var_to_crtc() 1137 crtc->v_sync_strt_wid = v_sync_strt | (v_sync_wid << 16) | in aty128_var_to_crtc() 1228 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_crtc_to_var() local 1241 v_sync_wid = (crtc->v_sync_strt_wid >> 16) & 0x1f; in aty128_crtc_to_var() 1252 upper = v_total - v_sync_strt - v_sync_wid; in aty128_crtc_to_var() [all …]
|
H A D | atyfb_base.c | 822 u32 v_total, v_disp, v_sync_strt, v_sync_end, v_sync_wid, v_sync_pol, c_sync; in aty_var_to_crtc() local 1006 v_sync_wid = v_sync_end - v_sync_strt; in aty_var_to_crtc() 1011 if (v_sync_wid > 0x1f) in aty_var_to_crtc() 1012 v_sync_wid = 0x1f; in aty_var_to_crtc() 1033 crtc->v_sync_strt_wid = v_sync_strt | (v_sync_wid << 16) | in aty_var_to_crtc() 1171 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty_crtc_to_var() local 1185 v_sync_wid = (crtc->v_sync_strt_wid >> 16) & 0x1f; in aty_crtc_to_var() 1198 upper = v_total - v_sync_strt - v_sync_wid; in aty_crtc_to_var() 1200 vslen = v_sync_wid; in aty_crtc_to_var()
|
/dports/graphics/svgalib/svgalib-1.4.3/src/ |
H A D | mach32.c | 310 unsigned char disp_cntl, v_sync_wid; member 2365 mptr->v_sync_wid, mptr->v_sync_strt, clock_intended, mach32_disp_shadow); in mach32_setmode() 2374 outw(V_SYNC_WID, mptr->v_sync_wid); in mach32_setmode() 2664 mptr->v_sync_wid = atoi(ptr) - i; in mach32_procopt() 2665 if (mptr->v_sync_wid > 0x1f) in mach32_procopt() 2666 mptr->v_sync_wid = 0x1f; in mach32_procopt() 2682 mptr->v_sync_wid &= ~0x20; in mach32_procopt() 2684 mptr->v_sync_wid |= 0x20; in mach32_procopt()
|
/dports/graphics/svgalib/svgalib-1.4.3/mach/ |
H A D | mach64.h | 448 UB v_sync_wid; member
|
H A D | mach64.c | 804 outb(CRTC_V_SYNC_WID, pcrtc->v_sync_wid); in mach64_crtc_programming()
|