23470a57510c3ce07f8b47e6754669f0037eca24
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / nouveau / nvkm / subdev / devinit / nv04.h
1 #ifndef __NVKM_DEVINIT_NV04_H__
2 #define __NVKM_DEVINIT_NV04_H__
3
4 #include "priv.h"
5
6 struct nv04_devinit_priv {
7         struct nouveau_devinit base;
8         u8 owner;
9 };
10
11 int  nv04_devinit_ctor(struct nouveau_object *, struct nouveau_object *,
12                        struct nouveau_oclass *, void *, u32,
13                        struct nouveau_object **);
14 void nv04_devinit_dtor(struct nouveau_object *);
15 int  nv04_devinit_init(struct nouveau_object *);
16 int  nv04_devinit_fini(struct nouveau_object *, bool);
17 int  nv04_devinit_pll_set(struct nouveau_devinit *, u32, u32);
18
19 void setPLL_single(struct nouveau_devinit *, u32, struct nouveau_pll_vals *);
20 void setPLL_double_highregs(struct nouveau_devinit *, u32, struct nouveau_pll_vals *);
21 void setPLL_double_lowregs(struct nouveau_devinit *, u32, struct nouveau_pll_vals *);
22
23 #endif