xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/pll.h (revision 8c994eff8fcfe8ecb1f1dbebed25b4d7bb75be12)
1 /* SPDX-License-Identifier: MIT */
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