1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5 
6 #ifndef _INTEL_DPLL_H_
7 #define _INTEL_DPLL_H_
8 
9 struct dpll;
10 struct drm_i915_private;
11 struct intel_crtc;
12 struct intel_crtc_state;
13 
14 void intel_dpll_init_clock_hook(struct drm_i915_private *dev_priv);
15 int vlv_calc_dpll_params(int refclk, struct dpll *clock);
16 int pnv_calc_dpll_params(int refclk, struct dpll *clock);
17 int i9xx_calc_dpll_params(int refclk, struct dpll *clock);
18 void vlv_compute_dpll(struct intel_crtc *crtc,
19 		      struct intel_crtc_state *pipe_config);
20 void chv_compute_dpll(struct intel_crtc *crtc,
21 		      struct intel_crtc_state *pipe_config);
22 
23 #endif
24