xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/pll.h (revision 3ce095c16263630dde46d6051854073edaacf3d7)
1 #ifndef __NVKM_PLL_H__
2 #define __NVKM_PLL_H__
3 #include <core/os.h>
4 struct nvkm_subdev;
5 struct nvbios_pll;
6 
7 int nv04_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
8 		  int *N1, int *M1, int *N2, int *M2, int *P);
9 int gt215_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
10 		  int *N, int *fN, int *M, int *P);
11 #endif
12