xref: /haiku/src/add-ons/accelerants/intel_extreme/TigerLakePLL.h (revision 9a6a20d4689307142a7ed26a1437ba47e244e73f)
1 /*
2  * Copyright 2024, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 #ifndef TIGERLAKEPLL_H
7 #define TIGERLAKEPLL_H
8 
9 #include "intel_extreme.h"
10 
11 #include <SupportDefs.h>
12 
13 
14 bool ComputeHdmiDpll(int freq, int* Pdiv, int* Qdiv, int* Kdiv, float* bestdco);
15 bool ComputeDisplayPortDpll(int freq, int* Pdiv, int* Qdiv, int* Kdiv, float* bestdco);
16 
17 status_t ProgramPLL(int which, int Pdiv, int Qdiv, int Kdiv, float dco);
18 
19 
20 #endif /* !TIGERLAKEPLL_H */
21