Ben Skeggs | cf33601 | 2014-01-14 15:55:38 +1000 | [diff] [blame] | 1 | #ifndef __NVKM_DEVINIT_NV50_H__ |
| 2 | #define __NVKM_DEVINIT_NV50_H__ |
Ben Skeggs | cf33601 | 2014-01-14 15:55:38 +1000 | [diff] [blame] | 3 | #include "priv.h" |
| 4 | |
| 5 | struct nv50_devinit_priv { |
Ben Skeggs | a8c4362 | 2015-01-14 14:48:16 +1000 | [diff] [blame] | 6 | struct nvkm_devinit base; |
Ben Skeggs | 8687c5d | 2014-03-19 03:08:21 +1000 | [diff] [blame] | 7 | u32 r001540; |
Ben Skeggs | cf33601 | 2014-01-14 15:55:38 +1000 | [diff] [blame] | 8 | }; |
| 9 | |
Ben Skeggs | a8c4362 | 2015-01-14 14:48:16 +1000 | [diff] [blame] | 10 | int nv50_devinit_ctor(struct nvkm_object *, struct nvkm_object *, |
| 11 | struct nvkm_oclass *, void *, u32, |
| 12 | struct nvkm_object **); |
| 13 | int nv50_devinit_init(struct nvkm_object *); |
| 14 | int nv50_devinit_pll_set(struct nvkm_devinit *, u32, u32); |
Ilia Mirkin | 4019aaa | 2014-01-14 16:29:06 +1000 | [diff] [blame] | 15 | |
Ben Skeggs | a8c4362 | 2015-01-14 14:48:16 +1000 | [diff] [blame] | 16 | int gt215_devinit_pll_set(struct nvkm_devinit *, u32, u32); |
Ben Skeggs | cf33601 | 2014-01-14 15:55:38 +1000 | [diff] [blame] | 17 | |
Ben Skeggs | 4d4d6f7 | 2015-05-21 15:47:16 +1000 | [diff] [blame] | 18 | int gf100_devinit_ctor(struct nvkm_object *, struct nvkm_object *, |
| 19 | struct nvkm_oclass *, void *, u32, |
| 20 | struct nvkm_object **); |
Ben Skeggs | a8c4362 | 2015-01-14 14:48:16 +1000 | [diff] [blame] | 21 | int gf100_devinit_pll_set(struct nvkm_devinit *, u32, u32); |
Ben Skeggs | 4bf23ea | 2014-02-24 12:28:37 +1000 | [diff] [blame] | 22 | |
Ben Skeggs | a8c4362 | 2015-01-14 14:48:16 +1000 | [diff] [blame] | 23 | u64 gm107_devinit_disable(struct nvkm_devinit *); |
Ben Skeggs | cf33601 | 2014-01-14 15:55:38 +1000 | [diff] [blame] | 24 | #endif |