Home
last modified time | relevance | path

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

/haiku/src/add-ons/accelerants/ati/
H A Drage128_mode.cpp108 int hSyncWidth = (mode.timing.h_sync_end - mode.timing.h_sync_start) / 8; in CalculateCrtcRegisters() local
109 if (hSyncWidth <= 0) in CalculateCrtcRegisters()
110 hSyncWidth = 1; in CalculateCrtcRegisters()
111 if (hSyncWidth > 0x3f) in CalculateCrtcRegisters()
112 hSyncWidth = 0x3f; in CalculateCrtcRegisters()
116 params.crtc_h_sync_strt_wid = (hSyncStart & 0xfff) | (hSyncWidth << 16) in CalculateCrtcRegisters()
H A Dmach64_mode.cpp235 int hSyncWidth = (mode.timing.h_sync_end - mode.timing.h_sync_start) / 8; in SetCrtcRegisters() local
236 if (hSyncWidth > 0x3f) in SetCrtcRegisters()
237 hSyncWidth = 0x3f; in SetCrtcRegisters()
241 uint32 crtc_h_sync_strt_wid = (hSyncWidth << 16) in SetCrtcRegisters()