1 #ifndef __NVKM_DEVINIT_NV04_H__ 2 #define __NVKM_DEVINIT_NV04_H__ 3 #include "priv.h" 4 struct nvkm_pll_vals; 5 6 struct nv04_devinit_priv { 7 struct nvkm_devinit base; 8 int owner; 9 }; 10 11 int nv04_devinit_ctor(struct nvkm_object *, struct nvkm_object *, 12 struct nvkm_oclass *, void *, u32, 13 struct nvkm_object **); 14 void nv04_devinit_dtor(struct nvkm_object *); 15 int nv04_devinit_init(struct nvkm_object *); 16 int nv04_devinit_fini(struct nvkm_object *, bool); 17 int nv04_devinit_pll_set(struct nvkm_devinit *, u32, u32); 18 19 void setPLL_single(struct nvkm_devinit *, u32, struct nvkm_pll_vals *); 20 void setPLL_double_highregs(struct nvkm_devinit *, u32, struct nvkm_pll_vals *); 21 void setPLL_double_lowregs(struct nvkm_devinit *, u32, struct nvkm_pll_vals *); 22 #endif 23