2014-01-14 15:55:38 +10:00
|
|
|
#ifndef __NVKM_DEVINIT_NV04_H__
|
|
|
|
|
#define __NVKM_DEVINIT_NV04_H__
|
|
|
|
|
#include "priv.h"
|
2015-01-14 14:48:16 +10:00
|
|
|
struct nvkm_pll_vals;
|
2014-01-14 15:55:38 +10:00
|
|
|
|
|
|
|
|
struct nv04_devinit_priv {
|
2015-01-14 14:48:16 +10:00
|
|
|
struct nvkm_devinit base;
|
2015-01-31 17:13:40 +10:00
|
|
|
int owner;
|
2014-01-14 15:55:38 +10:00
|
|
|
};
|
|
|
|
|
|
2015-01-14 14:48:16 +10:00
|
|
|
int nv04_devinit_ctor(struct nvkm_object *, struct nvkm_object *,
|
|
|
|
|
struct nvkm_oclass *, void *, u32,
|
|
|
|
|
struct nvkm_object **);
|
|
|
|
|
void nv04_devinit_dtor(struct nvkm_object *);
|
|
|
|
|
int nv04_devinit_init(struct nvkm_object *);
|
|
|
|
|
int nv04_devinit_fini(struct nvkm_object *, bool);
|
|
|
|
|
int nv04_devinit_pll_set(struct nvkm_devinit *, u32, u32);
|
2014-01-14 15:55:38 +10:00
|
|
|
|
2015-01-14 14:48:16 +10:00
|
|
|
void setPLL_single(struct nvkm_devinit *, u32, struct nvkm_pll_vals *);
|
|
|
|
|
void setPLL_double_highregs(struct nvkm_devinit *, u32, struct nvkm_pll_vals *);
|
|
|
|
|
void setPLL_double_lowregs(struct nvkm_devinit *, u32, struct nvkm_pll_vals *);
|
2014-01-14 15:55:38 +10:00
|
|
|
#endif
|