1 #ifndef __NV50_DEVINIT_H__
2 #define __NV50_DEVINIT_H__
3 #define nv50_devinit(p) container_of((p), struct nv50_devinit, base)
4 #include "priv.h"
5 
6 struct nv50_devinit {
7 	struct nvkm_devinit base;
8 	u32 r001540;
9 };
10 
11 int nv50_devinit_new_(const struct nvkm_devinit_func *, struct nvkm_device *,
12 		      int, struct nvkm_devinit **);
13 void nv50_devinit_preinit(struct nvkm_devinit *);
14 void nv50_devinit_init(struct nvkm_devinit *);
15 int  nv50_devinit_pll_set(struct nvkm_devinit *, u32, u32);
16 
17 int  gt215_devinit_pll_set(struct nvkm_devinit *, u32, u32);
18 
19 int  gf100_devinit_ctor(struct nvkm_object *, struct nvkm_object *,
20 			struct nvkm_oclass *, void *, u32,
21 			struct nvkm_object **);
22 int  gf100_devinit_pll_set(struct nvkm_devinit *, u32, u32);
23 void gf100_devinit_preinit(struct nvkm_devinit *);
24 
25 u64  gm107_devinit_disable(struct nvkm_devinit *);
26 #endif
27