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)
8 struct nvkm_devinit base
;
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);