WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / devinit / nv50.h
blobe8d37a6145a2645e7903c9756ea96c32c9b2a9e1
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NV50_DEVINIT_H__
3 #define __NV50_DEVINIT_H__
4 #define nv50_devinit(p) container_of((p), struct nv50_devinit, base)
5 #include "priv.h"
7 struct nv50_devinit {
8 struct nvkm_devinit base;
9 u32 r001540;
12 int nv50_devinit_new_(const struct nvkm_devinit_func *, struct nvkm_device *,
13 int, struct nvkm_devinit **);
14 void nv50_devinit_preinit(struct nvkm_devinit *);
15 void nv50_devinit_init(struct nvkm_devinit *);
16 int nv50_devinit_pll_set(struct nvkm_devinit *, u32, u32);
18 int gt215_devinit_pll_set(struct nvkm_devinit *, u32, u32);
20 int gf100_devinit_ctor(struct nvkm_object *, struct nvkm_object *,
21 struct nvkm_oclass *, void *, u32,
22 struct nvkm_object **);
23 int gf100_devinit_pll_set(struct nvkm_devinit *, u32, u32);
24 void gf100_devinit_preinit(struct nvkm_devinit *);
26 u64 gm107_devinit_disable(struct nvkm_devinit *);
28 int gm200_devinit_post(struct nvkm_devinit *, bool);
29 void gm200_devinit_preos(struct nv50_devinit *, bool);
30 #endif