Searched refs:hSyncWidth (Results 1 – 2 of 2) sorted by relevance
108 int hSyncWidth = (mode.timing.h_sync_end - mode.timing.h_sync_start) / 8; in CalculateCrtcRegisters() local109 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()
235 int hSyncWidth = (mode.timing.h_sync_end - mode.timing.h_sync_start) / 8; in SetCrtcRegisters() local236 if (hSyncWidth > 0x3f) in SetCrtcRegisters()237 hSyncWidth = 0x3f; in SetCrtcRegisters()241 uint32 crtc_h_sync_strt_wid = (hSyncWidth << 16) in SetCrtcRegisters()