xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/pll.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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