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