1 #ifndef __NV04_DEVINIT_H__ 2 #define __NV04_DEVINIT_H__ 3 #define nv04_devinit(p) container_of((p), struct nv04_devinit, base) 4 #include "priv.h" 5 struct nvkm_pll_vals; 6 7 struct nv04_devinit { 8 struct nvkm_devinit base; 9 int owner; 10 }; 11 12 int nv04_devinit_new_(const struct nvkm_devinit_func *, struct nvkm_device *, 13 int, struct nvkm_devinit **); 14 void *nv04_devinit_dtor(struct nvkm_devinit *); 15 void nv04_devinit_preinit(struct nvkm_devinit *); 16 void nv04_devinit_fini(struct nvkm_devinit *); 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