1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_PLL_H__
3 #define __NVKM_PLL_H__
4 #include <core/os.h>
5 struct nvkm_subdev;
6 struct nvbios_pll;
7 
8 int nv04_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
9 		  int *N1, int *M1, int *N2, int *M2, int *P);
10 int gt215_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
11 		  int *N, int *fN, int *M, int *P);
12 #endif
13