Home | History | Annotate | Line # | Download | only in clk
      1 /*	$NetBSD: pll.h,v 1.3 2021/12/18 23:45:39 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVKM_PLL_H__
      5 #define __NVKM_PLL_H__
      6 #include <core/os.h>
      7 struct nvkm_subdev;
      8 struct nvbios_pll;
      9 
     10 int nv04_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
     11 		  int *N1, int *M1, int *N2, int *M2, int *P);
     12 int gt215_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
     13 		  int *N, int *fN, int *M, int *P);
     14 #endif
     15